servuo/Scripts/Services/AccountVault
pyro17 bebc100d6c
Ranger Equipment fix, Additem delete (#5012)
* Ranger Equipment fix, Additem delete
- add parameter with default value to AddItem
- On Conflict, still log conflict, but delete the conflicting Item by default

- Delete the base boots of Rangers befor adding the new boots

* Updated Mobile Scripts

- went through all scripts to update them to SetWearable
- reverted change to AddItem

* Update to SetWearable

- last item being set will be worn (if no override to OnEquip returns false
- delete the item on the layer that is the same as the new item (if existend)
- used ifs to cap item.Movable, therefor no need to call to Random if <= 0 or >= 1

* Update base InitOutFit

- replaced the Additem for Backpack with SetWearable, Movable is getting set this way too
- altered the other SetWearable calls, to allow the items to be moved / dropped (as they should normally)

* Null reference sanity check.

Co-authored-by: Voxpire <admin@vita-nex.com>
2022-06-16 04:44:54 +01:00
..
AccountVault.cs Bug Fixes 2020-09-21 09:53:44 -04:00
AuctionVault.cs Cleanup (#4841) 2020-09-07 21:33:30 -07:00
Gumps.cs Cleanup (#4848) 2020-09-16 07:43:44 -07:00
SystemSettings.cs Cleanup (#4848) 2020-09-16 07:43:44 -07:00
VaultManager.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
VaultTimer.cs Bringing ServUO up to date. Next PR will be the Artisan festival. (#4835) 2020-08-29 08:59:23 -07:00
VaultToken.cs Cleanup (#4841) 2020-09-07 21:33:30 -07:00