diff options
author | Vincent_Michael <Vincent_Michael@gmx.de> | 2013-03-07 23:00:41 +0100 |
---|---|---|
committer | Vincent_Michael <Vincent_Michael@gmx.de> | 2013-03-07 23:00:41 +0100 |
commit | a196ab60c3c38ed4f986b2a563880e43f1014f99 (patch) | |
tree | 292d13388e7eb741e21e044c08ba108f5badee33 /src | |
parent | 36495966c002f76a6b17c2b468b6f32958d84f4a (diff) | |
parent | 3a9c26225ef9737cac3095ab8aa24e271b9800f0 (diff) |
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Diffstat (limited to 'src')
5 files changed, 14 insertions, 10 deletions
diff --git a/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp b/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp index dbc772f3e5a..ca2b85f66a9 100644 --- a/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp +++ b/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp @@ -38,6 +38,7 @@ EndContentData */ #include "ScriptedGossip.h" #include "Cell.h" #include "CellImpl.h" +#include "GridNotifiersImpl.h" #include "GridNotifiers.h" /*###### diff --git a/src/server/scripts/Kalimdor/zone_moonglade.cpp b/src/server/scripts/Kalimdor/zone_moonglade.cpp index f42d1ce1450..e5dc84c607e 100644 --- a/src/server/scripts/Kalimdor/zone_moonglade.cpp +++ b/src/server/scripts/Kalimdor/zone_moonglade.cpp @@ -33,9 +33,10 @@ EndContentData */ #include "ScriptedGossip.h" #include "Player.h" #include "SpellInfo.h" +#include "GridNotifiers.h" +#include "GridNotifiersImpl.h" #include "Cell.h" #include "CellImpl.h" -#include "GridNotifiers.h" /*###### ## npc_bunthen_plainswind diff --git a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp index df829f27c0c..27331acca2b 100644 --- a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp +++ b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp @@ -19,9 +19,13 @@ SDName: Boss Malygos Script Data End */ -/* Add support for using Exit Portal while on drake and find why at 100 Z ground - falling creature/player bodies aren't stopped (when players reach it should die). - Also there is release button unavailability sometimes not sure why. */ +/* Main problems needing most attention: + 1) Add support for using Exit Portal while on drake which means to + find seat flag that allows casting on passenger or something that + will prevent valid target filtering. + 2) Find what cause client not sending release now availability + if player dies after far falling. For now player needs to logout to get body after + if release button remain unavailable after box popping.*/ #include "ScriptMgr.h" #include "ScriptedCreature.h" @@ -2174,9 +2178,7 @@ class spell_alexstrasza_bunny_destroy_platform_boom_visual : public SpellScriptL void HandleDummy(SpellEffIndex /*effIndex*/) { if (Creature* target = GetHitCreature()) - { target->CastSpell(target, SPELL_DESTROY_PLATFORM_EVENT); - } } void Register() @@ -2215,14 +2217,13 @@ class spell_alexstrasza_bunny_destroy_platform_event : public SpellScriptLoader void HandleScript(SpellEffIndex /*effIndex*/) { - Creature* caster = GetCaster()->ToCreature(); - caster->CastSpell(caster, SPELL_SUMMON_RED_DRAGON_BUDDY_F_CAST, true); + GetCaster()->CastSpell((Unit*)NULL, SPELL_SUMMON_RED_DRAGON_BUDDY_F_CAST); } void Register() { OnEffectHit += SpellEffectFn(spell_alexstrasza_bunny_destroy_platform_event_SpellScript::HandleSendEvent, EFFECT_0, SPELL_EFFECT_SEND_EVENT); - OnEffectHitTarget += SpellEffectFn(spell_alexstrasza_bunny_destroy_platform_event_SpellScript::HandleScript, EFFECT_2, SPELL_EFFECT_SCRIPT_EFFECT); + OnEffectHit += SpellEffectFn(spell_alexstrasza_bunny_destroy_platform_event_SpellScript::HandleScript, EFFECT_2, SPELL_EFFECT_SCRIPT_EFFECT); } }; diff --git a/src/server/scripts/Spells/spell_holiday.cpp b/src/server/scripts/Spells/spell_holiday.cpp index 90bb689a9a9..37b6a202ed4 100644 --- a/src/server/scripts/Spells/spell_holiday.cpp +++ b/src/server/scripts/Spells/spell_holiday.cpp @@ -27,6 +27,7 @@ #include "SpellScript.h" #include "SpellAuraEffects.h" #include "GridNotifiers.h" +#include "GridNotifiersImpl.h" #include "CellImpl.h" // 45102 Romantic Picnic diff --git a/src/server/shared/Database/SQLOperation.h b/src/server/shared/Database/SQLOperation.h index 0c000848477..400355e7c76 100644 --- a/src/server/shared/Database/SQLOperation.h +++ b/src/server/shared/Database/SQLOperation.h @@ -59,7 +59,7 @@ class MySQLConnection; class SQLOperation : public ACE_Method_Request { public: - SQLOperation(): m_conn(NULL) {}; + SQLOperation(): m_conn(NULL) {} virtual int call() { Execute(); |