public override void OnCast() { if (CheckSequence()) { TimeSpan duration = TimeSpan.FromSeconds((2 * Caster.Skills.Magery.Fixed) / 5); if (Caster.EraAOS) /* Why two diff daemons? TODO: solve this */ { BaseCreature m_Daemon = new SummonedDaemon(); SpellHelper.Summon(m_Daemon, Caster, 0x216, duration, false, false); m_Daemon.FixedParticles(0x3728, 8, 20, 5042, EffectLayer.Head); } else if (Caster.EraUOR) { SpellHelper.Summon(new Daemon(), Caster, 0x216, duration, false, false); } else { // HACK: Convert to T2A mechanis. SpellHelper.Summon(new Daemon(), Caster, 0x216, duration, false, false); } } FinishSequence(); }
public override void OnCast() { if (this.CheckSequence()) { TimeSpan duration = TimeSpan.FromSeconds((2 * this.Caster.Skills.Magery.Fixed) / 5); if (Core.AOS) /* Why two diff daemons? TODO: solve this */ { BaseCreature m_Daemon = new SummonedDaemon(); SpellHelper.Summon(m_Daemon, this.Caster, 0x216, duration, false, false); m_Daemon.FixedParticles(0x3728, 8, 20, 5042, EffectLayer.Head); } else SpellHelper.Summon(new Daemon(), this.Caster, 0x216, duration, false, false); } this.FinishSequence(); }