v2.5.0: fixed inventory stones not counting in catalogs in some cases
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ public class StoneOfAugmentation extends InventoryStone {
|
|||||||
useAnimation();
|
useAnimation();
|
||||||
ScrollOfUpgrade.upgrade(curUser);
|
ScrollOfUpgrade.upgrade(curUser);
|
||||||
curItem.detach( curUser.belongings.backpack );
|
curItem.detach( curUser.belongings.backpack );
|
||||||
|
Catalog.countUse(getClass());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void apply( Armor armor, Armor.Augment augment ) {
|
public void apply( Armor armor, Armor.Augment augment ) {
|
||||||
|
|||||||
+1
-1
@@ -114,7 +114,7 @@ public class StoneOfIntuition extends InventoryStone {
|
|||||||
protected void onClick() {
|
protected void onClick() {
|
||||||
super.onClick();
|
super.onClick();
|
||||||
useAnimation();
|
useAnimation();
|
||||||
Catalog.countUse(getClass());
|
Catalog.countUse(StoneOfIntuition.class);
|
||||||
if (item.getClass() == curGuess){
|
if (item.getClass() == curGuess){
|
||||||
if (item instanceof Ring){
|
if (item instanceof Ring){
|
||||||
((Ring) item).setKnown();
|
((Ring) item).setKnown();
|
||||||
|
|||||||
Reference in New Issue
Block a user