コード例 #1
0
ファイル: Cook.cs プロジェクト: Speedy0197/robinsoncrusoe
 public override void UseAbility()
 {
     if (CurrentDetermination >= GetAbilityCosts())
     {
         //Stone Soup
         CharacterActions.LowerCharacterDeterminationBy(GetAbilityCosts(), this);
         FoodStorage.IncreaseFoodBy(1);
     }
 }
コード例 #2
0
 public override void UseAbility()
 {
     if (CurrentDetermination >= GetAbilityCosts())
     {
         //Economical Construction
         CharacterActions.LowerCharacterDeterminationBy(GetAbilityCosts(), this);
         Wood.IncreaseWoodBy(1);
     }
 }
コード例 #3
0
 public override void UseAbility()
 {
     if (CurrentDetermination >= GetAbilityCosts())
     {
         //Defense Plan
         CharacterActions.LowerCharacterDeterminationBy(GetAbilityCosts(), this);
         WeaponPower.RaiseWeaponPowerBy(1);
     }
 }
コード例 #4
0
 public override void UseAbility()
 {
     if (CurrentDetermination >= GetAbilityCosts())
     {
         //Motivational Speech
         CharacterActions.LowerCharacterDeterminationBy(GetAbilityCosts(), this);
         Moral.RaiseMoral();
     }
 }