public override SkillResults Stop(MabiCreature creature, MabiSkill skill)
        {
            creature.Deactivate(CreatureConditionD.SpreadWings);

            Send.SpreadWings(creature, false);

            return SkillResults.Okay;
        }
Exemple #2
0
        public override SkillResults Stop(MabiCreature creature, MabiSkill skill)
        {
            creature.Deactivate(CreatureConditionB.Transparent);

            Send.StatusEffectUpdate(creature);

            return SkillResults.Okay;
        }
        public override SkillResults Stop(MabiCreature creature, MabiSkill skill)
        {
            creature.Deactivate(CreatureConditionB.Demigod);

            creature.StatRegens.Remove(creature.Temp.DemiHpRegen);
            creature.StatRegens.Remove(creature.Temp.DemiMpRegen);
            creature.StatRegens.Remove(creature.Temp.DemiStmRegen);

            WorldManager.Instance.Broadcast(PacketCreator.StatRegenStop(creature, StatUpdateType.Public, creature.Temp.DemiHpRegen, creature.Temp.DemiMpRegen, creature.Temp.DemiStmRegen), SendTargets.Range, creature);
            WorldManager.Instance.Broadcast(PacketCreator.StatRegenStop(creature, StatUpdateType.Private, creature.Temp.DemiHpRegen, creature.Temp.DemiMpRegen, creature.Temp.DemiStmRegen), SendTargets.Range, creature);
            WorldManager.Instance.CreatureStatsUpdate(creature);

            return SkillResults.Okay;
        }