$npc->SetSpellFocusDMG()
$npc->SetSpellFocusHeal() These are alternative functions that I added prior to Akka's code (and will stack with the dbase spell scale) They work fine. 100 = 100% focus ect Negative values can be used to reduce spell damage or even cause spells to heal if under 100. Will work on any NPC, pets included. |
Neat I will give that a try for player pets!
That is exactly what I was looking for thanks Keyan! Kind of weird for the other way of doing this excludes player pets =( |
Well I just so happened to test this today and it does indeed work.
You just need to make sure you cast: $CT was me getting my pet target, really this would affect any NPC I targeted Code:
sub EVENT_TARGET_CHANGE{ |
modifynpcstat works for sure on pets.. I already use it to mod ALL of their stats
except Spellscale / healscale I use $npc->SetSpellFocusDMG() for the scaling of spell damage though. |
All times are GMT -4. The time now is 01:44 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.