Skip to content
Extraits de code Groupes Projets
Valider cf7ef018 rédigé par Krisys's avatar Krisys
Parcourir les fichiers

Shorter effect descriptions

parent 053f3d2a
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -73,23 +73,23 @@ public class AlterationPool
switch (alterationType)
{
case AlterationType.ADD_SCORE_ON_CARD_PLAYED:
return "Add " + value + " to score on card played";
return "+" + value + " score on each card played";
case AlterationType.DUPLICATE_CARD:
return "Play the next card " + value + " extra times";
return "+" + value + " copies to next card played";
case AlterationType.ADD_SCORE_ON_CARD_DRAWN:
return "Gain " + value + " score when a card is drawn";
return "+" + value + " on each card drawn";
case AlterationType.ADD_SCORE_ON_SCORE_GAINED:
if (value > 0)
return "Gain " + value + " score whenever you gain score from a card effect";
return "+" + value + " to score gains from cards";
else
return "Opponent Gains " + (-value) + " score whenever you gain score from a card effect";
return "+" + (-value) + " to opponent score whenever you gain score from a card effect";
case AlterationType.ADD_SCORE_ON_DISCARD:
if (value > 0)
return "Gain " + value + " score whenever you discard a card";
return "+" + value + " score whenever you discard a card";
else
return "Opponent Gains " + (-value) + " score whenever you discard a card";
case AlterationType.DRAW_ON_DRAW:
return "Draw " + value + " cards whenever you draw a card";
return "+" + value + " to all card draws";
default:
Debug.LogError("incorrect type");
return "";
......
......@@ -27,6 +27,6 @@ public class DrawEffect : Effect
public override string GetDescription()
{
return "Draw " + mDrawAmount + "cards";
return "Draw " + mDrawAmount;
}
}
......@@ -21,6 +21,6 @@ public class EnergyEffect : Effect
public override string GetDescription()
{
return "Gain " + energyGain + "energy" ;
return "+" + energyGain + " energy" ;
}
}
......@@ -33,11 +33,11 @@ public class ScoreEffect : Effect
{
if (mScoreToApply > 0)
{
return "Increases your score of " + mScoreToApply + " points";
return "+" + mScoreToApply + " points";
}
else
{
return "Increases opponent score of " + (-mScoreToApply) + " points";
return "+" + (-mScoreToApply) + " points to opponent";
}
}
}
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter