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