1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using Common.Utility.CombatEvent;
- using Fort23.Core;
- using GameLogic.Combat.CombatTool;
- using GameLogic.Player;
- namespace GameLogic.Combat.Buff
- {
- /// <summary>
- /// 灼热:每秒对敌人照成火属性灼烧伤害
- /// </summary>
- public class b_1005 : BuffBasic
- {
- private float _time;
- protected override void ProInit()
- {
-
- }
- protected override void ProUpdate(float t)
- {
- _time += t;
- if (_time >= 1)
- {
- _time -= 1;
- float harmbl = buffCount * buffInf.BuffConfig.effectValue[0];
- long harm = CombatCalculateTool.Instance.GetVlaueRatioForLong(
- source.CurrCombatHeroInfo.attack.Value, harmbl);
- CombatCalculateTool.Instance.Harm(source, combatHeroEntity, harm, AttType.Buff, _triggerData,
- WuXingType.Fire,HarmType.Buff);
- }
- }
-
- protected override void ProDormancyObj()
- {
-
- }
- }
- }
|