- Joined
- Jul 14, 2011
- Messages
- 3,213
Hi! I'd like to give Potions an effect like the one Huskar has (Inner Vitality)
I want to make Healing Potions Heal over time based on Unit Strength, like this:
HPotion 1. Heals (050hp) + (Str of unit) x 1 over 6 seconds.
HPotion 2. Heals (100hp) + (Str of unit) x 2 over 7 seconds.
HPotion 3. Heals (150hp) + (Str of unit) x 3 over 8 seconds.
HPotion 4. Heals (200hp) + (Str of unit) x 4 over 9 seconds.
HPotion 5. Heals (250hp) + (Str of unit) x 5 over 10 seconds.
Also Mana Potions Regenerate over time based on Unit Int, like this:
MPotion 1. Heals (050mp) + (Int of unit) x 1 over 6 seconds.
MPotion 2. Heals (100mp) + (Int of unit) x 2 over 7 seconds.
MPotion 3. Heals (150mp) + (Int of unit) x 3 over 8 seconds.
MPotion 4. Heals (200mp) + (Int of unit) x 4 over 9 seconds.
MPotion 5. Heals (250mp) + (Int of unit) x 5 over 10 seconds.
How can I do this? I haven't found anything like that in warcraft, just "Regeneration" spell that's over time, but I can't give it Healing Values like these.
I want to make Healing Potions Heal over time based on Unit Strength, like this:
HPotion 1. Heals (050hp) + (Str of unit) x 1 over 6 seconds.
HPotion 2. Heals (100hp) + (Str of unit) x 2 over 7 seconds.
HPotion 3. Heals (150hp) + (Str of unit) x 3 over 8 seconds.
HPotion 4. Heals (200hp) + (Str of unit) x 4 over 9 seconds.
HPotion 5. Heals (250hp) + (Str of unit) x 5 over 10 seconds.
Also Mana Potions Regenerate over time based on Unit Int, like this:
MPotion 1. Heals (050mp) + (Int of unit) x 1 over 6 seconds.
MPotion 2. Heals (100mp) + (Int of unit) x 2 over 7 seconds.
MPotion 3. Heals (150mp) + (Int of unit) x 3 over 8 seconds.
MPotion 4. Heals (200mp) + (Int of unit) x 4 over 9 seconds.
MPotion 5. Heals (250mp) + (Int of unit) x 5 over 10 seconds.
How can I do this? I haven't found anything like that in warcraft, just "Regeneration" spell that's over time, but I can't give it Healing Values like these.