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