From 3fa4811d241e1dceca9e542e4c799199728908a2 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 20 May 2021 23:24:20 -0400 Subject: [PATCH] v0.9.3: polish pass on mage abilities --- core/src/main/assets/messages/actors/actors.properties | 6 +++--- .../actors/hero/abilities/mage/ElementalBlast.java | 6 +++++- .../actors/hero/abilities/mage/WarpBeacon.java | 4 ++++ .../actors/hero/abilities/mage/WildMagic.java | 4 ++++ 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/core/src/main/assets/messages/actors/actors.properties b/core/src/main/assets/messages/actors/actors.properties index 0c24f7e94..f9b15ba54 100644 --- a/core/src/main/assets/messages/actors/actors.properties +++ b/core/src/main/assets/messages/actors/actors.properties @@ -351,11 +351,11 @@ actors.hero.abilities.warrior.endure.short_desc=The Warrior _Endures_, skipping actors.hero.abilities.warrior.endure.desc=The Warrior endures for 3 turns, taking half damage from all sources. This reduction is applied before damage resisting effects like armor.\n\nAfter enduring, the warrior's next hit within 10 turns gains bonus damage. This bonus damage is equal to one fourth of all the damage inflicted on him while enduring, before any damage reduction effects!\n\nIf the warrior has any combo, using this ability increases its remaining time by 3 turns.\n\nThis ability costs 50 charge. actors.hero.abilities.mage.elementalblast.name=elemental blast actors.hero.abilities.mage.elementalblast.short_desc=The Mage emits an _Elemental Blast_ from his staff, covering a large area around him in an effect that varies based on the wand in his staff. -actors.hero.abilities.mage.elementalblast.desc=TODO +actors.hero.abilities.mage.elementalblast.desc=The Mage emits a blast of magic, which covers a circular region up to 4 tiles away.\n\nThe specific effect of elemental blast will vary by the wand imbued in the Mage's staff. These effects will be similar to the effect of the wand when zapped at an enemy or ally. Damaging wands will deal up to 10-20 damage to enemies.\n\nThis ability costs 35 charge. actors.hero.abilities.mage.wildmagic.name=wild magic actors.hero.abilities.mage.wildmagic.no_wands=You have no wands to zap with! actors.hero.abilities.mage.wildmagic.short_desc=The Mage unleashes the _Wild Magic_ contained in his wands, randomly firing them multiple times at a chosen target over a single turn. -actors.hero.abilities.mage.wildmagic.desc=TODO +actors.hero.abilities.mage.wildmagic.desc=The Mage unleashes the power in his wands, randomly firing them up to 4 times in a single turn. The Mage's staff is not included in this effect.\n\nEach wand is treated as if it was +1, regardless of its actual level. This ability does consume wand charges, and no one wand can be fired more than 2 times.\n\nThis ability costs 35 charge. actors.hero.abilities.mage.warpbeacon.name=warp beacon actors.hero.abilities.mage.warpbeacon.depths=You can't warp between depths! actors.hero.abilities.mage.warpbeacon.locked_floor=You cannot leave a locked floor! @@ -366,7 +366,7 @@ actors.hero.abilities.mage.warpbeacon.window_tele=teleport to beacon actors.hero.abilities.mage.warpbeacon.window_clear=clear beacon actors.hero.abilities.mage.warpbeacon.window_cancel=cancel actors.hero.abilities.mage.warpbeacon.short_desc=The Mage places a _Warping Beacon_ at his current location, which he can instantly teleport back to. -actors.hero.abilities.mage.warpbeacon.desc=TODO +actors.hero.abilities.mage.warpbeacon.desc=The Mage places a beacon, which can then be warped to at will. Placing the beacon takes 1 turn, but warping to it is instantaneous.\n\nThe Mage cannot warp between floors by default, or use the beacon to reach inaccessible places such as locked rooms. The Mage can teleport into enemies, which will push them aside.\n\nThis ability costs 35 charge. actors.hero.abilities.rogue.smokebomb.name=smoke bomb actors.hero.abilities.rogue.smokebomb.fov=You can only jump to an empty location in your field of view actors.hero.abilities.rogue.smokebomb.prompt=Choose a location to jump to diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/ElementalBlast.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/ElementalBlast.java index 4db8998d0..4de6481ae 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/ElementalBlast.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/ElementalBlast.java @@ -114,7 +114,11 @@ public class ElementalBlast extends ArmorAbility { damageFactors.put(WandOfWarding.class, 0f); damageFactors.put(WandOfTransfusion.class, 0f); damageFactors.put(WandOfCorruption.class, 0f); - damageFactors.put(WandOfRegrowth.class, 0f); + damageFactors.put(WandOfRegrowth.class, 0f); + } + + { + baseChargeUse = 35f; } @Override diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/WarpBeacon.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/WarpBeacon.java index 512dad930..af8bc8dd0 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/WarpBeacon.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/WarpBeacon.java @@ -56,6 +56,10 @@ import java.util.ArrayList; public class WarpBeacon extends ArmorAbility { + { + baseChargeUse = 35f; + } + @Override protected String targetingPrompt() { if (Dungeon.hero.buff(WarpBeaconTracker.class) == null diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/WildMagic.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/WildMagic.java index c58c5bbb1..d9b369a17 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/WildMagic.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/WildMagic.java @@ -41,6 +41,10 @@ import java.util.ArrayList; public class WildMagic extends ArmorAbility { + { + baseChargeUse = 35f; + } + @Override protected String targetingPrompt() { return Messages.get(this, "prompt");