RedBeard
Member
- ServUO Version
- Publish 57
- Ultima Expansion
- Endless Journey
Looking for the correct method. When player casts a specific spell it has an affect on basecreature.
public override void OnDamagedBySpell(Mobile caster)
{
base.OnDamagedBySpell(caster);
//==Lightning Absorption==
if (caster (typeof (LightningSpell)));
{
FixedParticles(0, 10, 0, 0x2522, EffectLayer.Waist);
this.Hits += 1000; //1000 health replenished
caster.SendMessage("The creature absorbs the energy replenishing its health.");
}
}