diff --git a/src/main/java/com/comandante/creeper/ConfigureNpc.java b/src/main/java/com/comandante/creeper/ConfigureNpc.java index 5bf5b2924014e68d0ddb224edb7df37111d201d6..52b4d0fae0985e37f94a975e84d5f4a9189cbef6 100755 --- a/src/main/java/com/comandante/creeper/ConfigureNpc.java +++ b/src/main/java/com/comandante/creeper/ConfigureNpc.java @@ -445,7 +445,7 @@ public class ConfigureNpc { SpellRegistry.addSpell(new ClumsinessSpell(gameManager)); SpellRegistry.addSpell(new RestoreSpell(gameManager)); SpellRegistry.addSpell(new HealingSpell(gameManager)); - SpellRegistry.addSpell(new AidsSpell(gameManager)); + SpellRegistry.addSpell(new LizardlySpell(gameManager)); SpellRegistry.addSpell(new BlackHoleSpell(gameManager)); } } diff --git a/src/main/java/com/comandante/creeper/command/CastCommand.java b/src/main/java/com/comandante/creeper/command/CastCommand.java index 1c508a66a0d8601182ab9275cb2412d2fe6b4a58..c8236f38cf651d5f7c95bdbba3af87907e73be5a 100644 --- a/src/main/java/com/comandante/creeper/command/CastCommand.java +++ b/src/main/java/com/comandante/creeper/command/CastCommand.java @@ -5,7 +5,6 @@ import com.comandante.creeper.managers.GameManager; import com.comandante.creeper.npc.Npc; import com.comandante.creeper.player.CoolDownType; import com.comandante.creeper.player.Player; -import com.comandante.creeper.spells.AidsSpell; import com.comandante.creeper.spells.Spell; import com.comandante.creeper.spells.SpellRegistry; import com.google.common.base.Joiner; diff --git a/src/main/java/com/comandante/creeper/spells/AidsSpell.java b/src/main/java/com/comandante/creeper/spells/LizardlySpell.java similarity index 80% rename from src/main/java/com/comandante/creeper/spells/AidsSpell.java rename to src/main/java/com/comandante/creeper/spells/LizardlySpell.java index a2367c6387c937c52f33494cf9fa6d589c42bd55..805d99523f167b1d2105074afafa5dafc3888a85 100644 --- a/src/main/java/com/comandante/creeper/spells/AidsSpell.java +++ b/src/main/java/com/comandante/creeper/spells/LizardlySpell.java @@ -24,30 +24,30 @@ import java.util.Set; import static com.comandante.creeper.server.Color.BOLD_ON; -public class AidsSpell extends Spell { +public class LizardlySpell extends Spell { - private final static String NAME = BOLD_ON + Color.RED + "aids" + Color.RESET; - private final static String DESCRIPTION = "Your target is AIDS positive."; + private final static String NAME = BOLD_ON + Color.YELLOW + "lizzards" + Color.RESET; + private final static String DESCRIPTION = "Your target is LIZARDLY!!!!"; private final static Set<String> validTriggers = new HashSet<String>(Arrays.asList(new String[] - {"aids", "a", NAME} + {"lizardly", "liz", NAME} )); private final static Stats attackStats = new StatsBuilder().createStats(); private final static boolean isAreaSpell = false; - private final static List<String> attackMessages = Lists.newArrayList("tainted blood is flung through the air... " + BOLD_ON + Color.RED + "aids" + Color.RESET + "!!!!"); + private final static List<String> attackMessages = Lists.newArrayList("tainted lizzard blood is flung through the air... " + BOLD_ON + Color.YELLOW + "lizardly" + Color.RESET + "!!!!"); private final static int manaCost = 300; private final static int coolDownTicks = 30; private static EffectBuilder aids = new EffectBuilder() - .setEffectApplyMessages(Lists.newArrayList("You feel closer to daeth as " + Color.BOLD_ON + Color.RED + "aids" + Color.RESET + " destroys your will to live!")) + .setEffectApplyMessages(Lists.newArrayList("You feel closer to death as " + Color.BOLD_ON + Color.YELLOW + "lizzardly" + Color.RESET + " destroys your will to live!")) .setEffectDescription("Target has aids.") .setEffectName(Color.BOLD_ON + Color.RED + "aids" + Color.RESET + Color.BOLD_ON + Color.BLUE + " FOR LIFE" + Color.RESET) .setDurationStats(new StatsBuilder().createStats()) .setApplyStatsOnTick(new StatsBuilder().setCurrentHealth(-1000).createStats()) .setFrozenMovement(false) - .setLifeSpanTicks(86400); + .setLifeSpanTicks(5); - public AidsSpell(GameManager gameManager) { + public LizardlySpell(GameManager gameManager) { super(gameManager, validTriggers, manaCost, attackStats, attackMessages, DESCRIPTION, NAME, Sets.<Effect>newHashSet(), isAreaSpell, null, coolDownTicks); }