PDA

View Full Version : simple spell request


EliTe
06-28-2012, 03:15 PM
can i request a skill for my grunt colonel hero named sturdiness?

While not attacked, the Grunt Colonel gains 3/5/7/9% attack and movement speed and 1/2/3/4% better regeneration? can you pls make it simple the simpler the better thank you in advance.

defskull
06-28-2012, 05:37 PM
1/2/3/4% better regeneration
4% from... ?
Current regeneration ?
I think yes, we can track down values for custom regeneration (such as custom spell) but how to detect natural regeneration ?

I think it's pretty inaccurate even if you use some sort of trickery to detect the natural regeneration.

Vladadamm
06-29-2012, 03:59 PM
4% from... ?
Current regeneration ?
I think yes, we can track down values for custom regeneration (such as custom spell) but how to detect natural regeneration ?
What about increasing a value everytime your unit is healed (with spells and such) and decreasing it if damaged.
(reduce/increase = damages/heals)

Then, OldLife (the one at the previous second) - NewLife (the actual one) + The value counting damages/healing = Regeneration

This would need a complete triggering for every damages or heal.

You check every second, after having the Regeneration value (example : 2.5 hp per second), you reset the value counting damages/heals.

defskull
06-30-2012, 02:38 AM
It seems so simple with words eh ?