Example #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);
            }
        }
Example #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);
         }
     }
 }
Example #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);
                }
            }
        }
Example #4
0
 public static void DoEffect(Scene scene, ObjCharacter target, BuffData buff)
 {
     BuffEvent.DoBuff(scene, target, buff, 0, m_sType);
 }
Example #5
0
 public static void DoEffect(Scene scene, ObjCharacter target, BuffData buff, int DelayView)
 {
     BuffEvent.DoBuff(scene, target, buff, DelayView, m_sType);
 }