Commit Graph
630 Commits
Author SHA1 Message Date
Nyeriah 3d2d2a97e0 Scripts/MoltenCore: Fix logic at Ragnaros' Magma Blast casts
(should only be cast while the main target is not in melee range)
2014-11-27 03:19:59 -02:00
Nyeriah 2ccd3137f4 Scripts/ScarletMonastery: Kill an unused parameter warning 2014-11-03 04:30:52 -02:00
joschiwald a951af7b52 Scripts: replaced various Location struct defines with proper Position or G3D::Vector3 2014-10-26 01:46:28 +02:00
Nyeriah 22f218540b Scripts/ScarletMonastery: Summon the Headless Horseman once the Call the Headless Horseman is quest complete
By @cr4st
Closes #13273
2014-10-20 13:30:57 -02:00
Intra 98e1e06830 Scripts/MC: Rework Shazzrah script and implement spell script
Closes #13317
2014-10-18 22:57:30 +02:00
jackpoz 79b9ca4a58 Scripts/Misc: Make InstanceScript::Initialize() obsolete
Move all InstanceScript initialization code from Initialize() to the constructor.
InstanceScript::Initialize() is now obsolete, please don't use it anymore. The only reason it's still in the sources is for backward compatibility.
2014-09-25 22:28:20 +02:00
jackpoz 16a884d999 Core/Misc: Refactor scripts to fix static analysis warnings
Eighth batch of fixes targeting 80 issues reported by Coverity
2014-09-25 21:19:34 +02:00
Malcrom 84fdc55db8 Scripting/Isle of Queldanas: Moved Converted Sentry to SAI.
Closes #13121
2014-09-25 12:10:19 -02:30
joschiwald e567ab9597 Core/Texts: added TextRange parameter to creature_text
Ranges:
0 - Normal (Default)
1 - Area
2 - Zone
3 - Map
4 - World

Ref #13116
2014-09-18 23:33:59 +02:00
Shauren 7d1d55124c Merge branch 'ObjectGuid' of https://github.com/TrinityCore/TrinityCore
Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Scripting/MapScripts.cpp
	src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp
	src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp
	src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp
	src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp
	src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp
	src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp
	src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp
	src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp
	src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp
