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