Commit Graph
1734 Commits
Author SHA1 Message Date
xinef1 f431459063 Core/Creatures: Various fixes for creatures, regarding combat conditions, despawning, and few others (#18998)
* Made some changes to kiting mechanics, simplified code and made taunt auras prolong combat no matter the distance from the spawn
Unified some creature despawning code, removed some brutal direct calls in scripts
Don't play death anim on forced despawn
Removed some redundant visibility changes on creature despawn
Fixed possible problem with pet initializing template info from difficulty greater than normal
Properly keep UNIT_FLAG_IN_COMBAT on UpdateEntry call
Moved RegenerateMana function to general Regenerate(Power) function
Fixed increased health regeneration from polymorph for pets
Implemented CREATURE_TYPE_FLAG_GHOST_VISIBLE, those creatures will be properly seen when player is dead also
Removed hackfix from Gaeriyan and Franclorn Forgewright, fixed properly
Simplified ForcedRespawnTime code in ForcedDespawn
Do not allow to assist unit while evading or when enemy is evading
Do not allow to attack other units when evading or when the unit is evading
Corrected distance checking code before creature is allowed to evade, should fix some common problems
Properly return summon position for summoned creatures as their respawn position
Properly stop all moving units on gossip hello, no matter their npc flags

(cherry picked from commit e1f14215d86fc9f0cd041f0e87bf0a689c086329)
2022-02-16 04:49:24 +01:00
Ovahlord f1acf8d5e8 Scripts/Gilneas: applied modern scripting standards on chapter 1 scripts 2022-02-02 16:24:42 +01:00
xinef1 9da4acce08 Core/Spells: Remade trajectory target selection (#19048)
* Remade trajectory target selection
* Added possibility to apply conditions to trajectory spells
* Properly recalculate delay time if CMSG_UPDATE_PROJECTILE_POSITION is received

(cherry picked from commit c6060dd0c511ddad3cb1f0423aa9ccf2de7aedec)
2022-01-22 22:29:20 +01:00
acidmanifesto 803bd2c79b Scripts/Eastern Kingdoms: merged zone_goldshire into zone_elwynn_forest to follow standards 2022-01-18 17:10:57 +01:00
Ovahlord e7f13602b6 Scripts/BWD: Magmaw's Blazing Bone Construct will now move with a run speed of 10 to match sniff data 2022-01-17 23:41:11 +01:00
Ovahlord 5a54280179 Scripts/BoT: corrected Cho'Gall's initial timer for Fury of Cho'Gall 2022-01-17 22:44:56 +01:00
Ovahlord b242ca48ed Scripts/BH: fixed a crash in Occu'thar's target selection script for Focused Fire 2022-01-14 18:46:43 +01:00
Ovahlord cd365a880d warning fix 2022-01-10 01:57:27 +01:00
Ovahlord c95b81063c Scripts/BWD: beffd30076 followup 2022-01-10 01:50:51 +01:00
Ovahlord beffd30076 Scripts/BWD: moved Atramede's Reverberating Flame movement behavior to a own AI script and pick a new follow target when his current target dies 2022-01-09 22:29:13 +01:00
Ovahlord d5db24c3d8 Scripts/Tol Barad: fixed quest 'Magnets, how do they work?'
* fixed some visuals at the alliance baradin base camp
2022-01-01 23:11:54 +01:00
Ovahlord 39da927196 Scripts/Misc: resolved cherrypick issues and regressions 2021-12-31 15:53:53 +01:00
Shauren 0ef0498d13 Core/Spells: Rename TARGET_UNIT_CONE_ENEMY_104 to TARGET_UNIT_CONE_CASTER_TO_DEST_ENEMY 2021-12-30 19:46:50 +01:00
jackpoz 48130896d8 Scripts/BlackrockSpire: Fix infinite loop in Gyth fight
Fix infinite loop in Gyth fight and double event caused by Rend Blackhand being respawned.
Please note this event is completely bugged and unfinished and contains for sure more bugs.
2021-12-28 23:36:16 +01:00
Ovahlord edbbeba5a2 Core/Movement: ported client control logic updates from 335 branch 2021-11-06 23:41:34 +01:00
Ovahlord 53435263e1 fixed build 2021-09-22 21:38:50 +02:00
Ovahlord 4b3302422f Scripts/Westfall: fixed a possible crash when the westfall stew has been spawned via db (dirty db data) 2021-09-22 20:54:54 +02:00
Ovahlord 949f92e0a1 Core/AI: ported charm updates from 335 2021-09-16 16:48:07 +02:00
Ovahlord 346ffe6e91 Scripts/Stratholme: updated Balnazzar's encounter to Cataclysm and corrected the visual appearance of the risen crusaders 2021-09-13 13:29:43 +02:00
Ovahlord c2be4c4a86 Misc: fixed issues discovered by static analysis
closes #290
2021-09-10 09:56:49 +02:00
Ovahlord 8ac7e71690 Core/Spells: implement summon properties parameter types based on the leaked enumerated strings values
Summon spells can now be commanded to interpret their basepoints depending on the parameter type that has been assigned to the summon properties dbc record Id

* implemented SummonCreatureExtraArgs to reduce the amount of arguments in Map::SummonCreature
2021-08-15 10:35:02 +02:00
Ovahlord 3e56f75d7c fixed build and a typo in recent sql file 2021-08-02 13:13:50 +02:00
Ovahlord f9fafbab7d Scripts/Deadmines: move entrance faction spawns to instance_spawn_groups and handle them via faction flags instead 2021-07-31 21:42:32 +02:00
funjoker 3480301040 Remove unused variable 2021-07-11 00:25:23 +02:00
funjoker 9abea087e5 Scripts/DB/Westfall: Fixed questline up to "Secrets of the Tower"
- fixed some incorrect rotations from signs
- added missing page text 3633
- added 2 missing spawns
- fixed some scripted events required for quests
2021-07-11 00:19:50 +02:00
funjoker 74f451941c Script/Westfall: Add missing breaks 2021-07-08 22:51:51 +02:00
funjoker 585a6e89a2 Scripts/Westfall: Start fixing Sentinel Hill 2021-07-08 22:42:08 +02:00
funjoker c439dd464b Scripts/Westfall: Fix Sentinel Hill Guards not attacking 2021-07-08 12:14:20 +02:00
Ovahlord c926327077 Scripts/BWD: removed some unneeded checks in Omnotron's Lord Victor Nefarius script 2021-07-06 18:27:59 +02:00
funjoker af1bb0e227 Fix nopch build 2 2021-06-27 21:02:25 +02:00
funjoker 247257c24d Fix nopch build 2021-06-27 20:58:16 +02:00
funjoker 8cd93a9b01 Fix build after ca25299abf 2021-06-27 20:47:17 +02:00
funjoker ca25299abf Scripts/Westfall: Fix Westfall questline till quest 26236
Additional: Fix Transient to Sentinel Hill walk
2021-06-27 16:54:46 +02:00
Ovahlord 8270c6782f Scripts/SFK: removed an unused enum value from Baron Ashbury's spells 2021-06-14 11:38:19 +02:00
Ovahlord edb4df4ffc Scripts/SFK: converted achievements to world state handling 2021-06-14 11:11:10 +02:00
Ovahlord c80c23e5c2 fixed nopch build 2021-06-14 11:10:49 +02:00
Ovahlord f5b9989601 Scripts/BRC: converted Ascendant Lord Obsidius' achievement to world state handling 2021-06-13 23:38:43 +02:00
Ovahlord 1e9fd012e8 Scripts/BoT: converted achievements to world state handling 2021-06-13 22:57:24 +02:00
Ovahlord b0df1fdca3 Scripts/BWD: converted remaining achievements to world state based handling 2021-06-13 17:10:56 +02:00
Ovahlord 5fd77a3b28 Core/World: implement database support for default map and realm wide world states 2021-06-13 16:07:38 +02:00
Ovahlord a20ce4309b Scripts/BWD: converted Achieve-a-tron achievement to world state based handling 2021-06-13 11:40:46 +02:00
Ovahlord be239e4458 Core/Maps: implement map based world states and implemented support for required world states in achievement criterias
*converted Erduax' conditional achievement to world state based handling as example
2021-06-13 10:48:41 +02:00
jackpoz ea85a0031c Scripts/UBRS: Fix crash
Fix crash triggered during Dragonspire Hall event caused by having more than 5 mobs near a rune.
Crash added in 7c19fb8d0e
Fix #26589
2021-06-12 18:12:13 +02:00
Ovahlord ad495c5479 Scripts/BoT: use NullCreatureAI class for Ascendant Council Plume Stalker 2021-05-15 21:26:51 +02:00
Ovahlord 37b481cb6e Scripts/SFK: fixed a typo that was causing Wolf Master Nandos being summoned instead of Razorclaw 2021-05-01 12:31:23 +02:00
Ovahlord ba01651fff Scripts/SFK: reworked Baron Silverlaine encounter 2021-05-01 12:19:50 +02:00
Ovahlord 152a8fe739 fixed nopch build 2021-04-27 19:55:19 +02:00
Ovahlord 56b1687714 Scripts/BRC: several improvements to Raz' script
* moved several mechanics to spell script and added safechecks to Raz' escort script to reduce the chance of getting stuck midway
2021-04-27 19:43:28 +02:00
Ovahlord 3da9d31690 Scripts/BoT: added repeat timer for Evolved Drakonaar's Blade Tempest 2021-04-27 10:03:40 +02:00
Ovahlord bb2e5b8e1e Scripts/BoT: scripted the mechanics of the bound elementals in the Sanctum of the Ascended 2021-04-26 13:35:22 +02:00