mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
[Rule] Add a Bandolier Swap Delay Rule (#4465)
* [Rule] Add a Bandolier Swap Delay Rule * Push * Update exp.cpp
This commit is contained in:
+6
-1
@@ -3431,6 +3431,11 @@ void Client::SetBandolier(const EQApplicationPacket *app)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (RuleI(Character, BandolierSwapDelay) > 0) {
|
||||
bandolier_throttle_timer.Start(RuleI(Character, BandolierSwapDelay));
|
||||
}
|
||||
|
||||
// finally, recalculate any stat bonuses from the item change
|
||||
CalcBonuses();
|
||||
}
|
||||
@@ -4913,4 +4918,4 @@ bool Client::FindNumberOfFreeInventorySlotsWithSizeCheck(std::vector<BuyerLineTr
|
||||
}
|
||||
}
|
||||
return false;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user