Beispiel #1
0
        public static void DoEffect(Scene scene, ObjCharacter target, ObjCharacter caster)
        {
            var tempList = target.BuffList.CopyBuff();

            foreach (var buff in tempList)
            {
                BuffEvent.DoBuff(scene, target, buff, 0, m_sType);
            }
        }
Beispiel #2
0
 public static void DoEffect(Scene scene, ObjCharacter bear, BuffData buff, int damage)
 {
     if (buff.m_HitType < eHitType.Hit)
     {
         var tempList = bear.BuffList.CopyBuff();
         foreach (var dobuff in tempList)
         {
             BuffEvent.DoBuff(scene, bear, dobuff, 0, m_sType, damage, bear, (int)buff.m_HitType);
         }
     }
 }
Beispiel #3
0
        public static void DoEffect(Scene scene, ObjCharacter target, ObjCharacter caster, int health)
        {
            var tempList = target.BuffList.CopyBuff();

            foreach (var dobuff in tempList)
            {
                if (dobuff.GetActive())
                {
                    BuffEvent.DoBuff(scene, target, dobuff, 0, m_sType, health, caster);
                }
            }
        }
Beispiel #4
0
 public static void DoEffect(Scene scene, ObjCharacter target, BuffData buff)
 {
     BuffEvent.DoBuff(scene, target, buff, 0, m_sType);
 }
Beispiel #5
0
 public static void DoEffect(Scene scene, ObjCharacter target, BuffData buff, int DelayView)
 {
     BuffEvent.DoBuff(scene, target, buff, DelayView, m_sType);
 }