2014-09-16 21:50:01 +02:00
Shauren 878073d516 Core/Logging: Fixed incorrect usage of guid in logs 2014-09-16 20:47:08 +02:00
Shauren 9b316fe689 Core/Scripts: Fixed PCH build 2014-09-16 00:44:56 +02:00
Shauren 5ac62d9ca3 Core/Scripts: Fixed build zone_* scripts 2014-09-15 23:57:03 +02:00
Shauren 48deb443f9 Core/Scripts: Fixed build of misc scripts, only zone_* and instance_* remain 2014-09-15 22:52:09 +02:00
Shauren a3d8f1d879 Core/Scripts: Fixed build of boss_* scripts 2014-09-15 22:07:11 +02:00
Shauren 6ce0a3107d Core/Scripts: Changed GetGUID/SetGUID script hooks to operate on ObjectGuid class
Fixed compile for boss scripts starting with letters B, C and D
2014-09-15 00:23:47 +02:00
Shauren 56f46e3ce5 Scripts
* Introduced GetGuidData/SetGuidData to store guids in instance scripts (GetData64/SetData64 are still there)
* CONDITION_INSTANCE_INFO: Changed existing DATA64 condition to GUID_DATA to preserve current use of this instance info type (most/all assume the data is a guid) and moved DATA64 to a different value - no db changes needed
* Fixed compile in boss scripts starting with letter A
2014-09-14 23:23:23 +02:00
Shauren a0e50ea35f Core/Entities: Use ObjectGuid class in game project 2014-09-14 16:14:12 +02:00
Vincent-Michael 5af2be7468 Scripts/Misc: Fix issues reported by static analysis 2014-09-13 23:15:00 +02:00
joschiwald 59baaeec48 Core/Chat: cleanup MonsterText methods 2014-09-13 20:41:31 +02:00
Shauren ce67a097bf Core/Entities: Use new PackedGuid class 2014-09-13 01:12:16 +02:00
MitchesD 1e3aa97098 Scripts/Misc: some small changes after recent commits 2014-09-11 15:22:30 +02:00
Nyeriah b35edcabb6 Scripts/AV: Drekthar updated to EventMaps 2014-09-11 03:25:15 -03:00
Nyeriah 561cc47a00 Scripts/AV: Captain Galvangar updated to EventMaps 2014-09-10 03:45:44 -03:00
Vincent-Michael f2655b2d2d Core: Remove whitespace (again, again, ...) 2014-09-07 22:22:16 +02:00
joschiwald cfc0c50b5e Core/Misc: dropped obsolete GameObject::GetGameObject method 2014-09-07 21:03:25 +02:00
jackpoz df7f188cfe Core/Misc: Refactor scripts to fix static analysis warnings
Fourth batch of fixes targeting 100 issues reported by Coverity
2014-09-07 20:12:54 +02:00
Nyeriah 62cfca23ce Core/Misc: Meh some white lines, an addition to last sql's comment and a spotted typo 2014-09-07 14:29:04 -03:00
Nyeriah 93a01b6d50 Scripts/AV: Balinda Stonehearth
- Updated to EventMaps
- Removed manual spawning of Water Elemental by using proper spell
* The Water Elemental has a duration, it'll despawn once it's over. She'll resummon it during the encounter if it dies or disappears.
* Fixes it's level scalling with owner.
- Moved Water Elemental AI to database.
- Script update
** Patch 3.1.0 (14-Apr-2009): Now casts Ice Block.
2014-09-07 14:20:26 -03:00
MitchesD 17be840d4d Scripts/ScarletMonastery: fix typo caused by copy-paste 2014-09-07 18:47:25 +02:00
MitchesD 46930876e2 Scripts/ScarletMonastery: Interrogator Vishas updated to BossAI and EventMap 2014-09-07 18:43:58 +02:00
Nyeriah 2dc45fafe6 Scripts/Stratholme: Move Freed Soul AI to database and a small addition
- They should follow players until they despawn
2014-09-07 01:08:42 -03:00
Vincent-Michael c7e1eae2ce Core: Remove again whitespace (meh :/) 2014-09-07 04:06:50 +02:00
Nyeriah c585ce5b3c Core/Misc: Clear some outdated SD2 notes from recently modified scripts 2014-09-06 22:51:59 -03:00
Nyeriah 8379f0f470 Scripts/Scholomance: Kormok
- Updated to EventMaps
- Replaced some hacks to summon adds with proper spells, but there might be still missing stuff
2014-09-06 22:45:36 -03:00
joschiwald ef9b4aea5e Core/InstanceScript: refactored load and save methods 2014-09-07 00:42:14 +02:00
Nyeriah 25f75501ef Scripts/Scholomance:
- Updated Ras Frostwhisper to EventMaps
- Updated Vectus to EventMaps
2014-09-06 15:37:46 -03:00
jackpoz 6df2ff5efa Core/Misc: Refactor scripts to fix static analysis warnings
Third batch of fixes targeting 100 issues reported by Coverity
2014-09-05 22:44:24 +02:00
Nyeriah b7f5080c9b Scripts/Scholomance: Jandice Barov
- Updated to EventMaps
- Removed hack to spawn illusions
- Moved Illusion's script to SAI
- Corrected Illusion's unit_flags
2014-09-04 22:50:26 -03:00
jackpoz 53d3becf3c Core/Misc: Refactor scripts to fix static analysis warnings 2014-09-03 22:11:41 +02:00
Nyeriah d698d28a31 Scripts/SWP: Update M'uru script to EventMaps/BossAI 2014-09-03 04:22:29 -03:00
jackpoz dd4dbdcd16 Core/Misc: Refactor scripts to fix static analysis warnings
First batch of fixes targeting 100 issues reported by Coverity
2014-08-31 20:42:02 +02:00
joschiwald 831a6603d4 Core/Battleground/AV: convert trinity_strings to proper creature_text
Closes #12861
2014-08-30 03:34:35 +02:00
joschiwald 01380c66bf Core/Misc: some random changes after recent pull requests 2014-08-29 17:46:55 +02:00
Vincent-Michael eccb0ed3da Scripts/Quest: Fix some movement stuff for Quest "Death Comes From On High" 2014-08-28 20:17:43 +02:00
DDuarte 430b3adfe8 Scripts: Correct despawn time of multiple objects
WorldObject::SummonGameObject respawn time is in seconds and not milliseconds
2014-08-26 13:37:55 +01:00
Vincent-Michael 79b954a349 Core: meh, remove again whitespace :( 2014-08-24 02:46:14 +02:00
jackpoz 7fe7f30521 Core/Misc: Fix some -Wconversion warnings 2014-08-23 19:56:41 +02:00
MitchesD e80a19a0f1 Scripts/ScarletMonastery: rewritten InstanceScript and some bosses converted to BossAI and eventmap 2014-08-10 23:14:39 +02:00
jackpoz 8402570bb8 Scripts/Misc: Fix static analysis issues
Replace CAST_AI() macro with ENSURE_AI() when dynamic_cast is not supposed to return NULL.
2014-08-09 00:12:20 +02:00