![]() |
|
|||||||
| King`s Bounty: Warriors of the North Next game in the award-winning King’s Bounty series |
|
|
Thread Tools | Display Modes |
|
#11
|
|||
|
|||
|
58 lv now....game keep crashing on ice island when killing ice dragon....any fix???tested few solution but still crash....i lazy to restart the game again....
function features_ondamage_dragon_ice(wnm, ts, dead) if dead then local ahc = Attack.act_after_hit_cell(0) local initsize = Attack.act_initsize(ahc) local manaval, rageval = Game.CurLocRand(initsize, 5*initsize), 0 local dmgts = 1 + Game.Random(0, 10)/100 spawn_energetic_attack(ahc, dmgts, manaval, rageval) if initsize == 1 then Attack.log(dmgts, "add_blog_ice_dragon_death_1", "name"," "..blog_side_unit(0), "special", mana_count) else -- Attack.log(dmgts, "add_blog_ice_dragon_death_1", "name"," "..blog_side_unit(0), "special", mana_count) end end return true end |
|
|