v3.2.2: fixed on-equip talents not triggering at all with obliv shard
This commit is contained in:
@@ -841,8 +841,18 @@ public enum Talent {
|
||||
identify = true;
|
||||
}
|
||||
|
||||
if (identify && !ShardOfOblivion.passiveIDDisabled()){
|
||||
item.identify();
|
||||
if (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