Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. FORMULA_MANARECOVER is the formula applied every so-many ticks for recovery of mana
  2. outside of combat and climbing.
  3. @x1=int + wis, @x2=level, @x3=hungry?1:0, @x4=thirsty?1:0, @x5=fatigued?1:0
  4. @x6=asleep?1:0, @x7=sitorride?1:0, @x8=flying?1:0, @x9=swimming?1:0
  5.  
  6. 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))
  7.  
  8. FORMULA_MOVESRECOVER is the formula applied every so-many ticks for recovery of movement
  9. outside of combat and climbing.
  10. @x1=strength, @x2=level, @x3=hungry?1:0, @x4=thirsty?1:0, @x5=fatigued?1:0
  11. @x6=asleep?1:0, @x7=sitorride?1:0, @x8=flying?1:0, @x9=swimming?1:0
  12.  
  13.  
  14. 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))
  15.  
  16. FORMULA_ATTACKADJUSTMENT is the formula for a players standard attack adjustments
  17. @x1=base attack, @x2=curr.str>max.str?max.str:curr.str, @x3=base.str>max.str?max.str:base.str,
  18. @x4=curr.str>max.str?(curr.str-max.str):0, @x5=hungry?1:0, @x6=thirsty?1:0, @x7=fatigued?1:0
  19. @xx is a special variable denoting the current left->right calculated value
  20.  
  21.  
  22. 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)
  23.  
  24. FORMULA_ARMORADJUSTMENT is the formula for players standard armor adjustments
  25. @x1=base armor, @x2=curr.dex>max.dex?max.dex:curr.dex, @x3=base.dex>max.dex?max.dex:base.dex,
  26. @x4=curr.dex>max.dex?(curr.dex-max.dex):0, @x5=hungry?1:0, @x6=thirsty?1:0, @x7=fatigued?1:0
  27. @x8=sitting?0:1, @x9=sleeping?0:1
  28. @xx is a special variable denoting the current left->right calculated value
  29.  
  30.  
  31. 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
  32.  
  33.  
  34. =======================================
  35.  
  36.  
  37. FORMULA_ATTACKFUDGEBONUS is the formula applied to an attackers combat bonus
  38. during normal combat. FORMULA_PVPATTACKFUDGEBONUS is the same formula for PVP
  39. combat.
  40. @x1=attackers level, @x2=defenders level, @x3=@x1>@x2?1:-1
  41. Default is: @x3 * (@x1 - @x2)
  42.  
  43.  
  44. As you can see by this one, level is the only important stat.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement