예제 #1
0
 public static void KillBuff(Buff buffData, EntityParent caster, EntityParent target, int fromSkillLevel, bool isCommunicateMix)
 {
     LocalBattleBuffPropHandler.KillBuff(buffData, caster, target, fromSkillLevel);
     if (target == null)
     {
         return;
     }
     if (LocalAgent.GetSpiritIsDead(target, isCommunicateMix))
     {
         return;
     }
     if (!LocalAgent.CheckBuffTypeContainOther(buffData, target.ID))
     {
         LocalBattleProtocolSimulator.SendEndWeak(target.ID);
     }
 }
예제 #2
0
 public static void HandleBuff(Buff buffData, EntityParent caster, EntityParent target, int fromSkillLevel)
 {
     LocalBattleBuffPropHandler.HandleBuff(buffData, caster, target, fromSkillLevel);
     LocalBattleProtocolSimulator.SendWeak(target.ID);
 }
예제 #3
0
 public static void IntervalBuff(Buff buffData, EntityParent caster, EntityParent target, int fromSkillLevel)
 {
     LocalBattleBuffPropHandler.IntervalBuff(buffData, caster, target, fromSkillLevel);
 }
 public static void KillBuff(Buff buffData, EntityParent caster, EntityParent target, int fromSkillLevel, bool isCommunicateMix)
 {
     LocalBattleBuffPropHandler.KillBuff(buffData, caster, target, fromSkillLevel);
 }
 public static void HandleBuff(Buff buffData, EntityParent caster, EntityParent target, int fromSkillLevel)
 {
     LocalBattleBuffPropHandler.HandleBuff(buffData, caster, target, fromSkillLevel);
     target.GetSkillManager().ClientCastSkillByID(buffData.tempSkill);
 }
예제 #6
0
 public static void HandleBuff(Buff buffData, EntityParent caster, EntityParent target, int fromSkillLevel)
 {
     LocalBattleBuffPropHandler.HandleBuffCasterProp(buffData, caster, fromSkillLevel, true);
     LocalBattleBuffPropHandler.HandleBuffTargetProp(buffData, target, fromSkillLevel, true);
 }