mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
[Combat] Disarm was not dropping item to ground due to bug (#3811)
This commit is contained in:
parent
a7e9af2d27
commit
0b181d5048
@ -1997,7 +1997,7 @@ void NPC::Disarm(Client* client, int chance) {
|
||||
if (zone->random.Int(0, 1000) <= chance) {
|
||||
weapon = database.GetItem(equipment[eslot]);
|
||||
if (weapon) {
|
||||
if (!weapon->Magic && weapon->NoDrop == 255) {
|
||||
if (!weapon->Magic && weapon->NoDrop != 0) {
|
||||
int16 charges = -1;
|
||||
ItemList::iterator cur, end;
|
||||
cur = itemlist.begin();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user