V0.2.0: Corrected some misc. item buff detach logic
This commit is contained in:
@@ -105,7 +105,7 @@ public class Artifact extends KindofMisc {
|
||||
hero.belongings.misc2 = null;
|
||||
}
|
||||
|
||||
hero.remove(passiveBuff);
|
||||
passiveBuff.detach();
|
||||
passiveBuff = null;
|
||||
|
||||
hero.spendAndNext( TIME_TO_EQUIP );
|
||||
|
||||
@@ -118,6 +118,7 @@ public class CapeOfThorns extends Artifact {
|
||||
public void detach(){
|
||||
timer = 0;
|
||||
charge = 0;
|
||||
super.detach();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user