Check this map an tell me if u like what I can do.This is one of my maps,recently one.
http://www.epicwar.com/maps/201687/ (finished project) TD map
http://www.epicwar.com/maps/183182/ (unfinished project) HD map
Maybe u will like game interface and others cool stuff.
Feel free to add me to...
there is an item ability that add mana and life
I supposed that u want to increase max mana of killing unit by x for exemple per kill.
In order to do this u need plenty of mana ability (item) to add to your unit.
where Ab/ is a variable and 20/40 mana is the item ability that add...
There is no good way to handle evasion or dodge is wc3 system sience we have no funtion to catch the psihycal damage.U can use weep DDG wich is good to handle incoming damage etc but u cant recognize the type of damage so u cant know if damage is coming from a spell or a unit attack.
And back to...
Study those triggers I posted for u and u will learn how to use easily hashtable.Is quite simple.
The second trigger will consume "the stacks" of your spell time but if u dont one ,or u only want to remeber how many time have the unit casted the skill remove the
Hashtable - Clear all child...
H_id = integer variable
Real = real variable /this define the amount of seconds u want to last your spell
Hashtable = hashtable variable
Skill_group = unit group
Untitled Trigger 001
Hashtable - Create a hashtable...
2 different ways
Unit - Turn (your unit) colision off
Unit - Add (your unit) Crow form ability
Unit - Remove Crow form ability from (your unit)
Animation - Set (your unit) flying heigh to (x)
absolutely false @maxou that trigger will leak a lot and is effective only for that specific buff.
In order to do that u must know for all spells is a passive ability or active one.there are much way to do it but i will show u only an example,
Untitled Trigger 001
Event that u are using is no good.Unit attaked register the attacking and attacked unit and the damaged or damagind unit no.
so u need the event like
Paladin(ex. unit) take damage //wich is a specific unit event
Weep damage detection is very good in order to manipulate this type of triggers cuz...
Sry for double post,but I must to say this trigger will register the event with the value of life at the moment unit learned the skill.So in order to track max life and calculate the 30% u need to make more complex using period events and others stuff that u dont know.
To start with something...
Simple,easy and reliable.No damage detection or advanced knowleadge.
Unit - A unit Learns a skill
(Learned Hero Skill) Equal to Berserk
If (All Conditions are True) then do (Then Actions) else do (Else Actions)...