Exemple #1
0
 public void ResolveChallengeFailure(PartyController party, RoomModel room)
 {
     foreach (GameObject adventurer in party.GetAdventurers())
     {
         AdventurerModel a = adventurer.GetComponent <AdventurerModel>();
         a.applyDamage(room.room_attack);
     }
 }
Exemple #2
0
 public virtual void onFailRoom(ref AdventurerModel adventurer)
 {
     adventurer.applyDamage(m_attack_damage);
     DebugLogger.DebugUnitDamage(m_attack_damage, adventurer);
 }