So, I've been experimenting to see a bit of what I can do with things. I decided to create an aura for the queen, that buffs allies, and debuffs enemies...based on how many enemies are withing range. After way too much trial and error, I finally have a working version. Currently, I have it purposefully over powered to stress the affects for testing purposes. It still isn't even remotely clean, but it atleast gets the job done:)
It replaces the skill "Entourage" 1-3, and Tribute.
One of the things I found on the side while messing with it, is the ability to display variables as floating text. ( Taken from TBs shatters )
local string = LOCF("%d Number of Targets", NumTargets)
FloatTextAt(table.copy(unit:GetFloatTextPosition()), string, 'Shatter')
In this example, the variable NumTargets is added to the front of the string "Number of Targets" which is then displayed as floating text. I placed this inside one of the functions called "OnAuraPulse". Every 1 second when the aura is pulsed, 2 functions are called to determine which buff to apply to allies, and which buff to apply to enemies...this is added into 1 of the functions, so that every 1 second you get a floating message telling you how many enemies are inside this Aura. VERY useful for debugging.
If you wish to not see this spammed every 1 second, simply comment out the 2 lines ( lines 8 and 9 ) like so:
# local string = LOCF("%d Number of Targets", NumTargets)
# FloatTextAt(table.copy(unit:GetFloatTextPosition()), string, 'Shatter')
Here is the download:
version = 1.0
VersionDate = 12/1/2009 2:36 AM
http://www.imperiuminferi.com/test/QueenAura.7z
I have fixed all major issues, and as such have made the latest release v1.0
There are still known issues, but they do not affect game play. If you run into anything I have not listed below, please do make sure to say something! Just do remember, this skill is currently overpowered on purpose to help making debugging easier for the time. Once I weed out the last of the minor issues, I will begin to work on the balance.
Known issues:
All buffs/debuffs uses the same Icon
"Natures Fury IV" still uses the tribute icon.
Cheers!