-
poziranie
-
Events
- Unit - A unit Dies
-
Conditions
- (Unit-type of (Killing unit)) Equal to (Unit-type of poziranie_caster)
- (Level of Пожирание for poziranie_caster) Greater than 0
-
Actions
- Unit - Set life of poziranie_caster to ((Life of poziranie_caster) + (((Max life of (Dying unit)) / 100.00) x (Real((2 x (Level of Пожирание for poziranie_caster))))))
- Special Effect - Create a special effect at (Position of poziranie_caster) using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
- Special Effect - Destroy (Last created special effect)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- poziranie_str_real Less than 1.00
-
Then - Actions
- Set poziranie_str_real = (poziranie_str_real + (0.08 + (0.03 x (Real((Level of Пожирание for (Killing unit)))))))
-
Else - Actions
- Set poziranie_str_real = (poziranie_str_real - 1.00)
- Hero - Modify Strength of (Killing unit): Add 1
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Random integer number between 1 and 100) Less than or equal to (4 + (Level of Пожирание for (Killing unit)))
- Then - Actions
-
Else - Actions
- Hero - Modify Strength of (Killing unit): Add 1
-
If - Conditions
-
Events
The bug is - my hero earn 1 point of str EACH TIME he kills a unit.'
Oh my god thsi si so fucing stupid mistake. Please delete this thread someone. What a shame