Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FORMULA_MANARECOVER is the formula applied every so-many ticks for recovery of mana
- outside of combat and climbing.
- @x1=int + wis, @x2=level, @x3=hungry?1:0, @x4=thirsty?1:0, @x5=fatigued?1:0
- @x6=asleep?1:0, @x7=sitorride?1:0, @x8=flying?1:0, @x9=swimming?1:0
- Default is: 25+((@x2/12.0)+((@x1/6.0) - (@xx*@x3/2.0) - (@xx*@x4/2.0) - (@xx*@x5/2.0)) + (@xx*@x6*.7) + (@xx/4.0*@x7) - (@xx/2.0*@x9))
- FORMULA_MOVESRECOVER is the formula applied every so-many ticks for recovery of movement
- outside of combat and climbing.
- @x1=strength, @x2=level, @x3=hungry?1:0, @x4=thirsty?1:0, @x5=fatigued?1:0
- @x6=asleep?1:0, @x7=sitorride?1:0, @x8=flying?1:0, @x9=swimming?1:0
- Default is: 25+((@x2/5.0)+((@x1/1.5) - (@xx*@x3/2.0) - (@xx*@x4/2.0) - (@xx*@x5/2.0)) + (@xx*@x6*.7) + (@xx/4.0*@x7) + (@xx/4.0*@x8) - (@xx/2.0*@x9))
- FORMULA_ATTACKADJUSTMENT is the formula for a players standard attack adjustments
- @x1=base attack, @x2=curr.str>max.str?max.str:curr.str, @x3=base.str>max.str?max.str:base.str,
- @x4=curr.str>max.str?(curr.str-max.str):0, @x5=hungry?1:0, @x6=thirsty?1:0, @x7=fatigued?1:0
- @xx is a special variable denoting the current left->right calculated value
- Default is: (50+@x1+(((@x2-9)/5)*((@x3-9)/5)*((@x3-9)/5))+@x4)-(0.15*@xx*@x5)-(0.15*@xx*@x6)-(0.3*@xx*@x7)
- FORMULA_ARMORADJUSTMENT is the formula for players standard armor adjustments
- @x1=base armor, @x2=curr.dex>max.dex?max.dex:curr.dex, @x3=base.dex>max.dex?max.dex:base.dex,
- @x4=curr.dex>max.dex?(curr.dex-max.dex):0, @x5=hungry?1:0, @x6=thirsty?1:0, @x7=fatigued?1:0
- @x8=sitting?0:1, @x9=sleeping?0:1
- @xx is a special variable denoting the current left->right calculated value
- Default is: (@x1-( (((@x2-9)/5)*((@x3-9)/5)*((@x3-9)/5*@x8)) +(@x4*@x8)-(0.15*@xx>0*@x5)-(0.15*@xx>0*@x6)-(0.3*@xx>0*@x7)*@x9))-100
- =======================================
- FORMULA_ATTACKFUDGEBONUS is the formula applied to an attackers combat bonus
- during normal combat. FORMULA_PVPATTACKFUDGEBONUS is the same formula for PVP
- combat.
- @x1=attackers level, @x2=defenders level, @x3=@x1>@x2?1:-1
- Default is: @x3 * (@x1 - @x2)
- As you can see by this one, level is the only important stat.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement