Guest User

Untitled

a guest
Mar 31st, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.74 KB | None | 0 0
  1. mob/human
  2. Stat()
  3. set background = 1
  4.  
  5.  
  6. if(!usr.client || !usr.initialized)
  7.  
  8. usr.statLoop_active = true
  9.  
  10. sleep(1)
  11.  
  12. var
  13. grid = 0
  14. rate = 5
  15. level = blevel; experience = body
  16. funds = money; faction_points = factionpoints
  17. max_stamina = stamina
  18. max_chakra = chakra
  19. wounds = curwound; max_wounds = maxwound
  20. str_ = str; str_buff = strbuff; str_debuff = strneg
  21. con_ = con; con_buff = conbuff; con_debuff = conneg
  22. rfx_ = rfx; rfx_buff = rfxbuff; rfx_debuff = rfxneg
  23. int_ = int; int_buff = intbuff; int_debuff = intneg
  24.  
  25. rate = src.level_rate
  26.  
  27.  
  28.  
  29. usr << output("Stamina", "stats_grid:[++grid],1")
  30. usr << output("[curstamina]/[stamina] ([staminaregen>=0?"+[staminaregen]":"[staminaregen]"])", "stats_grid:[grid],2")
  31. usr << output("Chakra", "stats_grid:[++grid],1")
  32. usr << output("[curchakra]/[chakra] ([chakraregen>=0?"+[chakraregen]":"[chakraregen]"])", "stats_grid:[grid],2")
  33. usr << output("Wounds", "stats_grid:[++grid],1")
  34. usr << output("[curwound]/[maxwound]", "stats_grid:[grid],2")
  35. usr << output("Strength", "stats_grid:[++grid],1")
  36. usr << output("[round(str+strbuff-strneg)]", "stats_grid:[grid],2")
  37. usr << output("Control", "stats_grid:[++grid],1")
  38. usr << output("[round(con+conbuff-conneg)]", "stats_grid:[grid],2")
  39. usr << output("Reflex", "stats_grid:[++grid],1")
  40. usr << output("[round(rfx+rfxbuff-rfxneg)]", "stats_grid:[grid],2")
  41. usr << output("Intelligence", "stats_grid:[++grid],1")
  42. usr << output("[round(int+intbuff-intneg)]", "stats_grid:[grid],2")
  43.  
  44. if(!usr.client) return
  45.  
  46. winset(usr, "stats_grid", "cells = [grid]x2")
  47.  
  48. grid = 0
  49. usr << output("Level", "full_stats_grid:1,[++grid]")
  50. usr << output("[blevel]", "full_stats_grid:2,[grid]")
  51. usr << output("Experience", "full_stats_grid:1,[++grid]")
  52. usr << output("[body]/[Req2Level(blevel,src)]\n(Rate:[rate*lp_mult])", "full_stats_grid:2,[grid]")
  53. usr << output("Stamina", "full_stats_grid:1,[++grid]")
  54. usr << output("[curstamina]/[stamina]\n([staminaregen>=0?"+[staminaregen]":"[staminaregen]"] regen)", "full_stats_grid:2,[grid]")
  55. usr << output("Chakra", "full_stats_grid:1,[++grid]")
  56. usr << output("[curchakra]/[chakra]\n([chakraregen>=0?"+[chakraregen]":"[chakraregen]"] regen)", "full_stats_grid:2,[grid]")
  57. usr << output("Wounds", "full_stats_grid:1,[++grid]")
  58. usr << output("[curwound]/[maxwound]", "full_stats_grid:2,[grid]")
  59. usr << output("Strength", "full_stats_grid:1,[++grid]")
  60. usr << output("[round(str)] (+[strbuff] -[strneg])", "full_stats_grid:2,[grid]")
  61. usr << output("Control", "full_stats_grid:1,[++grid]")
  62. usr << output("[round(con)] (+[conbuff] -[conneg])", "full_stats_grid:2,[grid]")
  63. usr << output("Reflex", "full_stats_grid:1,[++grid]")
  64. usr << output("[round(rfx)] (+[rfxbuff] -[rfxneg])", "full_stats_grid:2,[grid]")
  65. usr << output("Intelligence", "full_stats_grid:1,[++grid]")
  66. usr << output("[round(int)] (+[intbuff] -[intneg])", "full_stats_grid:2,[grid]")
  67. usr << output("Ryo", "full_stats_grid:1,[++grid]")
  68. usr << output("[money]", "full_stats_grid:2,[grid]")
  69. usr << output("Faction Points", "full_stats_grid:1,[++grid]")
  70. usr << output("[factionpoints]", "full_stats_grid:2,[grid]")
  71.  
  72. if(usr.clan == "Steam User")
  73. usr << output("<font color = white>Steam Power", "full_stats_grid:1,[++grid]")
  74. usr << output("<font color = white>[steam_power]", "full_stats_grid:2,[grid]")
  75.  
  76. usr << output("Rank Grade", "full_stats_grid:1,[++grid]")
  77. usr << output("[ninrank]", "full_stats_grid:2,[grid]")
  78. usr << output("Weight", "full_stats_grid:1,[++grid]")
  79. usr << output("[weight]/200", "full_stats_grid:2,[grid]")
  80.  
  81. usr << output("Trait", "full_stats_grid:1,[++grid]")
  82. usr << output("[trait]", "full_stats_grid:2,[grid]")
  83.  
  84. if(usr.clan == "Collector")
  85. usr << output("Eye Count", "full_stats_grid:1,[++grid]")
  86. usr << output("[eye_collection]", "full_stats_grid:2,[grid]")
  87. if(usr.a2 != "null")
  88. usr << output("<font color = red>Bijuu Mastery", "full_stats_grid:1,[++grid]")
  89. usr << output("<font color = red>[bijuu_uses]", "full_stats_grid:2,[grid]")
  90. if(usr.clan == "Blood Thirsty" || usr.clan == "Ruthless")
  91. usr << output("<font color = red>Rage", "full_stats_grid:1,[++grid]")
  92. usr << output("<font color = red>[rage]", "full_stats_grid:2,[grid]")
  93.  
  94. usr << output("Age", "full_stats_grid:1,[++grid]")
  95. usr << output("[round(age)]", "full_stats_grid:2,[grid]")
  96.  
  97. usr << output("Skillpoints", "full_stats_grid:1,[++grid]")
  98. usr << output("[skillpoints] ", "full_stats_grid:2,[grid]")
  99.  
  100. usr << output("Attribute Points", "full_stats_grid:1,[++grid]")
  101. usr << output("[levelpoints] ", "full_stats_grid:2,[grid]")
  102.  
  103. usr << output("[clan] Mastery", "full_stats_grid:1,[++grid]")
  104. usr << output("Level [future_two] ", "full_stats_grid:2,[grid]")
  105.  
  106. if(!usr.client) return
  107. spawn(50) if(usr && usr.client)client.updateBars()
  108.  
  109. winset(usr, "full_stats_grid2", "cells=2x[grid]")
  110.  
  111. while(blevel == level && body == experience && money == funds && factionpoints == faction_points && \
  112. chakra == max_chakra && curchakra == max_chakra && stamina == max_stamina && curstamina == max_stamina && \
  113. curwound == wounds && maxwound == max_wounds && \
  114. str == str_ && strbuff == str_buff && strneg == str_debuff && \
  115. con == con_ && conbuff == con_buff && conneg == con_debuff && \
  116. rfx == rfx_ && rfxbuff == rfx_buff && rfxneg == rfx_debuff && \
  117. int == int_ && intbuff == int_buff && intneg == int_debuff)
  118.  
  119. sleep(100)
  120.  
  121.  
  122. if(stunned < 0)
  123. stunned = 0
  124. if(curstamina<0)
  125. curstamina=0
  126. if(curchakra<0)
  127. curchakra=0
  128. if(curwound<0)
  129. curwound=0
  130. if(stunned)
  131. stunned-=0.2
  132. if(stunned < 0)
  133. stunned = 0
  134.  
  135. usr.statLoop_active = false
Add Comment
Please, Sign In to add comment