View Full Version : Spell action - kill or lower regen.
provocating
01-30-2015, 12:31 PM
Looking through the spell actions I have successfully lowered the stats and hp by a percentage on a mob. I have tried a few different ones to lower the regen of a mob, the only thing I have managed to do is lower the cap of the regen. Does this exist or do I need to go a different route?
Kingly_Krab
01-30-2015, 02:02 PM
Try $npc->ModifyNPCStat("hp_regen", NUMBER). Check here (https://github.com/EQEmu/Server/blob/a12011ca1e96e304ce1a6e6b1a815610a1bd4f98/zone/npc.cpp#L1913) for identifiers.
provocating
01-30-2015, 02:20 PM
Yeah, and from other things I am noticing, I am going to have to do a lot of things through some scripts.
Kingly_Krab
01-30-2015, 02:40 PM
Yeah, a lot of stuff can either only be done in scripts, or is just more easily done in scripts.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.