I have a unique boss encounter at the end of a dungeon I'm setting up. My TODO list for this boss is as follows:
1) Set up a main spawner named "Boss1Spawner" - This spawner will spawn the boss, itself.
CODE |
ArcaneDaemon/name/The Warden Master/HitsMaxSeed/INC,200/Hits/INC,400/DamageMax/INC,13/ DamageMin/INC,7/direction/East/ColdResistSeed/INC,10/EnergyResistSeed/ INC,10/PhysicalResistanceSeed/INC,10/PoisonResistSeed/ INC,10/FireResistSeed/INC,10/StamMaxSeed/INC,500/Stam/INC,500
|
2) Set up two AoE damage abilities via xml spawners.
The first of which has a message show above the bosses' head: *Lets loose a beastial roar from its' gaping maw!*, and does damage to players in range 3, as well as heals the boss for 150 health, and will also remove any poison effects on it at the time. The boss will only use this ability if under 600 health. It will repeat this every 15-20 seconds.
My code for this is as follows:
CODE |
1 IF/GETONSPAWN,Boss1Spawner,1,hits<600/2
2 SETONNEARBY,500,The Warden Master,basecreature/ MSG/*Lets loose a beastial roar from its' gaping maw!*/DAMAGE,50,20,20,20,20,20,3/Poison/None/Hits/INC,150
|
The second of which will have the boss say "GUARDS! INTRUDERS!", dealing a small amount of damage in range 3, healing the boss for 200 health and will spawn 4 slightly buffed, and renamed bone knights named "The Wardens' Guard" The boss will only use this ability if under 400 health.
My code for this is as follows:
CODE |
1 IF/GETONSPAWN,Boss1Spawner,1,hits<400/2
2 SETONNEARBY,500,The Warden Master,basecreature/MSG/GUARDS! INTRUDERS!/DAMAGE,40,20,20,20,20,20,3/Hits/INC,200
3 boneknight/name/The Wardens' Guard/Hits/INC,100
|
3) Beat myself up until these are working properly
Now, as of right now 1, and 3 are working perfect. There are elements of 2 that are working well enough, but not how I intended. Essentially I am not exactly sure what I'm doing wrong (or doing, for that matter, as should be apparent from the code!). I have proximity set to 6, as well as the durations set to reflect the intended time span between ability uses. What happens at this point is that when I drop out of GM mode they spam the ability a few times then switch, which has this thing able to literally machine gun balrons from 100% to dead in a few seconds. Albeit it's hilarious to watch as a GM with invul, it is certainly not the intention.
I appreciate any help!
You have the refractory time set as your time delay before the AOE uses? If you're using Duration, I believe that is wrong as that is used for despawning mobiles and Items I believe. Refractory is the timer set for triggered spawns which it looks like your using.