public override DamageOffset calcOffsetWhenOffensiveSide(DamageOffset offset, MyCharacterController user, MyCharacterController target) { if (target.Parameter.CharacterElement == this.TargetElemental) { offset.addOffensiveSideFinalDamageOffset(levelrate[(int)this.CurrentAbilityLevel]); } return offset; }
public override DamageOffset calcOffsetWhenOffensiveSide(DamageOffset offset, DamageTokenBasis token) { if (token.Target.Parameter.CharacterElement == this.TargetElemental) { offset.addOffensiveSideFinalDamageOffset(levelrate[(int)this.CurrentAbilityLevel]); } return offset; }