HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Adding attack bonuses through triggers

02-27-2007, 01:47 AM#1
darkwulfv
Ok, I'm making an ability that takes the number of units in the area around the caster and for each one adds a certain amount of attack through an equasion (yet to be determined, but probably something like:

.5(lvl * 3)

Anyways, how would one go about adding the specific amount of damage to a unit's attack? Using abilities based off of claws of attack?

Thanks
~Darkwulfv
02-27-2007, 01:52 AM#2
Chuckle_Brother
http://www.wc3jass.com/viewtopic.php?t=202

For that you just need bonus abilites: 1,2,4,8,16,32,64,128,etc.
02-27-2007, 02:01 AM#3
darkwulfv
Hey, thanks CB.

But is there any way to do it w/o a system? it's only for one ability =p. But I might use this for other things though... hmm...
02-27-2007, 02:15 AM#4
Pyrogasm
You could modify the hero's main attribute :P
02-27-2007, 02:34 AM#5
darkwulfv
But that causes other unneeded changes. This system will work fine, it's not as complicated as i thought it was.
02-27-2007, 04:04 PM#6
Chuckle_Brother
Great this is that it IS a system, so once you plop it in you can use it for other things. Extra dmg, armor, stats, etc on the fly is extremely useful.
08-23-2007, 02:13 AM#7
burningice95
You could give each of them a modified version of command aura, with a 10 AoE. Although, you would need many levels it.
08-23-2007, 03:34 AM#8
darkwulfv
... You are aware this thread is nearly 6 months old, and that this problem was solved as well?
08-23-2007, 04:57 AM#9
Pyrogasm
He tries.