Implemented rule-based disenchanted bag use

This commit is contained in:
Uleat
2015-06-07 22:07:40 -04:00
parent 4a036bede2
commit c2e4365214
7 changed files with 193 additions and 2 deletions
+5 -1
View File
@@ -838,7 +838,11 @@ void Client::BulkSendInventoryItems() {
}
bool deletenorent = database.NoRentExpired(GetName());
if(deletenorent){ RemoveNoRent(false); } //client was offline for more than 30 minutes, delete no rent items
if (deletenorent) { //client was offline for more than 30 minutes, delete no rent items
if (RuleB(Inventory, TransformSummonedBags))
DisenchantSummonedBags(false);
RemoveNoRent(false);
}
RemoveDuplicateLore(false);
MoveSlotNotAllowed(false);