in character.cs search for public void Die()
and replace :
Credits : alexbigfoot ( ********)
and replace :
Code:
public void Die()
{
try
{
DeathSent = true;
World.UpdateSpawn(this);
int EModel;
if (Model == 1003 || Model == 1004)
EModel = 15099;
else
EModel = 15199;
XpList = false;
SMOn = false;
CycloneOn = false;
XpCircle = 0;
MyClient.SendPacket(General.MyPackets.Vital(UID, 26, GetStat()));
MyClient.SendPacket(General.MyPackets.Status1(UID, EModel));
MyClient.SendPacket(General.MyPackets.Death(this));
if (PKPoints >= 30)
{
if (Other.ChanceSuccess(30))
{
Random lol = new Random();
int x = lol.Next(0, 9);
if (Equips[x] == null)
return;
uint TheItemUID = Equips_UIDs[x];
UnEquip((byte)x);
int Count = 0;
foreach (uint uid in Inventory_UIDs)
{
if (uid == TheItemUID)
{
string Item = Inventory[Count];
DroppedItem e = DroppedItems.DropItem(Item, (uint)(LocX - General.Rand.Next(2) + General.Rand.Next(2)), (uint)(LocY - General.Rand.Next(2) + General.Rand.Next(2)), (uint)LocMap, 0);
World.ItemDrops(e);
RemoveItem(TheItemUID);
}
Count++;
}
}
}
}
catch (Exception Exc) { General.WriteLine(Convert.ToString(Exc)); }
}
Credits : alexbigfoot ( ********)