v2.1.0: fixed protective shadows not triggering if invis while upgraded
This commit is contained in:
@@ -373,6 +373,10 @@ public enum Talent {
|
|||||||
if (hero.belongings.weapon() != null) hero.belongings.weapon().identify();
|
if (hero.belongings.weapon() != null) hero.belongings.weapon().identify();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (talent == PROTECTIVE_SHADOWS && hero.invisible > 0){
|
||||||
|
Buff.affect(hero, Talent.ProtectiveShadowsTracker.class);
|
||||||
|
}
|
||||||
|
|
||||||
if (talent == LIGHT_CLOAK && hero.heroClass == HeroClass.ROGUE){
|
if (talent == LIGHT_CLOAK && hero.heroClass == HeroClass.ROGUE){
|
||||||
for (Item item : Dungeon.hero.belongings.backpack){
|
for (Item item : Dungeon.hero.belongings.backpack){
|
||||||
if (item instanceof CloakOfShadows){
|
if (item instanceof CloakOfShadows){
|
||||||
|
|||||||
Reference in New Issue
Block a user