From ff80adeb3097f16791cb3eed5329b5cfac56e243 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 19 May 2021 15:37:07 -0400 Subject: [PATCH] v0.9.3: added visible buffs for talent cooldowns --- core/src/main/assets/interfaces/buffs.png | Bin 1302 -> 1285 bytes .../main/assets/interfaces/large_buffs.png | Bin 2669 -> 2665 bytes .../assets/messages/actors/actors.properties | 6 ++ .../actors/buffs/Slow.java | 8 ++- .../actors/hero/Talent.java | 27 ++++++- .../plants/Swiftthistle.java | 8 ++- .../ui/BuffIndicator.java | 66 +++++++++--------- 7 files changed, 77 insertions(+), 38 deletions(-) diff --git a/core/src/main/assets/interfaces/buffs.png b/core/src/main/assets/interfaces/buffs.png index e651df8ac52c6d45ce7c1717b6ea4e070c881bb0..5d724ae27f0b2390175cac8e4767789d6e6e3eb2 100644 GIT binary patch delta 1054 zcmV+(1mXLZ3WW-gBpvfmOjJdlyn0Ey; zD|msWB?#1Nb@mTY5NI?S6lgY^UZ6D;Xj7m=fo`wY>m~x|pDLxwrF0s9=@Y1CAz;Mi zESJLy=FxdR$opH~p&6DQAD7i@_;9FEfmW;K1^R6WbbO&duSB4n@)!G4AX}}%f54f_ zEQb{=kRb1G6tIF9Fhc@0w6DcmFo3{-ThPQpe*l4Yzs)V^bPxfae+H{yzLEqeQ27-2 zn+b$JNWfvSzu`meO}+>KD1k(v-R>iW@d+d|@DBn=5(o_nKb`?2NT6%Q;^Ma1~^l{e{l+AKmlLLDQNxt6qr~Mt71*8iw!X)HpP}Ovu&&$ zu`Bk(z6gW^cHm4T0`(fHqxm5Pj>ziT@yXiBF$AJ0g21;Z`UZg`Uz-zz0;gW!Z2JrX z=Quy-vA_kPz$FE)uCK4Jf&*iFCm;X|3HT}cDsV#9)}tGD6RmGV8@#4ge_0Ulh5n~7 zu(N}MgEQO7?7(2>_Kw`{fs4JNz}5Br{r&Y7dK(2E9t@wcK%BrK84-Xi1U4R#Kq8<7 zPRZ8x_5o`9Q{ZlQmzVlO;P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|60hJ(Q3AH{26o8LltphrPY3#sIEIJUt3>1NY1m1rOB=GTDkRlM6wQJZi zFtu8($_Wz;Ov40oVD=5nzUdo8#Mc!lkR%BOvetwXbv}sd6e!k65`@0-O5lMH#0Lp~ z8(;_))K)Av9iI z39kj1r=Ir`z~k&u3FwCeo}T|u!1lg}8w5BgFk#^*twO1!Ppw)k(qNGQWDqpz(D)`A zAs68Q97}=O?C)%b`LDd+=lXpF-#x{6xH*AjEddIU8YJ%c7cEGzngHAZz4BrLegWtC zvpYb6H;y3DCRaP)1pJ?)+tvXm;8TwsunrTlfCBJVHkXiN?G{w4>;Qx_zz1$YZUf8- r*eLLCf&&aj9Wd&EQ3s4VVAKHsXG&?$XOZ9{00000NkvXXu0mjfos{6L diff --git a/core/src/main/assets/interfaces/large_buffs.png b/core/src/main/assets/interfaces/large_buffs.png index 888ddb34c4fb5d122ba8f2496d8b1043ea04cb6c..3aead20624c02db656a05a7f94b615f319d146b6 100644 GIT binary patch delta 2416 zcmXArdpOkj0>;0;-&~9_7z}1mMq;tlbd#KoVQOO|vo75fQ=;01IQ)-021rF%MY+8hr$5RTFGwg zSX9oF$gnxdNB0QdQ4y1rf#yPc5vdxzv}{`RvEQno6;I0vt%tlTo>@zM!H(VjgI!z$R5 ziW6YEJ6nRcPk&jM9Mm3xC>^v!k;sQHry7C+!MD|-)xVO5KE>S&@2}ZNzQ6Q!-vPRr>*K3W<&Ch_qx z;w5T24G0_H0s|3MJ)Gyv>eFk^64>wcGL^>V!B>!ZB*+pwgBPd*0l&;{i%nuzme8QK z5K#P;mUROGl@I=r6kPmm4+FYlS)l%3FL!9C@JYq4rqG|6RPaZBieRuXPZzA3^6Xi!D>KYFh;7c=8@-I$qg6N0XPRH{$-( znAU?xc?i6u4XeNHdNYmoA&T@_8ogr;7bo~KxTri?F>DVL9oX0L;@$+2_Wax;Dy<=0 zt_OAF7B=y(B^*DvP-w)u=mtW}YdC(`eny627+l(l)O|3@!-%KJ!q@^BkIw8tX;Z%< z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/actors/actors.properties index 5207fa3fe..1f90489c4 100644 --- a/core/src/main/assets/messages/actors/actors.properties +++ b/core/src/main/assets/messages/actors/actors.properties @@ -445,6 +445,12 @@ actors.hero.herosubclass.warden_short_desc=The _Warden_ can see through tall gra actors.hero.herosubclass.warden_desc=The Warden has a strong connection to nature which grants her a variety of bonus effects relating to grass and plants. She is able to see through tall and furrowed grass as if it were empty space.\n\nThe warden causes grass to sprout up around any seed she throws or plants, and gains special effects when trampling plants. These special effects replace the regular plant effects, meaning that no plant is harmful for her to step on. ##talents +actors.hero.talent$improvisedprojectilecooldown.name=improvised projectiles cooldown +actors.hero.talent$improvisedprojectilecooldown.desc=You have recently used this talent, and must wait before using it again.\n\nTurns left: %s. +actors.hero.talent$rejuvenatingstepscooldown.name=rejuvenating steps cooldown +actors.hero.talent$rejuvenatingstepscooldown.desc=You have recently used this talent, and must wait before using it again.\n\nTurns left: %s. +actors.hero.talent$seershotcooldown.name=seer shot cooldown +actors.hero.talent$seershotcooldown.desc=You have recently used this talent, and must wait before using it again.\n\nTurns left: %s. #warrior actors.hero.talent.hearty_meal.title=hearty meal diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Slow.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Slow.java index a22594e27..a5c80c07c 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Slow.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Slow.java @@ -23,6 +23,7 @@ package com.shatteredpixel.shatteredpixeldungeon.actors.buffs; import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator; +import com.watabou.noosa.Image; public class Slow extends FlavourBuff { @@ -35,7 +36,12 @@ public class Slow extends FlavourBuff { @Override public int icon() { - return BuffIndicator.SLOW; + return BuffIndicator.TIME; + } + + @Override + public void tintIcon(Image icon) { + icon.hardlight(1f, 0.33f, 0.2f); } @Override diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java index b1085514d..439142f7f 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java @@ -32,6 +32,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.EnhancedRings; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.FlavourBuff; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Haste; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Recharging; +import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.RevealedArea; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Roots; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.WandEmpower; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.abilities.ArmorAbility; @@ -56,6 +57,8 @@ import com.shatteredpixel.shatteredpixeldungeon.levels.Level; import com.shatteredpixel.shatteredpixeldungeon.levels.Terrain; import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene; +import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator; +import com.watabou.noosa.Image; import com.watabou.noosa.audio.Sample; import com.watabou.noosa.particles.Emitter; import com.watabou.utils.Bundle; @@ -141,14 +144,32 @@ public enum Talent { //Ratmogrify T4 RATSISTANCE(125, 4), RATLOMACY(126, 4), RATFORCEMENTS(127, 4); - public static class ImprovisedProjectileCooldown extends FlavourBuff{}; + public static class ImprovisedProjectileCooldown extends FlavourBuff{ + public int icon() { return BuffIndicator.TIME; } + public void tintIcon(Image icon) { icon.hardlight(0.15f, 0.2f, 0.5f); } + public float iconFadePercent() { return Math.max(0, visualcooldown() / 50); } + public String toString() { return Messages.get(this, "name"); } + public String desc() { return Messages.get(this, "desc", dispTurns(visualcooldown())); } + }; public static class LethalMomentumTracker extends FlavourBuff{}; public static class WandPreservationCounter extends CounterBuff{}; public static class EmpoweredStrikeTracker extends FlavourBuff{}; public static class BountyHunterTracker extends FlavourBuff{}; - public static class RejuvenatingStepsCooldown extends FlavourBuff{}; + public static class RejuvenatingStepsCooldown extends FlavourBuff{ + public int icon() { return BuffIndicator.TIME; } + public void tintIcon(Image icon) { icon.hardlight(0f, 0.35f, 0.15f); } + public float iconFadePercent() { return Math.max(0, visualcooldown() / (15 - 5*Dungeon.hero.pointsInTalent(REJUVENATING_STEPS))); } + public String toString() { return Messages.get(this, "name"); } + public String desc() { return Messages.get(this, "desc", dispTurns(visualcooldown())); } + }; public static class RejuvenatingStepsFurrow extends CounterBuff{}; - public static class SeerShotCooldown extends FlavourBuff{}; + public static class SeerShotCooldown extends FlavourBuff{ + public int icon() { return target.buff(RevealedArea.class) != null ? BuffIndicator.NONE : BuffIndicator.TIME; } + public void tintIcon(Image icon) { icon.hardlight(0.7f, 0.4f, 0.7f); } + public float iconFadePercent() { return Math.max(0, visualcooldown() / 20); } + public String toString() { return Messages.get(this, "name"); } + public String desc() { return Messages.get(this, "desc", dispTurns(visualcooldown())); } + }; public static class SpiritBladesTracker extends FlavourBuff{}; int icon; diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Swiftthistle.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Swiftthistle.java index f8f62b9bf..1fcca1e7f 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Swiftthistle.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Swiftthistle.java @@ -31,6 +31,7 @@ import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.sprites.CharSprite; import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet; import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator; +import com.watabou.noosa.Image; import com.watabou.noosa.particles.Emitter; import com.watabou.utils.Bundle; @@ -75,7 +76,12 @@ public class Swiftthistle extends Plant { @Override public int icon() { - return BuffIndicator.SLOW; + return BuffIndicator.TIME; + } + + @Override + public void tintIcon(Image icon) { + icon.hardlight(1f, 1f, 0); } @Override diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java index 6114688f1..15594c234 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java @@ -41,50 +41,50 @@ import java.util.LinkedHashMap; public class BuffIndicator extends Component { //transparent icon - public static final int NONE = 63; + public static final int NONE = 63; //FIXME this is becoming a mess, should do a big cleaning pass on all of these //and think about tinting options - public static final int MIND_VISION = 0; - public static final int LEVITATION = 1; - public static final int FIRE = 2; - public static final int POISON = 3; - public static final int PARALYSIS = 4; - public static final int HUNGER = 5; - public static final int STARVATION = 6; - public static final int SLOW = 7; - public static final int OOZE = 8; - public static final int AMOK = 9; - public static final int TERROR = 10; - public static final int ROOTS = 11; - public static final int INVISIBLE = 12; - public static final int SHADOWS = 13; - public static final int WEAKNESS = 14; - public static final int FROST = 15; - public static final int BLINDNESS = 16; - public static final int COMBO = 17; - public static final int FURY = 18; + public static final int MIND_VISION = 0; + public static final int LEVITATION = 1; + public static final int FIRE = 2; + public static final int POISON = 3; + public static final int PARALYSIS = 4; + public static final int HUNGER = 5; + public static final int STARVATION = 6; + public static final int TIME = 7; + public static final int OOZE = 8; + public static final int AMOK = 9; + public static final int TERROR = 10; + public static final int ROOTS = 11; + public static final int INVISIBLE = 12; + public static final int SHADOWS = 13; + public static final int WEAKNESS = 14; + public static final int FROST = 15; + public static final int BLINDNESS = 16; + public static final int COMBO = 17; + public static final int FURY = 18; public static final int HERB_HEALING= 19; - public static final int ARMOR = 20; - public static final int HEART = 21; - public static final int LIGHT = 22; - public static final int CRIPPLE = 23; - public static final int BARKSKIN = 24; - public static final int IMMUNITY = 25; - public static final int BLEEDING = 26; - public static final int MARK = 27; - public static final int DEFERRED = 28; + public static final int ARMOR = 20; + public static final int HEART = 21; + public static final int LIGHT = 22; + public static final int CRIPPLE = 23; + public static final int BARKSKIN = 24; + public static final int IMMUNITY = 25; + public static final int BLEEDING = 26; + public static final int MARK = 27; + public static final int DEFERRED = 28; public static final int DROWSY = 29; public static final int MAGIC_SLEEP = 30; public static final int THORNS = 31; public static final int FORESIGHT = 32; public static final int VERTIGO = 33; - public static final int RECHARGING = 34; + public static final int RECHARGING = 34; public static final int LOCKED_FLOOR= 35; public static final int CORRUPT = 36; public static final int BLESS = 37; - public static final int RAGE = 38; - public static final int SACRIFICE = 39; + public static final int RAGE = 38; + public static final int SACRIFICE = 39; public static final int BERSERK = 40; public static final int HASTE = 41; public static final int PREPARATION = 42; @@ -98,7 +98,7 @@ public class BuffIndicator extends Component { public static final int UPGRADE = 50; public static final int MOMENTUM = 51; - public static final int SIZE = 7; + public static final int SIZE = 7; private static BuffIndicator heroInstance;