Ejemplo n.º 1
0
 void Detonate(CharacterGraphic cardPlayer, MeleeCard playedCard)
 {
     if (cardPlayer.GetType() != typeof(MercGraphic))
     {
         CombatManager.main.RemoveRoomStipulationCard(this);
         cardPlayer.TakeDamage(damage);
     }
 }
Ejemplo n.º 2
0
 void Trigger(CharacterGraphic cardPlayer, RangedCard playedCard)
 {
     //CardsScreen.main.RemoveRoomCard(this);
     cardPlayer.TakeDamage(rangedAttackDamagePenalty);
 }
Ejemplo n.º 3
0
 void EffectTriggered(CharacterGraphic cardPlayer, MeleeCard playedCard)
 {
     if (playedCard.targetChars[0] == appliedToCharacter)
     {
         cardPlayer.TakeDamage(damage);
         appliedToCharacter.RemoveCharacterStipulationCard(this);
     }
 }
Ejemplo n.º 4
0
 void Detonate(CharacterGraphic cardPlayer, MeleeCard playedCard)
 {
     CombatManager.main.RemoveRoomStipulationCard(this);
     cardPlayer.TakeDamage(damage);
 }
Ejemplo n.º 5
0
 void EffectTriggered(CharacterGraphic cardPlayer, MeleeCard playedCard)
 {
     if (cardPlayer.GetType() == typeof(MercGraphic))
         cardPlayer.TakeDamage(damageForMeleeAttacks);
 }