v2.4.0: adjusted item similarity, lets alchemy repeat work on trinkets
This commit is contained in:
@@ -354,7 +354,7 @@ public class Item implements Bundlable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isSimilar( Item item ) {
|
public boolean isSimilar( Item item ) {
|
||||||
return level == item.level && getClass() == item.getClass();
|
return getClass() == item.getClass();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void onDetach(){}
|
protected void onDetach(){}
|
||||||
|
|||||||
+4
@@ -156,6 +156,10 @@ abstract public class MissileWeapon extends Weapon {
|
|||||||
if (container instanceof MagicalHolster) holster = true;
|
if (container instanceof MagicalHolster) holster = true;
|
||||||
return super.collect(container);
|
return super.collect(container);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isSimilar( Item item ) {
|
||||||
|
return level() == item.level() && getClass() == item.getClass();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int throwPos(Hero user, int dst) {
|
public int throwPos(Hero user, int dst) {
|
||||||
|
|||||||
Reference in New Issue
Block a user