- Joined
- Nov 22, 2006
- Messages
- 28
Need a help with a spell/trigger
Hello again....
I downloaded the spell Battle Mastery made by The_Avenger`s_Return, but when im doing it on my map, some strings are in light gray and i cant modify it, because it say that the value does not exist. like i dont know how to ost in trgger format iil put it in text format:
Battle Mastery
Events
Unit - A unit Dies
Conditions
((Dying unit) belongs to an enemy of (Owner of (Killing unit))) Equal to True
((Killing unit) is A Hero) Equal to True
(Level of Hex (Team Killer) for (Killing unit)) Equal to 1
Actions
Set NumberDeadUnits_Str = (NumberDeadUnits_Str + 1)
Set NumberDeadUnits_Agi = (NumberDeadUnits_Agi + 1)
Set NumberDeadUnits_Int = (NumberDeadUnits_Int + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
NumberDeadUnits_Str Equal to 8
Then - Actions
Hero - Modify Strength of (Killing unit): Add 1
Set NumberDeadUnits_Str = 0
Special Effect - Create a special effect attached to the origin of (Killing unit) using Abilities\Spells\Items\AIsm\AIsmTarget.mdl
Wait 0.10 seconds
Special Effect - Destroy (Last created special effect)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
NumberDeadUnits_Agi Equal to 10
Then - Actions
Hero - Modify Agility of (Killing unit): Add 1
Set NumberDeadUnits_Agi = 0
Special Effect - Create a special effect attached to the origin of (Killing unit) using Abilities\Spells\Items\AIam\AIamTarget.mdl
Wait 0.10 seconds
Special Effect - Destroy (Last created special effect)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
NumberDeadUnits_Int Equal to 12
Then - Actions
Hero - Modify Intelligence of (Killing unit): Add 1
Set NumberDeadUnits_Int = 0
Special Effect - Create a special
*end*
So please help me, say if i need a program or anything.the triggers that "doesnt exist" are in bold.
Hello again....
I downloaded the spell Battle Mastery made by The_Avenger`s_Return, but when im doing it on my map, some strings are in light gray and i cant modify it, because it say that the value does not exist. like i dont know how to ost in trgger format iil put it in text format:
Battle Mastery
Events
Unit - A unit Dies
Conditions
((Dying unit) belongs to an enemy of (Owner of (Killing unit))) Equal to True
((Killing unit) is A Hero) Equal to True
(Level of Hex (Team Killer) for (Killing unit)) Equal to 1
Actions
Set NumberDeadUnits_Str = (NumberDeadUnits_Str + 1)
Set NumberDeadUnits_Agi = (NumberDeadUnits_Agi + 1)
Set NumberDeadUnits_Int = (NumberDeadUnits_Int + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
NumberDeadUnits_Str Equal to 8
Then - Actions
Hero - Modify Strength of (Killing unit): Add 1
Set NumberDeadUnits_Str = 0
Special Effect - Create a special effect attached to the origin of (Killing unit) using Abilities\Spells\Items\AIsm\AIsmTarget.mdl
Wait 0.10 seconds
Special Effect - Destroy (Last created special effect)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
NumberDeadUnits_Agi Equal to 10
Then - Actions
Hero - Modify Agility of (Killing unit): Add 1
Set NumberDeadUnits_Agi = 0
Special Effect - Create a special effect attached to the origin of (Killing unit) using Abilities\Spells\Items\AIam\AIamTarget.mdl
Wait 0.10 seconds
Special Effect - Destroy (Last created special effect)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
NumberDeadUnits_Int Equal to 12
Then - Actions
Hero - Modify Intelligence of (Killing unit): Add 1
Set NumberDeadUnits_Int = 0
Special Effect - Create a special
*end*
So please help me, say if i need a program or anything.the triggers that "doesnt exist" are in bold.
Last edited: