View Single Post
  #3  
Old 11-28-2010, 12:04 AM
Ancentre Ancentre is offline
Approved Member
 
Join Date: May 2010
Posts: 11
Default it works!!! thanks matt

i took a look at the skill.lua
and i found
local cur_rage=Logic.hero_lu_item("rage","limit")
local cur_mana=Logic.hero_lu_item("mana","limit")
Logic.hero_lu_item("rage","limit",cur_rage+bonus)
Logic.hero_lu_item("mana","limit",cur_mana+bonus)

so i took those lines and pasted
local cur_rage=Logic.hero_lu_item("rage","limit")
local cur_mana=Logic.hero_lu_item("mana","limit")
under the levelup function

and
Logic.hero_lu_item("rage","limit",cur_rage+1)
Logic.hero_lu_item("mana","limit",cur_mana+1)
under if level<50
now, it adds 1 mana and rage everytime i levelup
thank you very much matt
Reply With Quote