Commit Graph

6376 Commits

Author SHA1 Message Date
Ovahlord
bc0e48220e Core/Spells: converted Frenzied Regeneration into spellscript and fixed Glyph of Frenzied Regeneration 2019-09-07 00:29:00 +02:00
Ovahlord
f1b6c4e697 Scripts/GB: improved several spell scripts accross Forgemaster Throngus' script and added some safeguarding for AI based action calls 2019-09-07 00:08:39 +02:00
Ovahlord
3894ba17b8 Core/Spells: Ancestral Healing's health bonus proc effect will now proc on every heal instead of only on critial heals 2019-09-05 18:34:58 +02:00
Ovahlord
cd25d7c884 Scripts/HoO:
* updated Temple Guardian Anhuur's script to new model
* fixed achievement 'I hate that Song'
* corrected Beacon of Light handling to blizzlike standards
* Cave In Stalker will now get despawned alongside Beacons of Light
* scripted trash packs prior to Temple Guardian Anhuur
Todo:
* add encounter related creatures to instance spawn groups
2019-09-02 03:50:58 +02:00
Ovahlord
c3518933ba Core/Spells: Chill of the Grave will now grant Runic Power in all cases and will now again grant Runic Power for each target hit by Howling Blast 2019-08-30 13:09:08 +02:00
Ovahlord
94e21bab21 Core/Spells: reworked handling for Death Knight's improved presence talents.
*todo: validate if improved presences are suposed to activate after learning or on next presence switching
2019-08-25 13:33:53 +02:00
Ovahlord
e63f663f3b Core/Spells: fixed a crash in Stampede aurascript and added missing proc data to it. 2019-08-25 00:26:08 +02:00
Ovahlord
1ee046721b Core/Spells: fixed several conditional procs of 4.0.3a content trinkets 2019-08-19 20:57:54 +02:00
Ovahlord
1b0e6ca130 Core/Spells: fixed a potential crash in Will of the Necropolis aurascript 2019-08-18 21:13:37 +02:00
Treeston
90540d684b Core/Misc: Various dynspawn cleanup and refactors split off from pooling rewrite:
- Map::RemoveRespawnTime(SpawnObjectType, LowType, doRespawn) split into Map::Respawn and Map::RemoveRespawnTime, without the extra boolean
- Map::RemoveRespawnTime(RespawnInfo*) merged into Map::DeleteRespawnInfo(RespawnInfo*) and is now private
- Map::DeleteRespawnInfo(void) renamed to Map::UnloadAllRespawnInfos to properly describe what it does
- Map::ProcessRespawns now actually saves the delayed respawn time to DB if the respawn was delayed
- Map::AddRespawnInfo now takes const reference, and returns success as a boolean
- Map::AddRespawnInfo no longer offers an unused "replace" parameter
- Map::DeleteRespawnInfo no longer offers a variety of unused private overloads
- Map::SaveRespawnTime no longer offers a tantalizing writeDB parameter. Parameter is now called "startup" to properly describe what it does.
- Map::SaveRespawnInfoDB now takes RespawnInfo reference instead of all the various fields. Still public because compatibility mode. QQ.
- Map::GetWorldObjectBySpawnId sanitized
- Map::GetXRespawnTime methods sanitized to all go through Map::GetRespawnTime

----------

