Skip to content

Commit 5fa8ee5

Browse files
committed
[c3001] Fix build for CMaNGOS c12867
Close #7 (based on commit [3001] - 457ae94) Signed-off-by: Xfurry <[email protected]>
1 parent 31a6623 commit 5fa8ee5

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

scripts/eastern_kingdoms/karazhan/boss_shade_of_aran.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ struct MANGOS_DLL_DECL boss_aranAI : public ScriptedAI
206206
return;
207207

208208
// Start drinking when below 20% mana
209-
if (!m_bIsDrinking && m_creature->getPowerType() == POWER_MANA && (m_creature->GetPower(POWER_MANA) * 100 / m_creature->GetMaxPower(POWER_MANA)) < 20)
209+
if (!m_bIsDrinking && m_creature->GetPowerType() == POWER_MANA && (m_creature->GetPower(POWER_MANA) * 100 / m_creature->GetMaxPower(POWER_MANA)) < 20)
210210
{
211211
if (DoCastSpellIfCan(m_creature, SPELL_MASS_POLYMORPH) == CAST_OK)
212212
{

scripts/northrend/icecrown_citadel/icecrown_citadel/boss_deathbringer_saurfang.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ struct MANGOS_DLL_DECL boss_deathbringer_saurfangAI : public ScriptedAI
118118
boss_deathbringer_saurfangAI(Creature* pCreature) : ScriptedAI(pCreature)
119119
{
120120
m_pInstance = (instance_icecrown_citadel*)pCreature->GetInstanceData();
121-
m_powerBloodPower = m_creature->getPowerType();
121+
m_powerBloodPower = m_creature->GetPowerType();
122122
m_bIsIntroDone = false;
123123
Reset();
124124
}

sd2_revision_nr.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#ifndef __SD2_REVISION_NR_H__
22
#define __SD2_REVISION_NR_H__
3-
#define SD2_REVISION_NR "3000"
3+
#define SD2_REVISION_NR "3001"
44
#endif // __SD2_REVISION_NR_H__

sd2_revision_sql.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#ifndef __SD2_REVISION_SQL_H__
22
#define __SD2_REVISION_SQL_H__
3-
#define REVISION_DB_SCRIPTDEV2 "required__scriptdev2"
4-
#define REVISION_DB_SD2_MANGOS "required__mangos"
3+
#define REVISION_DB_SCRIPTDEV2 "required__scriptdev2"
4+
#define REVISION_DB_SD2_MANGOS "required__mangos"
55
#endif // __SD2_REVISION_SQL_H__

sql/scriptdev2_script_full.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--
44

55
DELETE FROM sd2_db_version;
6-
INSERT INTO sd2_db_version (version) VALUES ('ScriptDev2 (for CMaNGOS c12813+) ');
6+
INSERT INTO sd2_db_version (version) VALUES ('ScriptDev2 (for CMaNGOS c12867+) ');
77

88
--
99
-- Below contains data for table `script_texts` mainly used in C++ parts.

sql/updates/r3001_scriptdev2.sql

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
UPDATE sd2_db_version SET version='ScriptDev2 (for CMaNGOS c12867+) ';

0 commit comments

Comments
 (0)