hey JAD, i stuck with chooeychoco's second spell..
i trying and trying all i got is not MUI
perhaps you can make the MUI version
here my trig:
[trigger=Precision Strike Init]Precision Strike Init
Events
Map initialization
Conditions
Actions
Set Max_Int[1] = 20
Set Max_Int[2] = 30
Set Max_Int[3] = 40
Set Max_Int[4] = 50
[/trigger]
[trigger=Precision Strike Learn]Precision Strike Learn
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Precision Strike
Actions
Set PS_Caster = (Triggering unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Precision Strike for (Triggering unit)) Equal to 1
Then - Actions
Set PS_Target = No unit
Unit - Add Precision Strike to PS_Caster
Unit - Set level of Precision Strike for (Triggering unit) to 1
Trigger - Add to Precision Strike Attack <gen> the event (Unit - PS_Caster Notices a target in range)
Else - Actions
[/trigger]
[trigger=Precision Strike Attack]Precision Strike Attack
Events
Conditions
Actions
Set TempUnit = (Targeted unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
PS_Target Equal to No unit
Then - Actions
Set PS_Target = TempUnit
Skip remaining actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Precision Strike for PS_Caster) Equal to Max_Int[(Level of Precision Strike for PS_Caster)]
Then - Actions
Skip remaining actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
PS_Target Equal to TempUnit
Then - Actions
Set TempInt = ((Level of Precision Strike for PS_Caster) + 1)
Unit - Set level of Precision Strike for PS_Caster to (TempInt + (Level of Precision Strike for PS_Caster))
Else - Actions
-------- changed target --------
Set PS_Target = TempUnit
Set TempInt = (Level of Precision Strike for PS_Caster)
Set TempInt = (TempInt / 2)
Unit - Set level of Precision Strike for PS_Caster to TempInt
-------- this is a debug!!!!!!!!!!!!!!!!!!!!!! --------
Game - Display to (All players) the text: (DMG bonus abi level = + (String((Level of Precision Strike for PS_Caster))))
[/trigger]