Hello guys I had this very simple triggered spell I made
Its really simple right
that is why I need some help from you guys to improve it.
Things I want to add in this trigger is.....
-When the hero successfully kills a unit by this ability, it will give him permanent + 1 strength. But if he kills a hero by this ability he will receive permanent + 2 strength instead.
-
Weapon Slam
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to |cffff4500Weapon Slam|r
-
-
Actions
-
-------- ------------------------------------------------------------------------------------------------- --------
-
-------- Getting the Spell constants --------
-
-------- ------------------------------------------------------------------------------------------------- --------
-
Set Temp_Unit = (Triggering unit)
-
Set Temp_Target = (Target unit of ability being cast)
-
Set Temp_Stats = (Strength of Temp_Unit (Include bonuses))
-
Set Temp_Ability_Level = (Level of (Ability being cast) for Temp_Unit)
-
-------- ------------------------------------------------------------------------------------------------- --------
-
-------- Setting the Spell values --------
-
-------- ------------------------------------------------------------------------------------------------- --------
-
Set Temp_Base_Value = (50.00 x (Real(Temp_Ability_Level)))
-
Set Temp_Total_Value = (Temp_Base_Value + (0.50 x (Real(Temp_Stats))))
-
-------- ------------------------------------------------------------------------------------------------- --------
-
-------- Creating and setting the dummy unit --------
-
-------- ------------------------------------------------------------------------------------------------- --------
-
Unit - Cause Temp_Unit to damage Temp_Target, dealing Temp_Total_Value damage of attack type Normal and damage type Normal
-
-------- ------------------------------------------------------------------------------------------------- --------
-
-

Things I want to add in this trigger is.....
-When the hero successfully kills a unit by this ability, it will give him permanent + 1 strength. But if he kills a hero by this ability he will receive permanent + 2 strength instead.