HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Aura Template

08-03-2005, 01:42 AM#1
Setreal
Since there's no Lord Vexorian's forum at the moment I suppose I'll just post this here. I'm using the auras template for an aura that adds to nearby unit's maximum hp. It works fine at lv 1 but beyond that starts going out of wack. At lv 2 it adds the lv 1 and beyond that doesn't add any bonus at all. But when they leave the aura's range they still lose the bonus, ending up with lower hp then they started with except on lv 1 which works perfectly fine.

Quote:
// Conviction Aura ('A01J')
//
set s=SetPassiveTemplate('A01J',"AuraTemplate")
set D=0 //Conviction target Options :
set D=D+DamageIgnore(UNIT_TYPE_STRUCTURE) //Ignores structures
set D=CreateDamageOptions(D) //Save the damage options

call SetAbilityDataInt( s,"options",0,D)
call SetAbilityDataReal(s,"area", 0, 800 )
call SetAbilityDataInt( s,"spell1id",0, 'A078')
call SetAbilityDataInt( s,"n", 0, 1)
call SetAbilityDataInt( s,"good", 0, 1)
08-03-2005, 11:12 PM#2
Vexorian
http://vexorian.wc3campaigns.com

Send your map there (A version of your map with just the aura template aura that is failing)
08-04-2005, 09:08 AM#3
Anitarf
Hmm... It is possible the item-hp-bonus ability (which I assume you're using) is also one of the many item abilities which are bugged and don't allow you to level them up properly.
08-04-2005, 12:21 PM#4
Setreal
Ok I sent it in, thanks in advance.