v3.2.2: fixed on-equip talents not triggering at all with obliv shard
This commit is contained in:
+12
-2
@@ -841,8 +841,18 @@ public enum Talent {
|
|||||||
identify = true;
|
identify = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (identify && !ShardOfOblivion.passiveIDDisabled()){
|
if (identify) {
|
||||||
item.identify();
|
if (ShardOfOblivion.passiveIDDisabled()) {
|
||||||
|
if (item instanceof Weapon){
|
||||||
|
((Weapon) item).setIDReady();
|
||||||
|
} else if (item instanceof Armor){
|
||||||
|
((Armor) item).setIDReady();
|
||||||
|
} else if (item instanceof Ring){
|
||||||
|
((Ring) item).setIDReady();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
item.identify();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user