Commit Graph

5010 Commits

Author SHA1 Message Date
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
Jozef Dúc 32e1de39a2 Core/Object: Range check (#23179)
* Should solve #23062. All credits to @xvwyh

* Remove unused variables

* Remove unused variable

* Cast int32 to uint32

* Remove G3D headers from core header file

* Change door distance

* Update GameObject.cpp

Add newline

* Update GameObject.h

Indentation
2019-04-24 20:39:01 +02:00
ForesterDev ae8750716f Scripts/Commands: add some missing checks for .guild create command (#23201)
* Core/Conditions: implement CONDITION_GAMEMASTER

* Scripts/Commands: add some missing checks for .guild create command
2019-04-24 16:58:55 +02:00
Keader f163c2f96a Scripts/Trial of the Crusader: Fixed Resilience will Fix achievement
Broken by 2362e9c794
2019-04-24 11:55:58 -03:00
Sorikoff 4468a538ff Scripts/Scarlet Enclave: Unworthy Initiate (#23195) 2019-04-22 11:25:17 -03:00
Sorikoff 90d4254a87 Scripts: Minor improvements to recently migrated scripts (#23189)
Ref: 2cfaeb1400
2019-04-21 11:22:39 -03:00
Keader 961bc9d829 Scripts/Spells: Fixed a console error inspell_dru_lifebloom
Closes #23192
2019-04-21 11:01:59 -03:00
Killyana c318b3e16d Spell/Script: Kill logs spam for spell_ioc_parachute_ic
Closes #23163
2019-04-17 16:40:25 +02:00
Sorikoff 2cfaeb1400 Scripts/Spells: Migrate Some Scripted Spells to Scripts (#23185)
* Migrate spells to scripts

* Simplify code

* I need to sleep

* Update chapter1.cpp

* Use actual damage

* No need in null check here
2019-04-16 09:49:39 +02:00
Gustavo cc3293c002 Core/Scripts: Fix Blood summon position (#23088)
* Core/Scripts: Fix Blood summon position

Updates #13162
2019-04-04 00:30:25 -03:00
Gustavo 50f122de77 Core/Misc: Warning fixes (/W4) (#23149)
* Core/Misc: Warning fixes (/W4)
2019-04-03 23:36:26 -03:00
jackpoz 750d89beed Core/Misc: Fix static analysis issues
Fix static analysis issues spotted by Coverity Scan
2019-04-02 21:40:30 +02:00
jackpoz 1d04a3b216 Core/Misc: Fix GCC 8 warnings 2019-03-31 17:34:28 +02:00
Trond B. Krokli a040d48443 Scripts/Wailing Caverns: make Disciple of Naralex say Mutanus, not $n (#23122)
* Scripts/Wailing Caverns: make Disciple of Naralex say Mutanus the Devourer

Disciple of Naralex should say
"This Mutanus the Devourer is a minion from Naralex's nightmare no doubt!"
instead of using $n caused by a missing target in the Talk() script command.
2019-03-22 12:09:41 +01:00
Trond B. Krokli 7cb31aa482 Scripts/Borean Tundra: link gossip content for NPC Iruk from DB (#23118)
- remove hardcoded text (deprecated method)
- add already existing DB gossip content to enum
- correct spell enum from spell_creature_ to spell_create_
- replace case switch with if statement (only one boolean case)

Extra script file update:
- remove SD comment line 22 (outdated info, replaced by SAI)
2019-03-17 20:02:05 +01:00
ccrs a006362615 Scripts/Northrend: 482e0da followup
add a little bit of tolerance
2019-03-08 15:25:13 +01:00
Langerz82 e840d4967e Spell/Script: Guard's Mark
Closes #16888
2019-03-08 15:13:32 +01:00
PolarCookie ec3cb05d7f Core/Spell: SpellAura Redux (#22794)
* typo and correction

* spell aura no longer shared between targets

_spellAura isolated

* SPELL_AURA_CONTROL_VEHICLE is not strictly single target spell

Steam Tank Control and Wyrmrest Commander

units can reseat themselves again

* Rename 9999_99_99_99_world.sql to 2019_03_08_00_world.sql
2019-03-08 08:34:16 +01:00
ccrs 3eecadcebf Scripts/Northrend: 482e0da followup 2019-03-07 22:26:22 +01:00
Killyana e5470ab1ee Spell/Script: Specify a target for Azure Dragon: On Death Force Cast Wyrmrest Defender to Whisper to Controller - Random 2019-03-07 17:37:03 +01:00
Keader 482e0dad30 Creature/Script: Daegarn
Remove the incorrect SAI and move it to cpp
2019-03-06 16:15:03 +01:00
ccrs e69570dd76 Core/Misc: use/implement/portfrommaster InitWorldState packet definition
WorldPackets::WorldState::InitWorldStates
2019-03-04 16:33:08 +01:00
Keader e1aafddc2e Scripts/Trial of the Crusader: Fixed Slime Pool visual effect
Closes #21660
2019-03-03 23:19:03 -03:00
Keader 990ad000f8 Spell/Script: Freezing Circle
Closes #11312
See the original issue before cherry pick
2019-03-02 19:57:38 +01:00
Sorikoff dbadb6369c Core/Movement: Allow using walk when chasing v2 (#23073)
* Allow walk when chasing
2019-03-02 15:04:01 +01:00
sirikfoll 4ea09dfcd4 Fix nopch 2019-02-25 18:12:19 -03:00
sirikfoll a803342029 Scripts/Ulduar: Mimiron improvements
Closes #23043

Fix Aerial hover
Some visual issues
2019-02-25 17:50:24 -03:00
Sorikoff c2f2db08aa Allow walk when chasing (#23069) 2019-02-25 09:36:36 +01:00
jackpoz f17120cc78 Core/Commands: Don't re-add active quests with ".quest add" command 2019-02-24 18:46:35 +01:00
DanVS 054914a83b Glyph of Holy Light (#22198) 2019-02-23 20:22:37 +01:00
Keader c8dfab7761 Scripts/Spells: Fixed Demonic Pact not increasing spell healing
Closes #23019
2019-02-22 10:25:11 -03:00
Ovah c10c8c6bba Scripts/MGT: Kael'thas intro can now be skipped when not killing the trash pack in his room
Scripts/MGT: Kael'thas will now despawn at evade

Cherry picked from
https://github.com/Ovahlord/TrinityCore/commit/f6e9ff5ca4ed1a174052b350db0802e1fca9a1aa
https://github.com/Ovahlord/TrinityCore/commit/ed8c1830f58e0b9db629bbae9ee80f8ad76331e5
2019-02-20 17:43:56 -03:00
Keader a617cc4097 Scripts/Illidan: Fixed Parasitic shadowfiends reproducing like rabbits 2019-02-20 10:40:19 -03:00
jackpoz 78f70cbff2 Core/Misc: Fix static analysis issues
Fix static analysis issues reported by Coverity
2019-02-16 13:40:39 +01:00
Sorikoff f0f4d0280d Scripts/Scarlet Enclave: Stable Master Kitrik's spell Repo (#23023) 2019-02-16 13:28:31 +01:00
Shauren 813f693768 Core/Misc: Added lambda support to EventProcessor
Closes #22909
2019-02-15 21:34:56 +01:00
TheWinchesters a0056951f7 [3.3.5] Commands: lookup player shows which character is online (#23039)
* Show 'online' for every online player in lookup player commands
2019-02-15 20:18:58 +01:00
Rushor d69ef2ab1d Creature/Script: Move "Bartleby" script to SAI 2019-02-13 09:30:55 +01:00
jackpoz 2fda1572d2 Core/Misc: Fix issues reported by static analysis
Fix issues reported by Coverity Scan
2019-02-05 21:10:39 +01:00
jackpoz c40c60572c Scripts/ScarletEnclave: Fix no pch build 2019-02-02 21:41:24 +01:00
Sorikoff d5f565f429 Scripts/Scarlet Enclave: Grand Theft Palomino (#22967)
* Grand Theft Palomino

* Cosmetic issues

* Address CR
2019-02-02 21:28:18 +01:00
Sorikoff 806dd940ce DB/Quest: Sniff Out the Enemy
Closes #23006
2019-02-02 15:06:11 +01:00
Keader 33b0654f8e Scripts/Magister Terrace: Fixed a enum mistake 2019-02-01 08:21:12 -03:00
Keader 6545cd33b9 Core/Misc: Fixed shaman elementals and magister terrace first boss access 2019-01-30 14:48:46 -03:00
Keader 71dde16ce9 Scripts/Utgarde Keep: Fix Ingvar Evading (again)
UNIT_FLAG_NON_ATTACKABLE makes ingvar become a invalid target and lose threatlist, so me->IsThreatened() will return false.
We dont need it at all, since UpdateAI will handle evade already.
2019-01-28 17:42:00 -03:00
Keader 06078e30c6 Scripts/Temple of Ahn Qiraj: Scripted doors of AQ40
Doors added in https://github.com/TrinityCore/TrinityCore/commit/1ba09572b5a49d5cd247cdca47109d3325ec12f3
2019-01-28 17:13:59 -03:00
Keader b244fe0d40 Make Travis Happy :) 2019-01-28 16:19:55 -03:00
Ovah 1b346485e4 Scripts/Magister Terrace: Update InstanceScript and more fixes
Cherrypicked of https://github.com/Ovahlord/TrinityCore/commits/4.3.4
2019-01-28 16:15:38 -03:00
Keader 6bd3af56dc Build fix ³ 2019-01-28 15:23:28 -03:00