Thread: Bugfixes
View Single Post
  #2  
Old 11-30-2012, 03:30 AM
ckdamascus ckdamascus is offline
Approved Member
 
Join Date: Mar 2010
Posts: 1,059
Default

Quote:
Originally Posted by ftww View Post
With regard to this bug:


Does the following look like the right fix? In spells.lua, line 2446:
Code:
Attack.act_apply_par_spell( "health", -bhealth*penalty, 0, 0, -100, false)
Change to:
Code:
Attack.act_apply_par_spell( "health", -bhealth*penalty/100, 0, 0, -100, false)
Yes, this looks like it works!!!

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
Reply With Quote