Commit Graph

4995 Commits

Author SHA1 Message Date
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
Keader ae99a38ef2 Build fix² 2019-01-28 15:20:57 -03:00
Keader 355ba87402 Build fix 2019-01-28 15:15:18 -03:00
Ovah 00958c9178 Scripts/Magister Terrace: Felblood Kaelthas rewrite
Cherrypick of https://github.com/Ovahlord/TrinityCore/commit/ae440400aaf90de11cf92010839ab98a8403c003
2019-01-28 15:03:46 -03:00
Keader fd69c133b1 Scripts/Black Temple: Mother Shahraz fatal attraction need be random
Higher distance showed in my sniffs is 48 yards (rounding 50 yards). If someone find more then that, please let me know.
Ty killerwife
2019-01-28 11:19:23 -03:00
Keader ef6240312c Scripts/Black Temple: Fixed some issues in Illidari Council
Ty killerwife for all help :)
2019-01-28 10:15:00 -03:00
ccrs c5423fa474 Scripts/ICC: npc_suppresser corrections
closes #22908
2019-01-16 23:30:23 +01:00
Shauren ec1cfa36f4 Core/Commands: Fixed creature/gameobject move commands not updating which cell they belong to
Closes #22720
2019-01-15 16:54:57 +01:00
Killyana 772a68d624 DB/Creature: Update Lord Victor Nefarius gossips with the correct entry
Closes #22946
2019-01-14 18:03:01 +01:00
ccrs 954fd2639a Core/Unit: rename & cleanup GetCreatePowers
it hurted my eyes too much
2019-01-14 07:07:06 +01:00
Giacomo Pozzoni 8f9654d817 3.3.5 UnitAI (#22911)
* Core/AI: Revamp how UnitAI changes are applied

Revamp how UnitAI changes are applied by storing current AI in a variable and all previous AIs plus current in a stack.
The callers can push/pop AIs on the stack that will take effect only in next Unit::Update() call.
The current AI will be a valid object for the whole duration of Unit::Update() and until next Unit::Update() call.

* Core/AI: Apply new AI change code

* Core/AI: Fix build

* Core/AI: Fix crash on Creature::AIM_Create()

* Core/AI: Fix crash

* Core/AI: Restore ASSERT

* Core/AI: Fix UnitAI not being popped properly when restoring a charmed AI
2019-01-13 20:25:02 +01:00
Trond B. Krokli a8558c4361 Scripts/Borean Tundra: Corastrasza gossip menu improvements (#22942)
- split the quest status check, the quest gossips are different
- remove old hardcoded text (deprecated method)
- enumerate already existing DB gossip menu option items
2019-01-13 16:48:55 +01:00
Killyana fb28083b3b DB/Creature: Wrath Corruptor
Thanks to Keader for the spell_script
Original sql by Tobschinski https://github.com/cmangos/tbc-db/commit/c8f1753834ba3dba4c6263346afe29cd363c2431
2019-01-12 00:11:59 +01:00
Trond B. Krokli 95398fadf9 Scripts/Quest: make Wounded Skirmisher reply talk show class & race (#22936)
Quest 12288: Overwhelmed!
- Upon casting the healing quest spell, Wounded Skirmisher (npc_wounded_skirmisher)
  shows $r and $c in their reply talk text because of the missing target argument,
  hence not targeting the player on the quest (or the specific caster, in this case).

Text used by the NPC Wounded Skirmisher:
    0  Ahh.... better.
    1  Whoa - I nearly died there. Thank you, $r!
    2  Thank you, $c.

Solution: add the missing target name, caster, to the Talk() script line.
2019-01-11 17:52:21 +01:00
ccrs 9080e7863c Core/Movement: correct logic wrongly ported in 2a84562dc8
I'm referencing line 97 from ChaseMovementGenerator.
That commit introduced a modification in this use case:
- Chasing target is not my current victim, I should stop moving till it is my victim again
Changed To:
- Chasing target is not my current vicitm, I should stop chasing
My correction:
- I dont care about the relation of my current victim and my chasing target, I'm commanded to chase, something will tell me to stop chasing
--> Most likely: evade, new attackstart, etc.

the rest are just minor changes
2019-01-10 22:51:47 +01:00
Killyana 4c53dd930e Rename spell correctly 2019-01-10 21:58:00 +01:00