Commit graph

19 commits

Author SHA1 Message Date
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
TrueUO
1c7f53a414
OCT17 (#4887)
* OCT17

Minor gump cleanup and XML cleanup.

* Improvements

- Skill Gain is no longer redundantly checked against the same values inside of XMLSpawner.
- AI_Animal (which was not used and just defaulted to AI_Melee) along with AI_Beserk, AI_Predator, and AI_Thief have been safely removed.
- ItemFlags.cs has been moved from XMLSpawner to MISC.
- Removed some misc double calls.

* Needed for recent AI fix.

* Item Fix
2020-10-21 10:15:47 -07:00
TrueUO
fb1802305f Bug Fixes
- Removed unneeded usings
- World chat log now has a Config option. Turned off by default now.
- Added two new timer priorities.
- Fixed a crash with box of ropes.
- Consolidation of the Pathing movements and algorithms.
- Correctly makes sure you are inside the house you are trying to place addons in.
2020-09-21 09:53:44 -04:00
TrueUO
b73897e554
Cleanup (#4848)
- Cleanup of various double calls and simplified code where possible.

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-09-16 07:43:44 -07:00
TrueUO
262c273723
Cleanup (#4846)
- No code changes in this branch. This is simply clean up.

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-09-15 08:15:23 -07:00
TrueUO
05f0d7cbfe
Bug Fixes (#4796)
- Bone Crusher should now work properly.
- Scrappers should now have a chance to add 3 properties at 120 magery
- Players can now heal Vollem's from the crystal (CuB bought) with bandages
- Fixed snow tree/trunk id's and z offset
- Dagger from Fabrizio quest should now deleted when quest is Complete
- Fixed exploit with auto-stabling pets. Basically, added a stable count check for auto stable
- Luck can now be inc/dec by 1 for imbuing (10 for loot)
- Cleanup of various unneeded variables or preaos checks.

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-06-22 08:57:10 -07:00
TrueUO
8427e1fc91 No more this.stuff 2020-04-16 18:41:32 -07:00
TrueUO
01f18a3eff A total convert of get return to => 2020-04-16 20:37:29 -04:00
TrueUO
1a40e06495 Removes unneeded ints from the entire project.
VS checked.

Tested and works fine.
2020-04-16 09:27:30 -04:00
TrueUO
528c0e0459 Made private fields readonly, where possible.
If a class has a field that's not marked readonly but is only set in the constructor, it could cause confusion about the field's intended use. To avoid confusion, such fields should be marked readonly to make their intended use explicit, and to prevent future maintainers from inadvertently changing their use.
2020-04-15 10:13:04 -04:00
TrueUO
34c6eb0a95
using. quest cleanup / regions / xmlspawner (#4726) 2020-04-14 12:32:03 -04:00
Dexter
69cbd8db36
Removed Era Checks from multiple files (#4635)
* Removed faction args from AcquireFocusMob in BaseAI

* Removed Pre-AOS properties from BaseArmor

* Cleanup BaseClothing and PlayerMobile (removed era checks)

* Removed old Opposition Group, replaced by Tribe. UPdated BaseCreature

* Spell Cleanup

* Cleanued up Loot.cs, Lootpack.cs

* Removed Era Checks from multiple files

* removed old tmap config
2020-03-28 22:48:55 +03:00
Dexter
f1f62492ef Bug Fixes
- Fixed objectives section in Journey to The Athenaeum Ilse Quest. Yes, this required more edits than I wanted to do. The problem is, the absolutely non-flexible Mondains Legacy Gump vs EA being stupidly unique on anything they do.
- Fixed Pet Special Ability Inferno
- Fixed Jasper Crash
- Fixed id's of certain jewels in vendor menu (nit picky mofo's)
2019-03-06 21:29:59 -07:00
Dexter
df62f0bd46 Bug Fixes
- Fixed Crash Fix with Town Crier Context Menu Entries
- Murders that get counted delay will not be moved to chaos shrine in felucca on login
- Carving with special blades now put all resources in players Pack
- Vorpal bunny should no longer be guard whacked
- Orc Brute no longer throws orcs while controlled/summoned
- Earrings of protection now show the propery hue when dyed
2018-07-10 21:47:50 -07:00
Dexter
bfd3b39d13 Bug Fixes
- Fixed Boura Tail Shield Drop, now drops on the corpse
- Humility Quest Mobiles no longer spawn in Trammel in Siege Ruleset
- Fixed Vendor Search Gump Crash
2018-05-31 16:39:52 -07:00
Argalep
8e1557a349 * question and answer fix. 2017-09-03 23:14:00 +03:00
Dexter
11776b8953 - replaced various DateTime.Now with DateTime.UtcNow
- Fixed Special Salvage Hook, per EA
- Crash Fix
2017-01-29 16:15:19 -07:00
Dexter
5624fe9bbf - Vice Vs. Virtue
- Factions Disabled by default in config.  At start up, all players in factions will be removed and monoliths/sigils/regions will be removed.
- Enabled MovementPath with IPoint3D, as opposed to Mobile. Gives it more flexibility in creating a movement path when an instance of a mobile isn't available/needed.
2016-12-10 13:59:34 -07:00
Dexter
119cef1b09 High Seas and bug fixes
- fixed label in PillarOfStrength
- DemonHuntersStandard now has Exorcism slayer
- Fixed Chicken Coop Crash
- Fixed instances where scale collar wasn't un-freezing on tame
- Scouring Toxin now wipes out plant hues
- Fixed Runic Tool Consolidation
- Maps can now be crafted in other facets
- Removed redundant DryReed class
- Added proper clilocs on reeds, pigments and plant clippings
- Basket weaving has been moved to Tinkering menu, per EA
- Added resource target to plant hue items crafting
- Fixed craft menu issues in Carpentry
- Fixed void pool spawn crash
- Damage Increase now counts as an imbuing Property
- Added buff icon for curse Weapon
- Strange buff is now removed properly
-
2016-08-12 20:54:29 -07:00