Right now I have an ability that allows my hero to generate shields when activated for 10 seconds (+10shield regeneration per second). What I want to do is when i put more levels into it have it increase the regeneration amount (i.e. from +10sields/sec to level 2: +15shields/sec etc...) When I add new levels to the ability the only options I can see for further increasing the level is lowering the cost (i.e. cooldown) Right now its on a 50 second cool down and I want to keep it like that as the ability gets more levels put into it. Again I would not like to lower the cooldown, but increase the regen rate how should I go about doing this?
you have to re-create all of the effects with the increased/decreased values and add those to the ability under "effects" just how you added the 1st level, and you would have to do that for each level.
Check out this tutorial for more info, it involves this and other hero related ability things
Err... Add 3 values into the cooldown array (50 was it?). The cd array should look like this (50|50|50)
I'm not sure bifuu covered fields specifically. Then again I'm just guessing, haven't seen it. =P
What I always do when I have abilities that add buffs, is I have it execute a set that does every "Apply Behavior" effect for each buff, and then set validators for each one to make sure that only the correct one gets applied. I don't know about heroes, so I'm not sure how you would go about making a validator that checks the ability level. I always do it with upgrades though.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Right now I have an ability that allows my hero to generate shields when activated for 10 seconds (+10shield regeneration per second). What I want to do is when i put more levels into it have it increase the regeneration amount (i.e. from +10sields/sec to level 2: +15shields/sec etc...) When I add new levels to the ability the only options I can see for further increasing the level is lowering the cost (i.e. cooldown) Right now its on a 50 second cool down and I want to keep it like that as the ability gets more levels put into it. Again I would not like to lower the cooldown, but increase the regen rate how should I go about doing this?
Thank you
you have to re-create all of the effects with the increased/decreased values and add those to the ability under "effects" just how you added the 1st level, and you would have to do that for each level.
Check out this tutorial for more info, it involves this and other hero related ability things
http://forums.sc2mapster.com/development/tutorials/1333-video-data-wc3-hero-ability-emulation/#p6
@Etravex: Go
Err... Add 3 values into the cooldown array (50 was it?). The cd array should look like this (50|50|50)
I'm not sure bifuu covered fields specifically. Then again I'm just guessing, haven't seen it. =P
@zifoon: Go
What I always do when I have abilities that add buffs, is I have it execute a set that does every "Apply Behavior" effect for each buff, and then set validators for each one to make sure that only the correct one gets applied. I don't know about heroes, so I'm not sure how you would go about making a validator that checks the ability level. I always do it with upgrades though.