![]() |
|
King`s Bounty: Warriors of the North Next game in the award-winning King’s Bounty series |
![]() |
|
Thread Tools | Display Modes |
#21
|
|||
|
|||
![]() Quote:
-- Êîíòðîëü äîñòóïíîñòè Àðòåôàêòà ßðîñòè function pet_after_hit() Attack.done_timeshift(Attack.aseq_time(0)) pet_rest = 1 -- Ïðîâåðêà íà èñïîëüçîâàíèå óìåíèÿ ßðîñòè 2 ðàçà çà ýòîò ðàóíä if double_use == 0 then double_use = 1 -- Ïðîâåðêà íà âîçìîæíîñòü ïîâòîðíîãî èñïîëüçîâàíèÿ local chance = skill_power("runic_power", 3) if chance > 0 then chance = chance*( tonumber(Logic.hero_lu_item("rune_might", "count")) + tonumber(Logic.hero_lu_item("rune_mind", "count")) + tonumber(Logic.hero_lu_item("rune_magic", "count")) ) local chance_limit = skill_power("runic_power", 4) if chance > chance_limit then chance = chance_limit end if (chance >= Game.Random(1, 100)) then pet_rest = 0 Attack.log(0, "add_blog_skill_action_boy") end end end if pet_rest > 0 then Attack.act_aseq(0, "sleepdown") Attack.val_store(0, "available", 0) Attack.val_store(0, "rest", pet_rest) end -- spend rage local hero_rage = Logic.cur_lu_item( "rage", "count" ) local rage_used = tonumber( "0" .. Attack.get_custom_param("rage") ) local new_hero_rage = math.max( 0, hero_rage - rage_used ) Game.GVNumInc("pet_rage_used", rage_used) Game.GVSNumInc("latest_battle", "rage_spent", rage_used) Logic.cur_lu_item( "rage", "count", new_hero_rage ) -- add exp local add_rage_exp = Game.GVNum("add_rage_exp") if add_rage_exp == nil or add_rage_exp == "" then Game.GVNum("add_rage_exp", 0) else if tonumber(add_rage_exp) == 1 then local exp_add = tonumber( "0" .. Attack.get_custom_param("exp") ) local exp_bonus = tonumber( "0" .. Logic.hero_lu_item("sp_addexp_spirit","count") ) Attack.add_exp(exp_add*(1+exp_bonus/100) ) end end return true end Rage exp has nothing to do with your army size or the amount of rage you have. You get less with larger army because you finish battle faster = less chance to use rage skill. This will be the only time I post such thing. |
#22
|
|||
|
|||
![]() Quote:
|
#23
|
|||
|
|||
![]()
@ikbenrichard
If you mean how much exp more you need for next lvl then : - hero exp as you said is showed in hero screen next to portrait, little green bar that fills after battles. - rage exp is showed in screen at end of battle, click detail when screen is showed about what army you had and enemy troops you defeated. (expl http://forum.1cpublishing.eu/attachm...4&d=1352693751 ) Bottom left corner is rage spent during that battle(0 in this case- boss fight)/lvl of rage skills (27 in this case) and exp bar. Place mouse over it (not literally to place mouse on your monitor, just hover pointer on it ![]() Hope i helped, have fun ![]() Last edited by Fatt_Shade; 11-13-2012 at 11:10 AM. |
#24
|
|||
|
|||
![]() Quote:
|
![]() |
|
|