Commit 1b021a4e authored by Fardale's avatar Fardale

séparation des dégats entre les boules de feu et les boules de glaces +…

séparation des dégats entre les boules de feu et les boules de glaces + multiplication des dégats des boules de glaces sur les ponytas (par Clément Ringeade)
parent bc6482c9
......@@ -277,7 +277,7 @@ USSELESS
DEFAULT_TRIGGER
USSELESS
1
TRIGGER_DEGAT_LP
TRIGGER_DEGAT
#abilityList
1
TEST_SUICIDE
......
......@@ -194,7 +194,11 @@ public class EffectBuilder implements Serializable{
for (Integer targetID : targetCharacterIDList) {
try {
if(gameContent.getGameState().getEntity(casterCharacterID).getOwned_character() != targetID) {
gameContent.getGameState().getCharacter(targetID).takeDamage(Math.max(1, 0));
if (gameContent.getGameState().getCharacter(targetID).getSpeciesName().equals("Ponyta")) {
gameContent.getGameState().getCharacter(targetID).takeDamage(2);
} else {
gameContent.getGameState().getCharacter(targetID).takeDamage(Math.max(1, 0));
}
}
} catch (EntityNotFoundExeption entityNotFoundExeption) {
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment