Commit Graph

4961 Commits

Author SHA1 Message Date
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 ae440400aa
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 c8f1753834
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
Giacomo Pozzoni
545bee0496 Scripts/Spells: Fix infinite loop in Power Word Shield (#22918)
Fix infinite loop in Power Word Shield triggering back and forth the damage spell between 2 players, both with Power Word Shield
2019-01-10 19:21:20 +01:00
Killyana
21030d0cd0 Creature/Script: Add missing abilities for Ghostly Citizen and Spectral Citizen
Closes #22662
2019-01-10 16:23:49 +01:00
Rynem Storm
a057d26f20 DB/Spell: fix mistake in Blood Draining's CheckProc and remove Attack Power scaling (#22862) 2019-01-10 14:11:07 +01:00
Killyana
5e73647c84 Quest/Script: Kodo Roundup
Fix faction issue and handle the gossip correctly via the script
2019-01-09 17:24:30 +01:00
Giacomo Pozzoni
08dcee0cf9 Scripts/Misc: Fix LoadMinionData() dynamic analysis issues
Fix issues reported by Address Sanitizer about LoadMinionData() calls on arrays that don't end with a {0, 0} pair.
2019-01-07 10:17:05 +01:00
Rochet2
d9ba611651 Fix non pch (#22915) 2019-01-06 20:07:41 +01:00
Keader
dd81978f43 Scripts/Icecrown Citadel: Some fixes for Valithria Dreamwalker's encounter
Closes #22754 #21887 #17882
Ty sirikfoll for all help
Bonus fixes: Abomination letting worms when fight end, visual missing, archmages stop respawn if corpse despawn
2019-01-05 01:14:57 -03:00
DanVS
8051ff13df Core/Scripts: Move some spells to scripts (#22332) 2019-01-05 01:54:33 +01:00
PolarCookie
fb19f7be1f That's Abominable for the 3 other quests, and knockbacks for all. (#22127) 2019-01-05 01:43:53 +01:00
Keader
b283565d8a Scripts/The Steamvault: Fixed Chambers Access Panel and Main Chambers Door
Closes #21067
Ty Kittnz, killerwife, Aokromes (sniffs)
2019-01-02 11:57:33 -03:00
Treeston
fcfcb0eb6f Happy New Year, folks. It's 2019! 2019-01-01 15:45:25 +01:00
Giacomo Pozzoni
20ea24bf5c Scripts/Commands: Fix crash caused by .set npc model (#22877)
* Scripts/Commands: Fix crash caused by .set npc model

Fix crash caused by .set npc model with invalid model id
2019-01-01 15:00:27 +01:00
PolarCookie
66720e5fd9 Spell/Script: Scourge Disguise and Haunting Phantoms (#22727) 2018-12-31 11:50:16 +01:00
Ghaster
bf3ab6d9c4 Core/Creatures: Port trainer changes from master
Closes #20493
2018-12-30 19:51:36 +01:00
Giacomo Pozzoni
cb13638721 Scripts/Nagrand: Fix crash added in PR #22806 (#22878)
Fix crash added in PR #22806 happening in quest "Ruthless Cunning and Returning the Favor"
2018-12-19 16:08:35 +01:00
Aokromes
6851ba638d Update zone_borean_tundra.cpp 2018-12-03 12:19:10 +01:00
PolarCookie
9d93504f34 Quest: Ruthless Cunning and Returning the Favor (#22806)
* Ruthless Cunning and Returning the Favor

* no more magic numbers

* now with scripted ai and condition

* travis

* more travis

* jackpoz

* now with no banner spellscripts

* typo

* Rename 9999_99_99_99_world.sql to 2018_12_03_00_word.sql
2018-12-03 08:57:23 +01:00
Aokromes
538c5b8687 Core/GameEvent: weekend xp rate (#17782)
* Core/GameEvent: weekend xp rate
by kline

* Update to recent code

* compile fix try
things of copy and paste 4 years old code xd

* more code update

* forgot to change this

* Update worldserver.conf.dist

* Added function to calculate weekend event xp rates

By greenbagels

* Cleaning using scripts

* Implement daymask and rename variables etc.

* Rename script file weekend -> boosted

* Update src/server/game/World/World.cpp

Co-Authored-By: Aokromes <Aokromes@users.noreply.github.com>

* Fix xp multiplier not applying to quest rewards

* Disable xp boost script when no boosted days selected
2018-11-28 16:44:28 +01:00
Gildor
0ee8a77dce Core/Scripts - The Eye: Fix Kael'thas Sunstrider Mind Control, limit MaxAffectedTargets to 3 (#22828)
Closes: #22826
2018-11-24 12:55:04 -03:00
Treeston
c16d461e16 Core/Util: Redesign SmartEnum to properly work for large enums (>64 entries) and play nice with IDEs (PR #22768) 2018-11-11 17:52:41 +01:00
Keader
f1a1acdc89 Scripts/Utgarde Keep: Fixed Ingvar evade in phase 2 (one more time)
Closes #21264
ScheduleEvents need happens after remove ImmuneToPc, or it will cause evade.
2018-11-09 11:02:15 -03:00
Keader
4c6f0eaa8d Scripts/ToC: Fixed Twin Valkyr stucking in progress and added hover
Closes: #22755
Update: #20961
2018-11-08 11:14:46 -03:00
Keader
87d6f62ba6 Scripts/Spells: Fixed wrong change in Drain Mana removing fear/poly effects
Update: #20234
Followup: a6673f6aa7
More Info: https://github.com/TrinityCore/TrinityCore/issues/20234#issuecomment-436970730
2018-11-08 09:19:33 -03:00
PolarCookie
93cb86b683 Spell/Script: Curse of agony (#22728)
* CoA now as spellscript

* clean up drain soul

* keader

* keader2

* Rename 9999_99_99_99.sql to 2018_11_04_00_world.sql
2018-11-04 12:40:09 +01:00
Rochet2
257ae44a20 Add rotation to .gob info (#22723)
* Add rotation to .gob info

- Add rotation (yaw, pitch, roll) to .gob info command
- Replace LANG_SPAWNINFO_DISTANCEFROMPLAYER with LANG_SPAWNINFO_ROTATION
- Fix description of .distance to describe the command arguments (the more you know..)
- Fix .gob info guid targetting nearest gameobject instead of finding with given guid
- Reorder the info data slightly
- Print location and rotation data regardless of object found in world
- Add error messages for when object is not found by guid or entry
2018-10-28 10:07:56 +01:00
Rochet2
0a0312b705 Core/Command: Fix gameobject turn orientation saving (#22712) 2018-10-25 12:10:27 +02:00
Keader
266a9c3d41 Scripts/Ulduar: Fixed Sanctum Sentry accumulating events after wipes 2018-10-22 11:11:16 -03:00
Aokromes
3ea3ed348a Script/Misc: Change some placeholders to proper texts 2018-10-21 20:14:30 +02:00
Killyana
2dc28bc3a7 DB/GameObject: Sacred Fire of Life 2018-10-18 18:44:15 +02:00
Trond B. Krokli
48eba61e90 Scripts/Blackrock Depths: npc_grimstone Event_Timer improvements (#22663)
High Justice Grimstone's movement script timers improvement in Ring of the Law.

case 6 & case 7 modifications:
- Event_Timer = 5000; // originally 0

Closes #20499 (High Justice Grimstone issue)
2018-10-18 09:12:03 +02:00
Killyana
d10e42c049 DB/Gossip: Update Vaelastrasz gossip menu with the correct ID 2018-10-17 15:43:38 +02:00
Keader
6cb754ca4e Scripts/Illidari Council: Changed urand to SelectRandomContainerElement 2018-10-15 08:55:06 -03:00
Keader
9a443306fb Scripts/Black Temple: Fixed a crash on Illidari Council (#22652)
Ty Sirikfoll :)
2018-10-15 08:44:21 -03:00
PolarCookie
d13bcf36f1 [3.3.5] Scripts/Spells: Life Tap (#22638)
Closes #17559
2018-10-15 08:35:45 -03:00