/// <summary> /// 判定に使う能力値を取得します /// </summary> /// <returns> 判定に使う能力値 使用者依存ならNONEを返します </returns> public BattleAbility getUseAbility(IBattleable actoiner) { if (DEPEND_ABILITY) { return(actoiner.getCharacterAttackMethod()); } else { return(this.USE_ABILITY); } }