Ejemplo n.º 1
0
 private void MaarekStelePilotAbility(GenericShip ship, DamageDeckCard.GenericDamageCard crit, EventArgs e)
 {
     if ((e as DamageSourceEventArgs) == null)
     {
         return;
     }
     else if ((((e as DamageSourceEventArgs).Source) as GenericShip).ShipId == HostShip.ShipId)
     {
         if ((e as DamageSourceEventArgs).DamageType == DamageTypes.ShipAttack)
         {
             RegisterAbilityTrigger(TriggerTypes.OnFaceupCritCardReadyToBeDealt, ShowDecision);
         }
     }
 }
Ejemplo n.º 2
0
 public static string GetImageUrl(DamageDeckCard.GenericDamageCard crit, string filename = null)
 {
     return(GetImageUrl(DamageDeckPath, crit.Name, filename));
 }