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