HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Add normal units armor/mana

08-13-2004, 05:16 AM#1
|)@rk-Revenant
How do you add armor or mana to a normal unit, with the effect being permenant. I plan on using this for a map im using, and i already made it so the unit gains health and attack permanently. How do i do the mana/armor?
08-13-2004, 06:27 AM#2
RedXIII
oh man thast hard specially the armour I wanted once to refer the triggers to the units armour but no good
08-13-2004, 07:22 AM#3
Anitarf
Try with adding abilities based on item abilities for bonus armor and mana.

p.s.: How did you get the units to gain hp permanently?
08-13-2004, 07:29 AM#4
Pheonix-IV
Use upgrades or use the item abilities to gain armor and mana, i'm pritty sure they stack.
08-13-2004, 08:24 PM#5
|)@rk-Revenant
the point is to not use items as that if the unit picks up a passive item that boosts agility/strength/intelligence the game crashes. I have used the other system by giving the unit 0 item spaces but when a unit dies it gives the killer the power-up item. I guess i need to know JASS to do this.
08-13-2004, 10:46 PM#6
Vexorian
Use bonus mod http://www.wc3campaigns.com/showthread.php?t=47554
08-14-2004, 12:11 AM#7
Pheonix-IV
NO! Use the item ABILITIY and give the unit that ability whenever u upgrade its attack\hp\mana. Giving the unit multiple versions of that ability should stack.

If the attack\mana\hp\armor never has to go down then use upgrades.
08-14-2004, 03:11 AM#8
weaaddar
No it doesn't. Thats why bonus mod exists. You can't give the unit the same ability multiple times. You can give it multiple abilities based on the same ability though. Bonusmod is a solution set to this problem. It is an engine that will be give you the right abilities to get the bonus you seak. (Current version's range is -1024 to 1023)
08-14-2004, 03:48 AM#9
Pheonix-IV
Oh, so i guess the system i'm currently using in front of me dosnt work... Wait a sec, yes it does.
08-14-2004, 11:39 PM#10
Vexorian
Quote:
Originally Posted by Pheonix-IV
Oh, so i guess the system i'm currently using in front of me dosnt work... Wait a sec, yes it does.
Adding multiple item abilities, is what bonus mod does, but it uses a math system to use as less abilities as possible and in the shape of functions
08-15-2004, 12:01 AM#11
Pheonix-IV
you just countered Weaddar completly, he said that adding multiple abilities dosnt work, you just said it does, make up your mind.

I am sitting here, staring at a trigger that adds the item ability that adds 5 damage to a unit every 2 seconds, and i'm staring at the unit who's attack is going up by 5 ever 2 seconds.
08-15-2004, 12:09 AM#12
Vexorian
Err, adding multiple item abilities == Adding different item abilities, if you add an item ability twice to a unit the bonus won't stack, this is a patch 1.13 change, and made GetUnitAbilityLevel possible
08-15-2004, 12:25 AM#13
Pheonix-IV
Really? So how come its working for me?
08-15-2004, 12:33 AM#14
Vexorian
what patch do you have?
08-15-2004, 12:36 AM#15
Pheonix-IV
Running on the beta patch, but it worked on whatever one thats before the beta patch too.