- Joined
- May 15, 2009
- Messages
- 192
Hello everyone, this time around my trigger actually works as it should without help . However, I need to make it MUI, and im rather clueless when it comes to MUI.
So what the spell is suppose to do, every second a unit has a specific buff (Sigil of Annihiliation) it will raise an integer(To count how many seconds the spell has been on). The integer is used for the Sigil Shatter ability, which will deal (How long Sigil of Annihiliation has been on x Level of ability for hero)
Im sorry for having so many triggers used in this, and im sorry for asking for SO much help all over Hive. But I really need this to be MUI.
So what the spell is suppose to do, every second a unit has a specific buff (Sigil of Annihiliation) it will raise an integer(To count how many seconds the spell has been on). The integer is used for the Sigil Shatter ability, which will deal (How long Sigil of Annihiliation has been on x Level of ability for hero)
Im sorry for having so many triggers used in this, and im sorry for asking for SO much help all over Hive. But I really need this to be MUI.
-
Sigil Shatter
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Sigil Shatter
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (SigilofA_Target[SigilofA_OwnerNumber] has buff Sigil of Annihiliation ) Equal to True
-
Then - Actions
- Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((Real((Level of Sigil of Annihiliation for (Triggering unit)))) x (Real(SigilofA_TimeOn[SigilofA_OwnerNumber]))) damage of attack type Spells and damage type Normal
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Sigil of Annihiliation Settings
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Sigil of Annihiliation
-
Actions
- Player Group - Add (Owner of (Triggering unit)) to SigilofA_CasterOwner
- Set SigilofA_TargetOwner = (Owner of (Target unit of ability being cast))
- Set SigilofA_OwnerNumber = (Player number of SigilofA_TargetOwner)
- Set SigilofA_Target[(Player number of SigilofA_TargetOwner)] = (Target unit of ability being cast)
- Trigger - Turn on Sigil of Annihiliation PlayerInfo <gen>
-
Events
-
Sigil of Annihilation Count
-
Events
- Time - Every 1.00 seconds of game time
-
Conditions
- (SigilofA_Target[SigilofA_OwnerNumber] has buff Sigil of Annihiliation ) Equal to True
-
Actions
- Set SigilofA_TimeOn[SigilofA_OwnerNumber] = (SigilofA_TimeOn[SigilofA_OwnerNumber] + 1)
-
Events
-
Sigil of Annihiliation PlayerInfo
-
Events
- Time - Every 7.00 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (SigilofA_Target[SigilofA_OwnerNumber] has buff Sigil of Annihiliation ) Equal to True
-
Then - Actions
- Game - Display to SigilofA_CasterOwner the text: ((String(SigilofA_TimeOn[SigilofA_OwnerNumber])) + ( seconds on + (Proper name of SigilofA_Target[SigilofA_OwnerNumber])))
-
Else - Actions
- Custom script: call DestroyForce(udg_SigilofA_CasterOwner)
- Trigger - Turn off (This trigger)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events