v0.4.0: refactoring for enchant/glyph referencing
This commit is contained in:
committed by
Evan Debenham
parent
4c8bcade38
commit
912fd447d0
@@ -96,8 +96,7 @@ public class HighGrass {
|
||||
}
|
||||
|
||||
//Camouflage
|
||||
if (hero.belongings.armor != null && hero.belongings.armor.glyph != null
|
||||
&& hero.belongings.armor.glyph instanceof Camouflage){
|
||||
if (hero.belongings.armor != null && hero.belongings.armor.hasGlyph(Camouflage.class)){
|
||||
Buff.affect(hero, Camouflage.Camo.class).set(3 + hero.belongings.armor.level());
|
||||
leaves += 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user