- Joined
- Jan 30, 2013
- Messages
- 12,927
I hope it could be of some use.
Aquaos Config

Events


Map initialization

Conditions

Actions


Set Spell__Ability = Aquaos


Set Spell__Trigger_OnCast = Aquaos Cast <gen>


Set Spell__Trigger_OnLoop = Aquaos Loop <gen>


-------- Filter --------


Set Spell__Filter_AllowMechanical = True


Set Spell__Filter_AllowStructure = True


Set Spell__Filter_AllowEnemy = True


Set Spell__Filter_AllowLiving = True


Set Spell__Filter_AllowHero = True


Set Spell__Filter_AllowNonHero = True


-------- Damage per second --------


Set Spell__Time = 1.00


-------- Duration before final burst (equalize with Follow Through Time in Object Editor) --------


Set Spell__Duration = 0.00


Set Spell__DurationPerLevel = 1.00


-------- Initial damage (BaseDmg + LevelDmg*Level) --------


Set Aquaos_InitialDamage = 0.00


Set Aquaos_InitialDamagePerLevel = 10.00


-------- Final Burst damage (BaseDmg + LevelDmg*Level) --------


Set Aquaos_BurstDamage = 0.00


Set Aquaos_BurstDamagePerLevel = 100.00


-------- Area of Effect (BaseAoE + LevelAoE*Level) --------


Set Aquaos_AoE = 600.00


Set Aquaos_AoEPerLevel = 0.00


-------- Initial SFX --------


Set Aquaos_InitialSFX = Abilities\Spells\Undead\FrostArmor\FrostArmorDamage.mdl


-------- Burst SFX --------


Set Aquaos_BurstSFX = Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl


Trigger - Run Spell System <gen> (checking conditions)
Aquaos Cast

Events

Conditions

Actions


Set Spell__StartDuration = True
Aquaos Loop

Events

Conditions

Actions


Set Spell__InRangePoint = Spell__TargetPoint


Set Spell__InRange = (Aquaos_AoE + (Aquaos_AoEPerLevel x Spell__LevelMultiplier))


-------- Channel detection --------


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




Spell__Channeling Equal to False



Then - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






Spell__Duration Greater than 0.00





Then - Actions






Set Spell__Duration = 0.00





Else - Actions



Else - Actions




-------- DPS damage --------




Unit Group - Pick every unit in Spell__InRangeGroup and do (Actions)





Loop - Actions






Unit - Cause Spell__Caster to damage (Picked unit), dealing (Aquaos_InitialDamage + (Aquaos_InitialDamagePerLevel x Spell__LevelMultiplier)) damage of attack type Spells and damage type Normal






Special Effect - Create a special effect attached to the origin of (Picked unit) using Aquaos_InitialSFX






Special Effect - Destroy (Last created special effect)


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




Spell__Completed Equal to True



Then - Actions




-------- Burst damage --------




Unit Group - Pick every unit in Spell__InRangeGroup and do (Actions)





Loop - Actions






Unit - Cause Spell__Caster to damage (Picked unit), dealing (Aquaos_BurstDamage + (Aquaos_BurstDamagePerLevel x Spell__LevelMultiplier)) damage of attack type Spells and damage type Normal






Special Effect - Create a special effect attached to the origin of (Picked unit) using Aquaos_BurstSFX






Special Effect - Destroy (Last created special effect)



Else - Actions