Core/DB: Unify `creature_respawn` and `gameobject_respawn` into a single `respawn` table
2019-08-18 12:47:10 +02:00
Treeston
f9184f026b Entities/Unit: Nuke Map::ForceRespawn from orbit, with the following implications:
- .npc respawn no longer causes stupid things to happen (Fixes #23014)
- ::DeleteFromDB methods on Creature and GameObject rewritten to be as sensible as such a colossally stupid method can ever be. They're static now.
- .npc delete and .gobj delete ported to new argument handling, and rewritten as per above. They can no longer crash the server when used in instances, too. Yay for that.
- Adjusted various dusty cobwebbed hacks around the core (why does waypoint visualization use permanent spawns *shudder*) to still work too.
2019-08-18 12:12:09 +02:00
Shauren
0b8ab68eb3 Core/Map: Kill zoneId from RespawnInfo, all it did was significantly slow down startup to make one gm command faster 2019-08-18 11:51:09 +02:00
Ovahlord
e8e5e05b0a Scripts/VP: fixed build 2019-08-18 00:27:49 +02:00
Ovahlord
616ae7f809 Scripts/VP: fixed tabbing from recent codestyle cleanup 2019-08-17 20:46:27 +02:00
Ovahlord
cfc1c81ec1 Core/Spells: updated Scourge Strike to Cataclysm 2019-08-16 21:58:02 +02:00
Ovahlord
3ee81cf90b Core/Spells: removed debug messages from last commit 2019-08-16 01:41:07 +02:00
Ovahlord
bd7094b8cc Core/Spells: corrected formular for Frostfever and Blood Plague 2019-08-16 01:32:52 +02:00
Ovahlord
fdd896ecd5 Core/Spells: Shadow Infusion will no longer proc when the Ghoul is already transformed
* the Dark Transformation dummy aura will now always be cast when the spell procs to indicate that the ghoul can be transformed
2019-08-16 00:55:10 +02:00
Ovahlord
d135e6eaf9 Scripts/VP: updated remaining scripts to new model, applied coding standards and removed some unneeded function calls 2019-08-15 18:39:40 +02:00
Ovahlord
161aa6f195 Scripts/VP: apply coding standards to Grandvizier Ertan's script 2019-08-15 17:26:07 +02:00
Ovahlord
5738c01ae5 Scripts/VP: use sniffed values for different height thresholds 2019-08-15 02:11:45 +02:00
Ovahlord
b29e1ff2bc Scripts/VP: corrected Catch Fall mechanic. Players will always get teleported back to the entrance 2019-08-15 01:37:34 +02:00
Ovahlord
3870caa185 Scripts/VP: implement fall catcher even when players fall into the void 2019-08-14 23:48:05 +02:00
Ovahlord
080bcbe120 Scripts/VP:
* reworked slipstream system. Use database spawned slipstreams to avoid grid unload issues and link them to dynamic spawn groups so we have full control over them now
* scripted shortcut cases for the remaining slipstreams
* spawn Zephyrs only if their grid is loaded
2019-08-14 20:15:34 +02:00
Ovahlord
8c9e8f798a Scripts/VP: added boundaries to bosses 2019-08-14 16:05:10 +02:00
Ovahlord
8bd81e030f Scripts/VP: updated Slipstream and Slipstream Landing Zone script to new model and removed some obsolete calls that have been covered by previous vehicle changes 2019-08-14 15:53:11 +02:00
Ovahlord
44d07e3303 * Scripts/World: Rewrite air force trigger bots script, add hostility check along the way.
(ported commit: 0ae2afe307)
2019-08-14 15:47:43 +02:00
Ovahlord
911eeb0b63 Core/Spells: updated Shadow Ward aurascript to new model and assigned it to correct spell id 2019-08-13 19:28:35 +02:00
Ovahlord
4df96f8126 Core/Scripts: removed an unintended change from last commit 2019-08-13 18:16:15 +02:00
Ovahlord
680d82db4e Core/Spells: added a missing breakpoint that was granting Death's Embrace more bonus values than it should get 2019-08-13 17:53:34 +02:00
Ovahlord
86e7ab8863 Scripts/VP: Young Storm Dragons will now be aggressive again at first before being attacked 2019-08-13 14:24:13 +02:00
Ovahlord
ae8add5ce9 Scripts/VP: reworked script for Young Storm Dragon and fixed Healing Well summon destinations 2019-08-13 11:25:10 +02:00
Ovahlord
b9c31bacb3 Scripts/VP:
* re-ordered header file
* improved Zephyr handling to despawn after a 18 seconds according to sniff data
* reworked and fixed the Howling Gale orbs
2019-08-12 23:08:34 +02:00
Ovahlord
1ec85e3212 Scripts/VP: reworked Grandvizier Ertan encounter
* optimized code
* updated code to new scripting model
* updated texts with broadcast text entries
* fixed some visual threat issues caused by Ertan's Vortex by hitting players with their damage spell
2019-08-12 21:00:53 +02:00
Ovahlord
134e15614e Scripts/VP: added Grand Vizier Ertan to creatureData 2019-08-12 18:25:30 +02:00
Ovahlord
148291729f Core/Spells: ported focusing rework and fixed an additional issue that was causing channeled spells getting interrupted when being cast within the focus delay release time 2019-08-10 23:43:15 +02:00
Ovahlord
cdad0e3920 Scripts/BWD: stop Chimaeron's movement when casting Feud to prevent his channeling is getting interrupted 2019-08-10 22:10:31 +02:00
Ovahlord
ae836aad33 Scripts/BWD: use the correct helper for getting the distance between target and Magmaw 2019-08-10 22:07:08 +02:00
Ovahlord
84240e8487 Scripts/BWD: Magmaw will now correctly consider the additional 15 yards in addition to his combat reach when selecting targets for Pillar of Flame 2019-08-10 22:03:08 +02:00
Ovahlord
d94cc00c39 Scripts/BWD: I really need to go to bed...
* fixed a typo in 4088fb9134
2019-08-05 22:33:44 +02:00
Ovahlord
169180000f Scripts/BWD: remove the title granted by the Master Adventurer Award when the aura expires or gets removed 2019-08-05 22:24:15 +02:00
Ovahlord
4088fb9134 Scripts/BWD: fixed an issue that was causing Maloriak not being able to move during phase 2 when triggering the transition while in a black vial phase 2019-08-05 22:13:28 +02:00
Ovahlord
d6aaff3b1c Scripts/BWD: Vile Swill will no longer get affected by Growth Catalyst 2019-08-05 20:18:25 +02:00
Ovahlord
b75b8eba07 Scripts/BWD: implement heroic difficulty mechanics and finish Maloriak Encounter implementation 2019-08-05 20:13:16 +02:00
Ovahlord
d91243190c Scripts/BWD: implement remaining mechanics for Maloriak's normal difficulty encounter 2019-08-04 02:37:25 +02:00
Ovahlord
d97e908b82 Scripts/BWD: scripted the red and blue vial abilities of Maloriak's encounter 2019-08-01 18:28:46 +02:00
Ovahlord
c1627e6a3e Scripts/BWD: initial work on Maloriak encounter 2019-07-31 22:57:58 +02:00
Ovahlord
d849ae131d Core/Spells: fixed and issue that was preventing Death Coil from benefitting from modifiers such as power costs 2019-07-31 15:32:39 +02:00
Ovahlord
a14bb40a87 Scripts/TotT: keep Ozumat's big vehicle as active to make sure the grid remains loaded for the cutscene 2019-07-31 14:30:56 +02:00
Ovahlord
ec8b00a385 Core/Spells: corrected Light of Dawn calculations 2019-07-30 15:58:00 +02:00