Treeston
be96d8242c
warning fix f2cd721 follow-up
2019-07-08 21:53:50 +02:00
Treeston
f2cd721d53
Scripts/Naxxramas: Thaddius no longer evades on transition, and some general cleanup to that script. Fixes #23026 .
2019-07-08 20:16:29 +02:00
Ianislav Vasilev
c71e36acae
Scripts/Blood Furnace: Broggok improvements ( #23300 )
...
* 23285 Fixed lever respawn and future encounters after it respawns.
* Removed unnecessary additional container.
Made lever not to despawn and respawn but rather change flags only.
* Made one conditional branch easier to debug.
2019-07-08 19:53:08 +02:00
Treeston
a3c3526269
Scripts/Outland: Rewrite the Watch Commander Leonus event so it no longer starts exponentially more often if the grid remains loaded for over an hour. Closes #23348 .
2019-07-08 16:04:32 +02:00
Sorikoff
a64d7df662
Scripts/Spells: Brittle Armor & Mercurial Shield ( #23576 )
2019-07-08 15:42:35 +02:00
ForesterDev
e71773140c
Scripts/Commands: update .wp commands to use orientation field from DB (PR #23566 )
...
Closes #23330
2019-07-08 14:16:10 +02:00
Treeston
84b7b2e08e
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-07-08 11:56:41 +02:00
Treeston
ded18a2690
Entities/Creature: Some asserts are now LOG_ERRORs that block spawning. Fix a group spawning bug exposed by the CoS merge. Improve some command output.
2019-07-07 19:18:32 +02:00
jackpoz
283ac3d374
Core/Misc: Fix no-pch build
2019-07-07 13:35:11 +02:00
Wyrserth
644910bdc1
DB/Trainer: remove required ability from Riding spells. The client should only show the required amount of skill.
...
Also comment out unused argument in previously committed script, thanks Aokromes for noticing!
2019-07-07 02:57:24 +02:00
Wyrserth
6199d458c3
Core/Misc: use Trinity's RandomShuffle() instead of soon-to-be-deprecated std::random_shuffle().
...
Thanks Riztazz for noticing!
2019-07-07 02:49:40 +02:00
Wyrserth
37862942ce
Script/TheOculus: adapt Mage-Lord Urom's script to use EventMap, fix various issues with Teleport and Empowered Arcane Explosion, add missing heroic-mode spell Frost Buffet.
...
Closes #19452 .
2019-07-07 02:32:53 +02:00
Wyrserth
6ef1b3e6c6
Script/BlackrockDepths: randomize timers for Ironhand Guardian's spell Gout of Flame.
2019-07-06 20:29:24 +02:00
Martin Topholm
4529a94e0d
Script/BlackrockDepths: fix Ironhand Guardian's Gout of Flame spell cast. ( #21816 )
2019-07-05 23:46:55 +02:00
Wyrserth
30ba9c97fe
Misc: explicitly mark fallthrough in switch statement as to avoid confusion.
2019-07-05 17:09:46 +02:00
ForesterDev
c44fb37f74
Core/Unit: Implement more helper methods ( #23555 )
2019-07-05 14:07:35 +02:00
Gildor
a0a64b10b5
Scripts/Icecrown Citadel: Ensure Deathbringer Saurfang cast Frenzy ( #23559 )
2019-07-03 19:32:27 +02:00
Wyrserth
670085d8c0
Core/Quest: fix money reward for quests turned in at level cap. ( #23495 )
2019-07-03 17:42:23 +02:00
Wyrserth
a8b8a43b8d
Script/HallsOfLightning: fix mistake related to Shattering Stomp in Volkhan's script, introduced in 3bb0abcd52.
...
Closes #23337 .
2019-07-02 11:12:34 +02:00
ForesterDev
b47bb59e2a
Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender ( #23520 )
...
* Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender and fix some cases, where we should get player gender, instead of modified by display gender
* fix merge
* Add virtual methods for Unit class
2019-07-02 10:17:02 +02:00
ccrs
401777d024
Core/Unit: rename several getters to follow codestyle
...
uint8 GetLevel()
uint8 GetLevelForTarget(WorldObject const* /*target*/)
void SetLevel(uint8 lvl)
uint8 GetRace()
uint32 GetRaceMask()
uint8 GetClass()
uint32 GetClassMask()
uint8 GetGender()
2019-07-01 21:36:32 +02:00
Sorikoff
5c09ff51f7
Scripts/Spells: Dimensional Ripper - Everlook ( #23547 )
2019-07-01 20:55:30 +02:00
Wyrserth
028d16a812
Script/DarkmoonFaire: fix logical error in go_darkmoon_faire_music.
...
Closes #23548 .
2019-07-01 14:39:52 +02:00
ccrs
4c398743b9
Scripts/ICC: cleanup ReadSaveDataMore definition
2019-07-01 01:08:21 +02:00
ccrs
b19a23a5c6
Scripts/ICC: 3dbf3fe followup
...
repeat timer typo
2019-07-01 00:56:05 +02:00
ccrs
aabf181bdf
Build: fix error
...
/home/circleci/project/src/server/scripts/Northrend/IcecrownCitadel/boss_sister_svalna.cpp:211:5: fatal error: redefinition of enumerator 'NPC_YMIRJAR_BATTLE_MAIDEN'
NPC_YMIRJAR_BATTLE_MAIDEN = 37132,
^
/home/circleci/project/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h:274:5: note: previous definition is here
NPC_YMIRJAR_BATTLE_MAIDEN = 37132,
^
1 error generated.
2019-06-30 19:54:05 +02:00
ccrs
3dbf3fed7c
Scripts/ICC: base support for Ymirjar Vrykuls AI
2019-06-30 19:48:50 +02:00
ccrs
3e9b553618
Scripts/ICC: 1eb2aef followup
2019-06-30 18:10:23 +02:00
ccrs
1eb2aef179
Scripts/ICC: move Sister Svalna to her own file
...
I've almost guttered her, so lets try it more gently this time
2019-06-30 17:50:30 +02:00
ccrs
eb6ea57e7f
Scripts/ICC: 94b60ff followup
2019-06-29 19:38:16 +02:00
ccrs
303811399f
Build: fix error
...
/var/lib/jenkins/jobs/tc_335_release_clang40_boost_1.63.0_nopch/workspace/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp:583:132: warning: format specifies type 'unsigned int' but the argument has type 'float' [-Wformat]
TC_LOG_TRACE("scripts.cos", "npc_arthas_stratholmeAI::AdvanceToState: has snapback for this state, distance = %u", target.SnapbackPosition->GetExactDist(me));
~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%f
/var/lib/jenkins/jobs/tc_335_release_clang40_boost_1.63.0_nopch/workspace/src/common/Logging/Log.h:176:56: note: expanded from macro 'TC_LOG_TRACE'
TC_LOG_MESSAGE_BODY(filterType__, LOG_LEVEL_TRACE, __VA_ARGS__)
^~~~~~~~~~~
/var/lib/jenkins/jobs/tc_335_release_clang40_boost_1.63.0_nopch/workspace/src/common/Logging/Log.h:159:32: note: expanded from macro 'TC_LOG_MESSAGE_BODY'
check_args(__VA_ARGS__); \
^~~~~~~~~~~
2019-06-29 18:40:31 +02:00
ccrs
22b3b21ae3
Core/Instances: improve DoRemoveAurasDueToSpellOnPlayers & DoCastSpellOnPlayers handling
2019-06-29 18:36:11 +02:00
ccrs
626a24822b
Misc: some corrections after recent merges
2019-06-29 16:01:58 +02:00
Sorikoff
33b4ad5a89
Scripts/Spells: Ultrasafe Transporter: Toshley's Station ( #23537 )
...
* Scripts/Spells: Ultrasafe Transporter: Toshley's Station
* Rename 9999_99_99_99_world.sql to 2019_06_29_01_world.sql
2019-06-29 14:02:04 +02:00
Sorikoff
8d1a5fa126
Scripts/Spells: Remove Collapsing Cave Aura ( #23533 )
...
* Scripts/Spells: Remove Collapsing Cave Aura
* Rename 9999_99_99_99_world.sql to 2019_06_29_00_world.sql
2019-06-29 13:35:11 +02:00
Wyrserth
37bcf343e2
Add forgotten break to High Priest Thekal's script, thanks jackpoz!
2019-06-28 22:46:25 +02:00
jackpoz
de88691e25
Core/Misc: Fix static analysis issues reported by Coverity Scan
2019-06-28 22:18:30 +02:00
Sorikoff
62b2c379b3
Scripts/Spells: Deathbolt ( #23531 )
...
* Scripts/Spells: Deathbolt
* Rename 9999_99_99_99_world.sql to 2019_06_28_01_world.sql
2019-06-28 20:18:02 +02:00
Sorikoff
63f548921c
Scripts/Spells: Dimensional Ripper - Area 52 ( #23505 )
...
* Scripts/Spells: Dimensional Ripper - Area 52
* Rename 9999_99_99_99_world.sql to 2019_06_28_00_world.sql
2019-06-28 20:15:16 +02:00
Wyrserth
365e2f191e
Script/ZulGurub: rewrite High Priest Thekal's encounter script ( #23429 )
2019-06-27 21:03:29 +02:00
Keader
079b77b5fc
Script/FoS: prevent Wailing Souls from becoming desynched in the Devourer of Souls encounter.
2019-06-26 17:32:06 +02:00
Wyrserth
22b222b44e
Script/CoS: fix DB error and remove wrong on-death text for Chrono-Lord Epoch.
2019-06-26 12:06:45 +02:00
Aokromes
fe744977c9
Coding standards ( #23514 )
...
* Coding standards
* revert part
2019-06-26 08:56:20 +02:00
ccrs
ca62280675
Script/CoS: full instance rewrite ( #23388 )
2019-06-25 20:56:43 +02:00
ccrs
4a8736b829
Scripts/Misc: couple corrections to the recent PRs
2019-06-24 13:32:43 +02:00
Treeston
1158f267df
Combat/Threat: Split ThreatManager::NotifyDisengaged off from ThreatManager::ClearAllThreat. NotifyDisengaged signifies intent to clear the engagement flag, and should only be called from AI. Fixes #23490 .
2019-06-23 23:31:51 +02:00
Treeston
dbe3bbefe7
Core/Entities: Kick engagement logic upstairs to Unit (from ThreatManager), since all Units with AI need it (not just those with threat list). Fixes #17981 .
2019-06-23 00:32:13 +02:00
Sorikoff
ac7c72d633
Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind ( #23463 )
...
* Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind
* Revert "Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind"
This reverts commit a8055960
* Revert "Revert "Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind""
This reverts commit a5be792b
* Fix NoPCH
* Clean up
* Clean up
* fixup! Clean up
* Caster -> Target
* Rename 9999_99_99_99_world.sql to 2019_06_22_01_world.sql
2019-06-22 16:36:53 +02:00
Sorikoff
40b09e3df1
Scripts/Spells: Ultra-Advanced Proto-Typical Shortening Blaster ( #23456 )
...
* Scripts/Spells: Ultra-Advanced Proto-Typical Shortening Blaster
* Fix NoPCH
* Correct header
* fixup! Clean up
* Rename 9999_99_99_99_world.sql to 2019_06_22_00_world.sql
2019-06-22 09:44:23 +02:00
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