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