PooBucket
New Member
- Reaction score
- 12
Trigger:
- Brilliance Aura
- Events
- Unit - A unit Learns a skill
- Conditions
- (Learned Hero Skill) Equal to Human Archmage - Brilliance Aura
- Actions
- Hero - Modify Intelligence of (Triggering unit): Add 3
- Set ArchmageType = (Player number of (Owner of (Triggering unit)))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ArchmageType Equal to 1000
- Then - Actions
- Set ArchmageType = 0
- Else - Actions
- Set ArchmageType = (ArchmageType + 1)
- If - Conditions
- Set ArchmageBrill[ArchmageType] = (Triggering unit)
- Events
Trigger:
- Brilliance Mana
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- BrillianceMUI Equal to 1000
- Then - Actions
- Set BrillianceMUI = 0
- Else - Actions
- Set BrillianceMUI = (BrillianceMUI + 1)
- If - Conditions
- Set BrillianceArea[BrillianceMUI] = (Position of ArchmageBrill[ArchmageType])
- Set BrillianceAuraGroup[BrillianceMUI] = (Units within 600.00 of BrillianceArea[BrillianceMUI] matching (((Matching unit) has buff Brilliance Aura) Equal to True))
- Unit Group - Pick every unit in BrillianceAuraGroup[BrillianceMUI] and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Or - Any (Conditions) are true
- Conditions
- (Level of Brilliance Aura mana for (Picked unit)) Equal to 1
- (Level of Brilliance Aura mana 2 for (Picked unit)) Equal to 1
- (Level of Brilliance Aura mana 3 for (Picked unit)) Equal to 1
- Conditions
- Or - Any (Conditions) are true
- Then - Actions
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Brilliance Aura for ArchmageBrill[ArchmageType]) Equal to 1
- Then - Actions
- Unit - Add Brilliance Aura mana to (Picked unit)
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Brilliance Aura for ArchmageBrill[ArchmageType]) Equal to 2
- Then - Actions
- Unit - Add Brilliance Aura mana 2 to (Picked unit)
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Brilliance Aura for ArchmageBrill[ArchmageType]) Equal to 3
- Then - Actions
- Unit - Add Brilliance Aura mana 3 to (Picked unit)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Custom script: call RemoveLocation (udg_BrillianceArea[udg_BrillianceMUI])
- Custom script: call DestroyGroup (udg_BrillianceAuraGroup[udg_BrillianceMUI])
- Set Map = (Playable map area)
- Set BrillianceAuraGroup[BrillianceMUI] = (Units in Map matching (((Matching unit) has buff Brilliance Aura) Equal to False))
- Unit Group - Pick every unit in BrillianceAuraGroup[BrillianceMUI] and do (Actions)
- Loop - Actions
- Unit - Remove Brilliance Aura mana from (Picked unit)
- Unit - Remove Brilliance Aura mana 2 from (Picked unit)
- Unit - Remove Brilliance Aura mana 3 from (Picked unit)
- Custom script: call RemoveLocation (udg_Map)
- Custom script: call DestroyGroup (udg_BrillianceAuraGroup[udg_BrillianceMUI])
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
This passive has gotten me REALLY CONFUSED. I'm trying to allow all people to use it. (Yes, I know it looks kinda yucky and messy, but that's cause I THINK that you can't level up the + mana capacity item spells.)
This brilliance aura just increases mana capacity and +3 points of int. MUI and MPI are confusing me here :O. Help's appreciated.
Else, I'll make 8 individual triggers