Scripts/Ulduar:

* Codestyle changes to Assembly of Iron script
* Fixed targeting for Rune of Power
* Fixed Brundir's Lightning Tendrils
* Fixed case when Brundir is killed somewhere in the air - he will fall on the ground now
* Move Kologarn's criteriaId for timed achievement to header file
This commit is contained in:
Lopin
2011-06-28 21:19:48 +02:00
parent 1eff27f57c
commit 7d1e0db5ec
4 changed files with 544 additions and 527 deletions

View File

@@ -0,0 +1,17 @@
DELETE FROM `spelldifficulty_dbc` WHERE `id` BETWEEN 3251 AND 3261;
INSERT INTO `spelldifficulty_dbc` (`id`,`spellid0`,`spellid1`,`spellid2`,`spellid3`)
VALUES
-- Steelbreaker
(3251,61980,63498,0,0),
(3252,61903,63493,0,0),
(3253,44008,63494,0,0),
(3254,64637,61888,0,0),
-- Runemaster Molgeim
(3255,62274,63489,0,0),
(3256,62277,63967,0,0),
(3257,62052,63492,0,0),
-- Stormcaller Brundir
(3258,61879,63479,0,0),
(3259,61869,63481,0,0),
(3260,61915,63483,0,0),
(3261,61887,63486,0,0);

View File

@@ -85,11 +85,6 @@ enum Yells
SAY_BERSERK = -1603238,
};
enum Achievemments
{
ACHIEV_DISARMED_START_EVENT = 21687,
};
class boss_kologarn : public CreatureScript
{
public:
@@ -200,7 +195,7 @@ class boss_kologarn : public CreatureScript
if (!right && !left)
events.ScheduleEvent(EVENT_STONE_SHOUT, 5000);
instance->DoStartTimedAchievement(ACHIEVEMENT_TIMED_TYPE_EVENT, ACHIEV_DISARMED_START_EVENT);
instance->DoStartTimedAchievement(ACHIEVEMENT_TIMED_TYPE_EVENT, CRITERIA_DISARMED);
}
else
{

View File

@@ -169,7 +169,11 @@ enum UlduarTowerEvents
EVENT_TOWER_OF_LIFE_DESTROYED = 21030,
};
#define CRITERIA_CON_SPEED_ATORY 21597
enum UlduarAchievementCriteriaIds
{
CRITERIA_CON_SPEED_ATORY = 21597,
CRITERIA_DISARMED = 21687,
};
template<class AI>
CreatureAI* GetUlduarAI(Creature* creature)