v2.0.0: fixed unencumbered spirit items not dropping with full invent
This commit is contained in:
@@ -390,8 +390,14 @@ public enum Talent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (talent == LIGHTLY_ARMED && hero.pointsInTalent(talent) == 3){
|
if (talent == LIGHTLY_ARMED && hero.pointsInTalent(talent) == 3){
|
||||||
new ClothArmor().identify().collect();
|
Item toGive = new ClothArmor().identify();
|
||||||
new Gloves().identify().collect();
|
if (!toGive.collect()){
|
||||||
|
Dungeon.level.drop(toGive, hero.pos).sprite.drop();
|
||||||
|
}
|
||||||
|
toGive = new Gloves().identify();
|
||||||
|
if (!toGive.collect()){
|
||||||
|
Dungeon.level.drop(toGive, hero.pos).sprite.drop();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user