General information, cus why not …
Since I haven’t released a script for quite some time and actually never scripted anything with the Eluna Lua Engine, I decided to do a boss script to get more familiar with the API (nothing works better than a boss script for that ..). I also tried to use an alternative way of scripting bosses, using closure based "classes" (sort of .. ), which worked out quite well in my opinion.
The boss "Arthura"
Arthura is a val’kyr boss and has two phases, a light one and a dark one. In phase one, the light phase, Arthura has three spells:
- Smite, which is casted on a random player;
- Holy Fire, which is casted on three random players at once;
- Disarm, she will disarm the tank every now and then.
Apart from the spells there are a few things that will make the encounter more interesting during the light phase. This phase is all about the damage per second done, seeing as Arthura will have opportunities to heal herself, and your healers mana won’t last forever.
Arthura will heal herself each second for 0,1% of her total health. Secondly every 20 seconds a npc start walking towards Arthura. This npc must be killed as fast as possible, because if it reaches Arthura then Arthura will heal herself for 5% of her maximum health.
As a last addition, Arthura will cast an area of effect spell every 30 seconds that will kill everyone on hit. To prevent dying, players will have to stand in one out of two area’s marked on the ground. This will only reduce most of the damage and players will still be taking damage equivalent to the amount of players in that area. The tactic here is to get in the area, but also split the raid in half to fill both area’s. If only one area is filled, the damage done to the players in that area will be multiplied by 5.
The dark phase will start at a health percentage of 50% and lower. In this phase Arthura will have five spells available:
- Shadow Cleave, which will hit anyone in front of her;
- Shadow Strike, this is a debuff that is cast on the tank and deals damage of time;
- Death and Decay, who doesn’t know this spell …;
- Dark Shell, which will reflect all spells and deals 1500 damage to the player on a melee attack for 6 seconds;
- Shadowbolt, which is cast on the entire raid.
Yet again there is more to it then the spells. In this phase, there will be a lot of pressure on the healers. There’s a lot of aoe damage going on. Aside from the AoE spells that Arthura has, she will also be dealing 4000 damage to the entire raid every 5 seconds. To make things worse, a dark void zone will spawn on the ground every 30 seconds, dealing 3500-4500 damage each seconds. This zone will keep growing until “one” player enters the portal that spawned, and kills the npc that he will find inside.
The script (and SQL file)