Search found 3 matches

by zaWarrrdo
Tue Aug 28, 2018 11:31 am
Forum: Ren'Py Questions and Announcements
Topic: How do I make stats formulas?[Solved]
Replies: 4
Views: 777

Re: How do I make stats formulas?

Thank you very much! Another question: Why do I get tuple instead of number, when I use this formula? How can I rewrite it? The main idea is that Health Points depend on lvl, skill of herbalism "herb" and skill of alchemy "alch" $hp = (18+lvl+3**herb)+(18+lvl+3**herb)*alch*0,01 w...
by zaWarrrdo
Tue Aug 28, 2018 10:44 am
Forum: Ren'Py Questions and Announcements
Topic: How do I make stats formulas?[Solved]
Replies: 4
Views: 777

How do I make stats formulas?[Solved]

Hi! How can I make formulas with variables for stats? With this code I'm getting error "bsmth is not defined" How do we define them ? default bsmth = 0 default alch = 0 default herb = 0 default comb = 0 define lvl = 1+bsmth+alch+herb+comb define hp = (18+lvl+3**herb)+(18+lvl+3**herb)*alch*...