servuo/Scripts/Services/Dungeons/Shadowguard
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
..
Addons Fix SonarQube's "String.IsNullOrEmpty" should be used / Code Smell. (#4935) 2021-05-12 18:27:41 +01:00
Artifacts.cs Cleanup (#4848) 2020-09-16 07:43:44 -07:00
Bosses.cs Cleanup 2020-09-18 10:59:33 -04:00
Controller.cs Cleanup 2020-09-18 10:59:33 -04:00
Encounters.cs Bug Fixes 2020-07-20 16:14:45 +03:00
ExitEntry.cs Bug Fixes (#4802) 2020-06-27 08:41:11 -07:00
Items.cs Cleanup 2020-09-18 10:59:33 -04:00
Mobiles.cs Ranger Equipment fix, Additem delete (#5012) 2022-06-16 04:44:54 +01:00
Read Me.txt Bug Fixes (#4782) 2020-05-16 15:31:52 -07:00
ShadowguardEncounter.cs Fixes (#4827) 2020-08-18 09:08:48 -07:00
ShadowguardInstance.cs Cleanup (#4846) 2020-09-15 08:15:23 -07:00