Create MonsterCard
This commit is contained in:
parent
169210efbe
commit
cce0b2891c
22 changed files with 203 additions and 27 deletions
|
|
@ -42,6 +42,12 @@ public class BattleParticipant
|
|||
return damage;
|
||||
}
|
||||
|
||||
public int Heal(int amount) {
|
||||
amount = Math.Min(this.maxHP - this.hp, amount);
|
||||
this.hp += amount;
|
||||
return amount;
|
||||
}
|
||||
|
||||
public void AddBlock(int block) {
|
||||
this.block += block;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue