| 05-19-2006, 03:17 AM | #1 |
Alright, since my summonable heroes are based off of the caster's stats, this requires them(the summons) to be at the same level of the caster at ALL times. I've figured out how to set the level of the summonable to match the caster when the spell is cast. But, I've ran into two problems: 1. How do I make sure that when the caster gains a level, the summon will gain a level as well when it's alive? 2. How do I make it so that the summonable hero doesn't suck up half of the exp. gotten from defeating enemies? The caster hero should always get 100% of the exp even if the summoned hero helps in defeating creeps. Anyone's help is welcomed. If I am not being clear enough about the questions, just say so. Thanks again. |
| 05-19-2006, 07:35 AM | #2 |
1. Unless you have only one hero per player, you have to store the summoned unit in a variable that's specific to it's hero (read my reply in your other topic). Then you can easily get that unit and level it up when your hero does. 2. Difficult, unless you transfer xp from the summoned unit to the hero. You can calculate how much experience the summoned unit needs to keep it's level and transfer anything more it gets from it to the hero. |
| 05-19-2006, 09:34 AM | #3 |
Just disable the experience gain for the summoned unit and uncheck the gameplay constant that says "Top level heros use XP" or something along those lines. |
