void CastDistractingPain(WorldObject owner) { var chr = owner.GetNearbyRandomHostileCharacter(); if (chr != null) { owner.SpellCast.Start(distractingPain, false, chr); m_owner.Idle(1000); // idle a little after casting a spell } }
void CastDecrepify(WorldObject owner) { //owner.Yell("Hi"); Character chr = owner.GetNearbyRandomHostileCharacter(); //TODO: Work out why this was commented out and replaced with a test string if (chr != null) { m_owner.SpellCast.Start(decrepify, false, chr); } }