| 09-02-2009, 11:05 PM | #1 |
I'm working on a new RPG and one of the classes (Necromancer) will be able to summon necro-like stuff such as skeletons, golems... you know what all that is lol. But anyway is there any possible way to make the summons scale with how powerful the user is? Such as having life and damage and such based off the necromancer's stats. +Rep if anyone can give me a hand with this |
| 09-02-2009, 11:14 PM | #2 |
Life and mana: call SetUnitState(yourunit, UNIT_STATE_MAX_LIFE, yourvalue) call SetUnitState(yourunit, UNIT_STATE_MAX_MANA, yourvalue) There's also a function that changes the scaling of the model, but there doesn't seem to be something for damage dealt or armor... I know, it's sad... EDIT: Shhh... I didn't say anything... the answer is in the post below this... (facepalm) |
| 09-02-2009, 11:17 PM | #3 |
SetUnitMaxState |
| 09-02-2009, 11:39 PM | #4 | |
Quote:
I'm a GUI guy with very little JASS knowledge so if you could elaborate I would appreciate that :) |
| 09-02-2009, 11:48 PM | #5 | |
Quote:
GUI? Ouch, you're in trouble here... he means that you may use one of these three systems: 1 2 3 (And I'm pretty sure there's more of them around) However, as I said above, the best you can do with these systems is scaling only life and mana, for damage and armor I don't think there are methods other than massive Object Editing or giving damage/armor bonuses via triggers. |
| 09-03-2009, 07:15 AM | #6 |
What about using upgrades? You can just increase the level of the upgrade of your units whenever the necromancer guy gets a level or something? Well at least that's what I did in my first GUI map :p |
| 09-03-2009, 01:53 PM | #7 |
The summons need to scale with the necromancer's stats, upgrades are out of the question as stats can change, while an upgrade can only keep going up. |
| 09-03-2009, 02:21 PM | #8 |
http://www.thehelper.net/forums/showthread.php?t=81466 and http://www.thehelper.net/forums/showthread.php?t=127278 Will both work as I want them to, it will just require some tweaking, thank you all for the help :) |
| 09-03-2009, 02:38 PM | #9 |
Unit properties is the solution for ALL your needs, but it requires vJASS knowledge to use it. Conclusion: GUI is fucking your modding interest, learn JASS / vJASS |
