aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Northrend
diff options
context:
space:
mode:
authorjoschiwald <joschiwald.trinity@gmail.com>2014-10-26 01:46:28 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2014-10-26 01:46:28 +0200
commita951af7b52992b47d6bf02a0f44561dcc079da6b (patch)
treef92f24fb15af59803781773fe22f39bb860b63e1 /src/server/scripts/Northrend
parent395bcaa2153dac4010c9fe89c34faeb68398a13a (diff)
Scripts: replaced various Location struct defines with proper Position or G3D::Vector3
Diffstat (limited to 'src/server/scripts/Northrend')
-rw-r--r--src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp7
-rw-r--r--src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp2
2 files changed, 6 insertions, 3 deletions
diff --git a/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp b/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp
index 8a0921b604b..3f882e0b99e 100644
--- a/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp
+++ b/src/server/scripts/Northrend/Nexus/Oculus/oculus.cpp
@@ -31,6 +31,9 @@ enum GossipNPCs
GOSSIP_MENU_ETERNOS = 9574,
GOSSIP_MENU_BELGARISTRASZ = 9575,
+ SPELL_CREATE_EMERALD_ESSENCE = 49382, // no effects in spell_dbc
+ SPELL_CREATE_AMBER_ESSENCE = 49447, // no effects in spell_dbc
+ SPELL_CREATE_RUBY_ESSENCE = 49450, // no effects in spell_dbc
ITEM_EMERALD_ESSENCE = 37815,
ITEM_AMBER_ESSENCE = 37859,
ITEM_RUBY_ESSENCE = 37860
@@ -48,7 +51,7 @@ enum Drakes
SPELL_RUBY_EVASIVE_AURA = 50248, // Instant - Allows the Ruby Drake to generate Evasive Charges when hit by hostile attacks and spells.
SPELL_RUBY_EVASIVE_CHARGES = 50241,
SPELL_RUBY_EVASIVE_MANEUVERS = 50240, // Instant - 5 sec. cooldown - Allows your drake to dodge all incoming attacks and spells. Requires Evasive Charges to use. Each attack or spell dodged while this ability is active burns one Evasive Charge. Lasts 30 sec. or until all charges are exhausted.
- // you do not have acces to until you kill Mage-Lord Urom
+ // you do not have access to until you kill the Mage-Lord Urom
SPELL_RUBY_MARTYR = 50253, // Instant - 10 sec. cooldown - Redirect all harmful spells cast at friendly drakes to yourself for 10 sec.
/*
@@ -112,7 +115,7 @@ class npc_verdisa_beglaristrasz_eternos : public CreatureScript
void StoreEssence(Player* player, uint32 itemId)
{
- /// @todo: should be handled by spell, but not found in dbc (49450 and other?)
+ /// @todo: implement with spells
uint32 count = 1;
ItemPosCountVec dest;
uint8 msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, itemId, count);
diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp
index bacb63b73bc..c6e4f40ef58 100644
--- a/src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp
+++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp
@@ -58,7 +58,7 @@ enum Misc
MAX_TEMPEST_MINIONS = 4
};
-struct Position TempestMinions[MAX_TEMPEST_MINIONS] =
+Position const TempestMinions[MAX_TEMPEST_MINIONS] =
{
{-203.980103f, -281.287720f, 91.650223f, 1.598807f},
{-233.489410f, -281.139282f, 91.652412f, 1.598807f},