From 88c657dc6d21015cea70a5dd559a654e19049377 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 4 Jan 2025 13:43:03 -0500 Subject: [PATCH] v3.0.0: Cleric T2 buffs: - sunray min damage increased - Bless self-bless duration up --- core/src/main/assets/messages/actors/actors.properties | 4 ++-- .../actors/hero/spells/BlessSpell.java | 4 ++-- .../shatteredpixeldungeon/actors/hero/spells/Sunray.java | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/src/main/assets/messages/actors/actors.properties b/core/src/main/assets/messages/actors/actors.properties index 4de5a7283..ca9659534 100644 --- a/core/src/main/assets/messages/actors/actors.properties +++ b/core/src/main/assets/messages/actors/actors.properties @@ -1095,11 +1095,11 @@ actors.hero.talent.enlightening_meal.desc=_+1:_ Eating food takes the Cleric 1 t actors.hero.talent.recall_inscription.title=Recall Inscription actors.hero.talent.recall_inscription.desc=_+1:_ The Cleric can cast _Recall Inscription,_ a spell that lets them repeat the effect of the last runestone or scroll they used within _10 turns._\n\n_+2:_ The Cleric can cast _Recall Inscription,_ a spell that lets them repeat the effect of the last runestone or scroll they used within _300 turns._\n\nRecall Inscription cannot be used with scrolls of upgrade. This spell's charge cost varies based on which item was used recently: 2 for a runestone, 3 for a scroll, 4 for an exotic scroll. This charge cost is also doubled when used with a scroll of transmutation, or alchemy items that must be crafted using transmutation or upgrade. actors.hero.talent.sunray.title=Sunray -actors.hero.talent.sunray.desc=_+1:_ The Cleric can cast _Sunray,_ a spell that deals _2-8 damage_ and blinds the target for _4 turns,_ at the cost of 1 charge.\n\n_+2:_ The Cleric can cast _Sunray,_ a spell that deals _3-12 damage_ and blinds the target for _6 turns,_ at the cost of 1 charge.\n\nSunray can only blind each target once, but if the target is already blinded by Sunray then it paralyses instead. Sunray always deals maximum damage to demonic and undead foes. +actors.hero.talent.sunray.desc=_+1:_ The Cleric can cast _Sunray,_ a spell that deals _4-8 damage_ and blinds the target for _4 turns,_ at the cost of 1 charge.\n\n_+2:_ The Cleric can cast _Sunray,_ a spell that deals _6-12 damage_ and blinds the target for _6 turns,_ at the cost of 1 charge.\n\nSunray can only blind each target once, but if the target is already blinded by Sunray then it paralyses instead. Sunray always deals maximum damage to demonic and undead foes. actors.hero.talent.divine_sense.title=Divine Sense actors.hero.talent.divine_sense.desc=_+1:_ The Cleric can cast _Divine Sense,_ a spell that grants them _8 tiles_ of Mind Vision for 30 turns, at the cost of 2 charges.\n\n_+2:_ The Cleric can cast _Divine Sense,_ a spell that grants them _12 tiles_ of Mind Vision for 30 turns, at the cost of 2 charges. actors.hero.talent.bless.title=Bless -actors.hero.talent.bless.desc=_+1:_ The Cleric can cast _Bless,_ a spell that grants _4 turns of bless and 10 shielding_ when cast on themselves or _6 turns of bless and 10 healing_ when cast on another character, at the cost of 1 charge.\n\n_+2:_ The Cleric can cast _Bless,_ a spell that grants _6 turns of bless and 15 shielding_ when cast on themselves or _10 turns of bless and 15 healing_ when cast on another character, at the cost of 1 charge.\n\nExcess healing from this spell is converted into shielding. +actors.hero.talent.bless.desc=_+1:_ The Cleric can cast _Bless,_ a spell that grants _6 turns of bless and 10 shielding_ when cast on themselves or _10 turns of bless and 10 healing_ when cast on another character, at the cost of 1 charge.\n\n_+2:_ The Cleric can cast _Bless,_ a spell that grants _10 turns of bless and 15 shielding_ when cast on themselves or _15 turns of bless and 15 healing_ when cast on another character, at the cost of 1 charge.\n\nExcess healing from this spell is converted into shielding. actors.hero.talent.cleanse.title=Cleanse actors.hero.talent.cleanse.desc=_+1:_ The Cleric can cast _Cleanse,_ a spell which is cast instantly, _removes negative status effects_ from the Cleric and any nearby allies, and grants them _10 shielding,_ at the cost of 2 charges.\n\n_+2:_ The Cleric can cast _Cleanse,_ a spell which is cast instantly, _grants 3 turns of negative status immunity_ to the Cleric and any nearby allies, and grants them _20 shielding,_ at the cost of 2 charges.\n\n_+3:_ The Cleric can cast _Cleanse,_ a spell which is cast instantly, _grants 5 turns of negative status immunity_ to the Cleric and any nearby allies, and grants them _30 shielding,_ at the cost of 2 charges. diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/BlessSpell.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/BlessSpell.java index 1bb35e55e..ca0237189 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/BlessSpell.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/BlessSpell.java @@ -70,7 +70,7 @@ public class BlessSpell extends TargetedClericSpell { new Flare(6, 32).color(0xFFFF00, true).show(ch.sprite, 2f); if (ch == hero){ - Buff.prolong(ch, Bless.class, 2f + 2*hero.pointsInTalent(Talent.BLESS)); + Buff.prolong(ch, Bless.class, 2f + 4*hero.pointsInTalent(Talent.BLESS)); Buff.affect(ch, Barrier.class).setShield(5 + 5*hero.pointsInTalent(Talent.BLESS)); ch.sprite.showStatusWithIcon( CharSprite.POSITIVE, Integer.toString(5 + 5*hero.pointsInTalent(Talent.BLESS)), FloatingText.SHIELDING ); hero.busy(); @@ -104,7 +104,7 @@ public class BlessSpell extends TargetedClericSpell { public String desc(){ int talentLvl = Dungeon.hero.pointsInTalent(Talent.BLESS); - return Messages.get(this, "desc", 2+2*talentLvl, 5+5*talentLvl, 2+4*talentLvl, 5+5*talentLvl) + "\n\n" + Messages.get(this, "charge_cost", (int)chargeUse(Dungeon.hero)); + return Messages.get(this, "desc", 2+4*talentLvl, 5+5*talentLvl, 5+5*talentLvl, 5+5*talentLvl) + "\n\n" + Messages.get(this, "charge_cost", (int)chargeUse(Dungeon.hero)); } } diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/Sunray.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/Sunray.java index f6d3da04f..29aa0f3f1 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/Sunray.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/Sunray.java @@ -53,7 +53,7 @@ public class Sunray extends TargetedClericSpell { @Override public String desc() { - int min = Dungeon.hero.pointsInTalent(Talent.SUNRAY) == 2 ? 3 : 2; + int min = Dungeon.hero.pointsInTalent(Talent.SUNRAY) == 2 ? 6 : 4; int max = Dungeon.hero.pointsInTalent(Talent.SUNRAY) == 2 ? 12 : 8; int dur = Dungeon.hero.pointsInTalent(Talent.SUNRAY) == 2 ? 6 : 4; return Messages.get(this, "desc", min, max, dur) + "\n\n" + Messages.get(this, "charge_cost", (int)chargeUse(Dungeon.hero)); @@ -91,9 +91,9 @@ public class Sunray extends TargetedClericSpell { } } else { if (hero.pointsInTalent(Talent.SUNRAY) == 2) { - ch.damage(Random.NormalIntRange(3, 12), Sunray.this); + ch.damage(Random.NormalIntRange(6, 12), Sunray.this); } else { - ch.damage(Random.NormalIntRange(2, 8), Sunray.this); + ch.damage(Random.NormalIntRange(4, 8), Sunray.this); } }