HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Primary Attirbute help

03-29-2006, 09:53 PM#1
Linera
How can i have it give exactly 1 damage for every 14 points of Strength?
03-29-2006, 10:36 PM#2
Taur
go to gameplay constants, and scroll down till u see damage per primary attribute or something. It will be 1, change that to 0.07 (that should be it)

but this will also affect agility and strength
03-29-2006, 10:47 PM#3
Linera
it gave 1 damage when i had only 13 in primary attirbute
03-29-2006, 11:03 PM#4
aquilla
did you try 0.06? Othervise I don't think it's possible (without triggering the whole thing :|)
03-29-2006, 11:07 PM#5
Taur
try dividing 1 by 14, the resulting answer should go into that space, but I got 0.0714... and as far as I know the editor allows only 2 decimal places, but if I'm wrong make it 0.071 and see if it works. If not, you'll have to live with wc3 rounding it, it might go like this:

13 ->27 -> 40 -> 54

so it'll alternate between 13 & 14.
03-29-2006, 11:07 PM#6
Linera
the still gave 1 damage with only 13 of main attirbute
03-29-2006, 11:24 PM#7
aquilla
Quote:
Originally Posted by Taur
so it'll alternate between 13 & 14.
that would interfer with the display though

(Did you try 0.06?)

Is there a specific reason to why you need it to be 14 str per dmg? I suppose you could always use a trigger to check the hero's strength when it levels/uses an item and give it a dmg tome.
03-29-2006, 11:58 PM#8
Linera
I found a way to increase and decrease at will, so I'm gonna use triggers to set it.