public static Summon ( |
||
creature | ||
caster | Mobile | |
sound | int | |
duration | System.TimeSpan | |
scaleDuration | bool | |
scaleStats | bool | |
리턴 | void |
public override void OnCast() { if (CheckSequence()) { TimeSpan duration = TimeSpan.FromSeconds(0); SpellHelper.Summon(new SummonedFireElemental(), Caster, 0x217, duration, false, false); } FinishSequence(); }
public override void OnCast() { if (CheckSequence()) { TimeSpan duration = TimeSpan.FromSeconds(0); SpellHelper.Summon(new SummonedAncientLich(), Caster, 0x217, duration, false, false); //else // SpellHelper.Summon( new AncientLich(), Caster, 0x217, duration, false, false ); } FinishSequence(); }
public override void OnCast() { if (CheckSequence()) { TimeSpan duration = TimeSpan.FromSeconds(0); if (Caster is PlayerMobile) { SpellHelper.Summon(new Horse(), Caster, 0x217, duration, false, false); } else { SpellHelper.Summon(new Horse(), Caster, 0x217, duration, false, false); } } FinishSequence(); }
public override void OnCast() { if ((Caster.Followers + m_ControlSlots) > Caster.FollowersMax) { Caster.SendLocalizedMessage(1049645); // You have too many followers to summon that creature. return; } else if (CheckSequence()) { try { BaseCreature creature = (BaseCreature)Activator.CreateInstance(m_Creature); TimeSpan duration = TimeSpan.FromSeconds(0); SpellHelper.Summon(creature, Caster, 0x215, duration, true, true); } catch { } } FinishSequence(); }
public static void ToogleFetichisme(Spell spell, Mobile Caster, Mobile from) { TimeSpan duration = TimeSpan.FromSeconds(0); SpellHelper.Summon(new Fetichisme(from), Caster, 0x217, duration, false, false); }