![]() |
|
King`s Bounty: Warriors of the North Next game in the award-winning King’s Bounty series |
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]()
With regard to this bug:
Quote:
Code:
Attack.act_apply_par_spell( "health", -bhealth*penalty, 0, 0, -100, false) Code:
Attack.act_apply_par_spell( "health", -bhealth*penalty/100, 0, 0, -100, false) |
#2
|
|||
|
|||
![]() Quote:
Thanks! I'm going to try to figure out avenging angel now... haha! I think I found the problem with avenging angel, but it almost seems like it was intentional. Was it a buff to avenging angel then? Unfortunately, the Favorite of the Gods thing is tied to Avenging Angel. I can revert it back to the old behavior hmmm. Doesn't look like I can fix Demon Rage Ball or Evil Book since they seem to call functions outside of the .lua files? How does that work? Also, Shroud / aka Oil Mist aka Greasy Mist looks heavily re-worked with different parameters going in. So it is probably changed too heavily for me to safely adjust. Just going for the low hanging fruit now! CODE FIX for AVENGING ANGEL and FAVORITE OF THE GODS In spells.lua, line 745: Code:
elseif minmax == 0 then Attack.act_posthitslave(receiver, "post_spell_slave_angel_avenger", 0) end return 1,1--damage, addrage end Code:
elseif minmax == 0 then Attack.act_posthitslave(receiver, "post_spell_slave_angel_avenger", 0) end return damage, addrage end Last edited by ckdamascus; 11-30-2012 at 02:16 PM. Reason: corrected for addrage |
#3
|
|||
|
|||
![]() Quote:
Also, your code fix seems to also disable rage gain from the avenging angel, ( addrage), which I don't think is part of the problem. |
#4
|
|||
|
|||
![]() Quote:
What boggles me beyond belief is, that code was there but commented out. 1,1, -- damage, addrage. I suppose maybe just revert it to that instead? Last minute debug stuck in there? |
#5
|
|||
|
|||
![]()
Do you have any idea what to do if i have non-steam version? There are no .lua files...
|
#6
|
|||
|
|||
![]() Quote:
Furthermore, if you just drop a .lua file in sessions/addon it OVERRIDES whatever is in the ses.kfs file. So just exact, modified .lua, copy .lua there. Be careful, if there is ever an official patch, you have to remove the old .lua file since the .lua file overrides whatever is in the official ses.kfs. |
![]() |
|
|