Commit Graph

5058 Commits

Author SHA1 Message Date
Sorikoff
e9d803ccee Scripts/Spells: Migrate Teleporting to Script (#23458)
* Scripts/Spells: Migrate Teleporting to Script

* Rename 9999_99_99_99_world.sql to 2019_06_21_02_world.sql
2019-06-21 19:25:51 +02:00
Sorikoff
a4cd4d8b87 Scripts/Spells: Migrate Lightwell to Script (#23455)
* Scripts/Spells: Migrate Lightwell to Script

* Add newline to SQL file

* Misc

* Rename 9999_99_99_99_world.sql to 2019_06_21_01_world.sql
2019-06-21 19:21:49 +02:00
Keader
f9a366628a Build fix 2019-06-20 21:20:58 -03:00
Keader
3b0743ea67 Scripts/Icecrown Citadel: Fixed some bugs on Blood Orb object and trash mobs around him
Followup: 394b119664
2019-06-20 21:11:56 -03:00
Killyana
a3dec9068b DB/Quest: A Visit With The Ancestors
Closes #23284
2019-06-20 11:51:18 +02:00
Keader
70cbedd75d Core/Scripts: Fixed a reference error introduced in 394b119664 2019-06-17 13:06:24 -03:00
Keader
394b119664 Scripts/Icecrown Citadel: Fixed Blood Orb Game Object (#23397)
Close #18005 and Update #18529
2019-06-17 08:38:37 -03:00
Sorikoff
e87f8b1aac Scripts/Isle of Quel'Danas: Thalorien Dawnseeker (#23382)
* Scripts/Isle of Quel'Danas: Thalorien Dawnseeker

* Kill warning

* Kill warning

* Fixes

* Code style

* Code style

* Accident

* Prevent Out of Bound & spelling
2019-06-17 09:35:35 +02:00
Ianislav Vasilev
cdd92bab4d Initial fix suggestion for #23232. (#23237) 2019-06-16 20:56:54 +02:00
Wyrserth
ce3dcdcb1a Core/Commands: implement commands to look up a map/item/quest name for a given id (#23416)
* Core/Commands: implement commands to look up a map/item/quest name for a given id.

* Add entry to updates table.

* Rename 9999_99_99_99_auth.sql to 2019_06_16_00_auth.sql

* Add missed change, thanks jackpoz!

* Update auth_database.sql
2019-06-16 19:52:13 +02:00
Wyrserth
2315d43b2c Core/Spell: allow Northrend Inscription Research to unlock three recipes the first time it is cast. (#23401)
Also prevent double skill-up because of duplicate UpdateCraftSkill() calls.
2019-06-15 14:13:19 +02:00
Giacomo Pozzoni
f177790618 Core/Misc: Fix static analysis issues reported by Coverity Scan 2019-06-14 10:13:46 +02:00
Keader
94b60ff0ef Core/Misc: Implemented Icecrown Citadel buff disable (#23394)
Closes #8576 
Closes #7940
2019-06-12 15:22:32 -03:00
Killyana
d7375ad33f DB/Quest: Protect Kanati Greycloud
Closes #7501
2019-06-09 21:44:37 +02:00
Keader
136964769d Scripts/Icecrown Citadel: Fixed Heroic Attempts logic (#23379) 2019-06-07 08:18:48 -03:00
Wyrserth
5016f588d5 Script/Dalaran: don't allow Dalaran faction guards to teleport a player that has the Trespasser! debuff. (#23373) 2019-06-06 11:40:53 +02:00
Wyrserth
41931c069d Script/ZulGurub: implement several RP texts (#23358) 2019-06-05 23:01:38 +02:00
Wyrserth
1cb01700b1 Script/ZulGurub: allow Hakkar to cast Mind Control only if more than one unit is currently fighting him.
Also fix target type - it should always target the current tank.
2019-06-05 21:49:52 +02:00
ccrs
7b2defe5a0 Scripts/ZulGurub: general instance related refactoring/updating
plus couple event-spells-ai related corrections
plus codestyle cleanup
2019-06-05 21:43:55 +02:00
Wyrserth
b5e04c8920 Script/Quest: implement event for the quest Orabus the Helmsman (#23346)
* Script/Quest: implement event for the quest Orabus the Helmsman.

Thanks Wyreth for the original script.

* Fix coordinates that I inverted by mistake.

* Rename 9999_99_99_99_world.sql to 2019_06_04_04_world.sql
2019-06-04 19:21:40 +02:00
Killyana
7dd87e3df4 Spell/Script: Stasis Field
Closes #23355
2019-06-04 18:25:21 +02:00
Wyrserth
65aea13c25 Script/GunDrak: fix order for yell and altar texts on death for two bosses (#23357) 2019-06-03 22:35:50 +02:00
Wyrserth
eb5d1d3248 Script/Creature: implement spell effect for the item Prototype Neural Needler used on Imprisoned Beryl Sorcerer (#23349)
* Script/Creature: implement spell effect for the item Prototype Neural Needler used on Imprisoned Beryl Sorcerer.

* Rename 9999_99_99_99_world.sql to 2019_06_03_02_world.sql
2019-06-03 19:49:35 +02:00
Shauren
b64583b7c1 Build: Fixed dynamic PCH builds 2019-06-02 23:39:24 +02:00
Wyrserth
d71a0608bf Script/Creature: calculate Traveler's Tundra Mammoth's NPCs' exit position based on current player's position (#23344)
* Script/Creature: calculate Traveler's Tundra Mammoth's NPCs' exit position based on current player's position.

* Comment out unused argument.
2019-06-02 21:42:24 +02:00
jackpoz
2d5387ea42 Scripts/HallsOfLightning: Fix Volkhan spamming in chat when wiping at 10% health
Ref #23082
2019-06-01 15:16:30 +02:00
Nitair
ee5101fbf7 Scripts/Stratholme: Baron Rivendare rewrite (#22572)
* Adding last state of rivendare rewrite

* Fix aura beeing removed on reset, fix death pact

* Not needed

* SQL: Changed remove/inset into update, fixed delete at conditions part

* Typo

* Remove link spell, fix blank lines, change magic numbers to enum

* Test changes with SpellScript and DoCastSelf

* Revert SpellScript and moved DoCastSelf for the aura into UpdateAI part

* Damn, copyright.

* Fix Unholy Aura

* Fix again (does attack now / does cast if encounter resets)

* Adding handling of the aura to the db

* Rename 2018_99_99_99_world_335.sql to 2019_05_31_02_world_335.sql
2019-05-31 08:26:42 +02:00
Wyrserth
8bc5451864 Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura (#23319)
* Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura.

* Forgot to change this in last-second rename.

* Apply suggested changes, thanks Shauren!
2019-05-30 20:07:46 +02:00
jackpoz
f0bd90cc35 Core/Channel: Fix CRT Debug Assert triggered with invalid channel names 2019-05-29 21:12:50 +02:00
lactoseti
bfffa5d45e Creature/Script: npc_tallhorn_stag
Ref #2623
2019-05-27 03:21:36 +02:00
Killyana
2829f5fb9c DB/Creature: Hydross the unstable npc triggers
Update the correct channel spell SPELL_BLUE_BEAM and spawn triggers used to cast it
2019-05-25 04:26:58 +02:00
Killyana
fdec429f18 DB/Creature: Dark Portal Dummy 1.30 2019-05-25 02:51:42 +02:00
Ianislav Vasilev
45887846b6 Scripts/Zul'Gurub 22974 high priestess marli hatching eggs (#23212)
* Issue 22974: Initial bugfix suggestion.

* Fixed allignment.

* Removed unused call.

* Initial spider spawn targeting is done.

* Resolves issue 22874. Initial implementation suggestion.

* Commenting out dead code.

* Reordered private members to meet standards of member initializer list.

* Removing unused parameter and changing data structure from list to vector.

* Changed list to vector in the grid notifier.

* Removing comments and fixing identation.

* Stupid collapsed blocks.

* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*)

* Scripts/Misc: Fix build

* Core/TempSummons: Rename GetSummoner() to GetSummonerUnit()

* Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too

* Fix build

* Core/TempSummons: Allow GameObject to be owner of TempSummon

* Core/TempSummons: Add support to SAI for GameObject owner of TempSummon

* Scripts/Misc: Fix no-pch build

* Cleaned up all the core changes and scripted eggs and spell according to pull request comments.

* Fix no-pch build.

* Fix no-pch build 2.

* Added sql file for the spell and gameobject script.

* Update 2019_05_20_00_world.sql

* Added conditions to spell thanks @xvywh and some minor changes to the code.

* Removed some strange leftovers.

* Removed obsolete brackets.

* Rename 2019_05_20_00_world.sql to 2019_05_24_00_world.sql
2019-05-24 08:45:37 +02:00
Giacomo Pozzoni
797fba98e9 3.3.5 gameobject summoner (#23289)
* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*)

* Scripts/Misc: Fix build

* Core/TempSummons: Rename GetSummoner() to GetSummonerUnit()

* Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too

* Fix build

* Core/TempSummons: Allow GameObject to be owner of TempSummon

* Core/TempSummons: Add support to SAI for GameObject owner of TempSummon

* Scripts/Misc: Fix no-pch build

* Core/TempSummons: Implement PR comments
2019-05-23 21:08:29 +02:00
jackpoz
a0bd68cf46 Core/Misc: Fix static analysis issues reported by Coverity 2019-05-18 16:12:23 +02:00
Ianislav Vasilev
908fbf48d2 Scripts/Blackrock Depths: High Priestess of Thaurissan (#23230)
* Initial fix suggestion for 22660.

* Removed todo related to the work done in this branch.

* Removing obsolete braces and added failfast check.

* Refactored the logic about having the quest.

* Removing obsolete braces.

* Adding reference to incomplete type.

* Switching from forward declaration to header where type is defined.

* Including Player type definition in order to work with nopch.

* Update src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/instance_blackrock_depths.cpp

Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com>

* Update src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/instance_blackrock_depths.cpp

Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com>

* Reverted mistakenly deleted todo
2019-05-17 14:50:27 +02:00
Wyrserth
4d04344b41 Core/Spell: add proper cooldowns to some spells used by vehicles (#23260)
* Core/Spell: add proper cooldowns to some spells used by vehicles, thanks to jackpoz and sirikfoll.

* Add Wing Buffet and Stampy's Stompy-Stomp.

* Add Tag Greater Felfire Diemetradon and Touch of Darkness.

* Rename 9999_99_99_99_world.sql to 2019_05_17_00_world.sql
2019-05-17 12:08:20 +02:00
Killyana
9435caa8d1 Instance/Script: Blood Furnace
Ref #23285
2019-05-16 19:31:54 +02:00
ccrs
7025b00656 Scripts/Northrend: couple cosmetic corrections after 552720a 2019-05-14 22:07:23 +02:00
Wyreth
552720a993 Scripts/Northrend: improvements for quest Get Me Outa Here! (11673) (#20753)
* Script/Quest: improvements for quest Get Me Outa Here! (11673).

* Happiness for our Travis overlord

* Update 9999_99_99_99_world_quest_get_me_outa_here.sql

* Update zone_borean_tundra.cpp

* Update 9999_99_99_99_world_quest_get_me_outa_here.sql

* Update 9999_99_99_99_world_quest_get_me_outa_here.sql

* Fix hook that got renamed

* Update 9999_99_99_99_world_quest_get_me_outa_here.sql

* Rename 9999_99_99_99_world_quest_get_me_outa_here.sql to 2019_05_11_08_world.sql
2019-05-11 19:39:03 +02:00
Keader
a639a99c6c Scripts/Icecrown Citadel: Fixed a edge case in Blood Quickening quest
killer can be a pet
2019-05-08 21:12:56 -03:00
Demonid
d1c5b3c897 Scripts/Icecrown Citadel: The Lich King's Last Stand quest kill credit (#23239)
Closes #8919
2019-05-08 18:43:33 -03:00
Killyana
fe311260f7 Remove deprecated code 2019-05-04 16:52:59 +02:00
sirikfoll
fe3bf57aba Core/Scripts: Fix Skadi dismount issue
Closes #23005
2019-05-02 15:46:46 -03:00
Giacomo Pozzoni
20772dbf5d Scripts/Spells: Fix implementation of #22332 (#23228)
Change the way #22332 moved spell damage calculations from SpellEffectDMG to scripts, using OnEffectLaunchTarget and SetEffectValue instead
2019-05-02 14:34:23 +02:00
Killyana
14445088ea Quest/Script: Breakfast Of Champions
Set both Earthshaker Drum Events to 50%
2019-04-30 02:23:23 +02:00
jackpoz
3f0ce98f7c Core/Commands: Fix heap-use-after-free in ".ticket delete" command
Reported by Address Sanitizer
2019-04-28 18:56:45 +02:00
jackpoz
26b6cb0584 Core/Misc: Fix some GCC 8 warnings 2019-04-28 15:59:34 +02:00
jackpoz
71d15ea25b Scripts/Commands: Add .debug asan commands
Add ".debug asan memoryleak" and ".debug asan outofbounds" commands to trigger Address Sanitizer warnings at runtime (or other dynamic analysis tools)
2019-04-27 20:11:48 +02:00
jackpoz
844e7ee926 Scripts/Guards: Fix infinite loop in npc_air_force_bots
Fix infinite loop in npc_air_force_bots happening when aura 38067 was removed, triggering MoveInLineOfSight() that would add back the aura. Only 1 aura add/remove for guard for player is allowed now.
2019-04-27 16:32:41 +02:00