Originally Posted by Fair Strides 2
If you want, I can get back to you with a script later. All you'll have to specify is how much you want healed and how often. An example being 5 points/second or 15 points/3 seconds, okay?
Thanks so much Fair Strides we can do 5 points/second that would be perfect. Just out og my own curiosity I tried to make a script myslef looking at some of the scource scripts does any scripter know if this would work for an instant heal?
My script: (Im sorry if the makes you scripters cry it's prob a bunch of garbage)
int nItem = GetSpellId();
int nSkill = GetSkillRank(SKILL_TREAT_INJURY);
int bHeal = TRUE;
if(bHeal == TRUE)
eHeal = EffectHeal(nSkill);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eHeal, GetSpellTarget());
if(GetTag(OBJECT_SELF) == "GET_FIRSTPC")
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(1000), OBJECT_SELF);