View Single Post
  #1  
Old 10-29-2012, 10:40 PM
Rudi Rudi is offline
Approved Member
 
Join Date: Dec 2009
Posts: 9
Default Skald, Pean skill workaround

Hi everybody
after getting several crashes because of Skald Pean skill and finding out it's
the Last Hero buff which causes them, I tried to find a workaround.

For anyone interested, simply find the function: special_bless_song_attack()
in unit_special_attacks.lua (needs extraction) and comment two lines at the spell selection function (lines 946,947), it should look like this:
--elseif spell == "spell_last_hero" then
--spell_last_hero_attack(lvl, dmgts, cell)

this eliminates the Last Hero buff from applying but at least prevents Skalds from crashing your games.

Anybody with a better understanding of scripting feel free to post a cleaner solution while we're waiting for an appropriate fix (hopefully soon).
Reply With Quote