v0.4.0: refactoring for enchant/glyph referencing
This commit is contained in:
committed by
Evan Debenham
parent
4c8bcade38
commit
912fd447d0
@@ -83,8 +83,7 @@ public class Burning extends Buff implements Hero.Doom {
|
||||
|
||||
Hero hero = (Hero)target;
|
||||
|
||||
if (hero.belongings.armor != null && hero.belongings.armor.glyph != null
|
||||
&& hero.belongings.armor.glyph instanceof Brimstone){
|
||||
if (hero.belongings.armor != null && hero.belongings.armor.hasGlyph(Brimstone.class)){
|
||||
|
||||
int heal = hero.belongings.armor.level()/2;
|
||||
if (heal > 0 && hero.HP < hero.HT) {
|
||||
|
||||
Reference in New Issue
Block a user