public override void ApplyBuff(IBattlable buffer, int buff, CEnum.EStatusType statusType) { if (this.GetOtherInteractive() == false) { return; } base.ApplyBuff(buffer, buff, statusType); }
public void ApplyBuff(int value, CEnum.EStatusType statusType) { switch (statusType) { default: case CEnum.EStatusType.Health: m_TotalHealthBuff += value; break; } }
public override void ApplyBuff(int buff, CEnum.EStatusType statusType) { base.ApplyBuff(buff, statusType); m_BattleComponent.ApplyBuff(buff, statusType); var health = 0; if (m_BattleComponent.CalculateHealth(this.GetCurrentHealth(), out health)) { SetCurrentHealth(health); } }
public void ApplyBuff(int buff, CEnum.EStatusType statusType) { switch (statusType) { default: case CEnum.EStatusType.Health: m_TotalHealthBuff += buff; break; case CEnum.EStatusType.Mana: m_TotalManaBuff += buff; break; case CEnum.EStatusType.Lucky: // TODO break; } }
public virtual void ApplyBuff(IBattlable buffer, int buff, CEnum.EStatusType statusType) { m_BattleComponent.ApplyBuff(buff, statusType); }
public virtual void ApplyBuff(int buff, CEnum.EStatusType statusType) { }