Quote:
Originally Posted by NatedogEZ
Code:
quest::modifynpcstat("spellscale",900);
I've done every other stat like this and they work just fine... (didn't try healscale actually)
Anyone else have problems with this? I've scaled all stats on an NPC.. but when it comes to spells it only takes the spellscale from the database value set for that NPC.
Side note... my source is up to date as well.
|
Not sure about the quest version without looking at the source.
This is what I used in my stuff the day I put it in:
Code:
$NPC->ModifyNPCStat("spellscale", $SD[$NPC->GetLevel()][$NTYPE][22] * $SZD{$zonesn}[$instanceversion][9]);
$NPC->ModifyNPCStat("healscale", $SD[$NPC->GetLevel()][$NTYPE][23] * $SZD{$zonesn}[$instanceversion][8]);
$NPC being the entity iteration of course, and then the 2nd argument is my stuff I'm passing to it to get my scaling.