Toxic2214

Initiate
ServUO Version
Publish Unknown
Ultima Expansion
Endless Journey
Hey

I have a really wierd issue which i am not sure how to overcome and cannot seem to make it possible to stop.

On our shard we have custom weapons (by this i mean buffed stats).

When players are fighting travesty and she transforms into them using mirrorimage and then dies she is dropping a duplicate of the weapon and her corpse can be seen holding it.

I cannot find a way to stop this from happening the script says all counts should be deleted. Anyone have any ideas?

Thank you :)
Attached is the Travesty Script :)
 

Attachments

  • Travesty.cs
    13.9 KB · Views: 5
On line 242, you have:
AddItem(Loot.Construct(item.GetType()));

You may need to replace that with:
AddItem(new ClonedItem(item));

It looks like your DeleteItems() function is only looking for ClonedItems to delete and I don't think your Loot.Construct(...) call is setting them as a ClonedItem. My Travesty code is a little different, but I'm on a weird 57.2/58 hybrid of ServUO :)
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back