public override void AddEffect() { if (Parent is Mobile) { Mobile from = (Mobile)Parent; if (from.Mounted) { IMount mount = (IMount)from.Mount; mount.Rider = null; } from.BodyMod = from.Female ? 400 : 401; TransformationSpellHelper.AddContext(from, new TransformContext(null, typeof(HalloweenMask), null)); } }
public virtual void AddEffect() { if (Parent is Mobile) { Mobile from = (Mobile)Parent; if (from.Mounted) { IMount mount = (IMount)from.Mount; mount.Rider = null; } from.BodyMod = BodyMod; from.HueMod = HueMod; TransformationSpellHelper.AddContext(from, new TransformContext(null, new List <ResistanceMod>(), typeof(HalloweenMask), null)); } }