Jump to content

[One] Fix Devastate


Guest stfx

Recommended Posts

What bug does the patch fix? What features does the patch add?

Fixes Devastate not causing the Sunder Armor Effect.

For which repository revision was the patch created?

[s1419] (mangos-one)

Who has been writing this patch? Please include either forum user names or email addresses.

Me

Code is taken from master - the only difference is that on One there is no single Sunder Armor Effect spell which only causes the effect. Therefore we need to get the highest Sunder Armor spell from player spell book and cast it on enemy.

The issue I have here though is that it attacks the enemy twice - dealing physical damage twice (once for Devastate and once for triggered Sunder Armor) and also playing the animation twice. Is that blizzlike? Maybe someone more experienced with the spell system and/or warriors at 2.4.3 can take a look at it ;)

https://gist.github.com/1303471

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use