HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Changing Stats of Hero Ingame?

11-11-2003, 04:39 AM#1
Bolt
Is it possible to change stats of hero ingame? Like say when you reach event you want the str of that unit to +30, agility to -30 and Intelligence to +10.

And, how about changing what skills a hero ability can learn? Ie, say a certain event and then it gives you this spell to learn.
11-11-2003, 07:27 AM#2
Thunder-Hunter
I think its possible. Gimme a night and I will check it out.. so sleepy.
11-11-2003, 11:44 AM#3
ObsidianTitan
Changing unit stats can be done using umswe.

If you dont use umswe you can try to learn jass, i think there is a way using that.

As far as i know changing hero ability's cannot be done ingame. What you could do is change what ability's a hero can learn with triggers. Set up non hero ability's and make them work like hero ability's(either by having different ability's being for each level or having multiple levels and use upgrades.)

Thunder hunter might come up with something that i havent thought of, but this is how i would do it.
11-11-2003, 12:59 PM#4
Biflspud
Give the hero the ability Item Stat Bonus where appropriate - you can even do a For 1 to x loop and give them Item Strength Bonus +1s until you've given the needed amount. Since WE won't take negative values for Item Stat Bonuses, all you need to do to lower the points is remove the needed number of stat bonuses.
11-13-2003, 05:39 AM#5
Bolt
ObsidianTitan: You mentioned about changing stats with UWMSE. Which trigger functions would it be under/use?
11-13-2003, 05:52 AM#6
ObsidianTitan
Its under the hero section.

Its called Modify hero attribute, and set hero (str\agi\int).
11-13-2003, 09:08 AM#7
Bloodlust
just give the hero tomes. give him + and - tomes (change stat gain abilitY)