- Joined
- Aug 8, 2010
- Messages
- 1,022
Yo! I have a problem here. I want to make a simple spell that picks all units of one type and then makes them damage units around them but it seems that i have a problem... The trigger is below and it does NO damage.
+rep will be given to helpers!
. The unit has no mana regeneration, duh...
+rep will be given to helpers!
-
VenomHoleDoT
-

Events
-


Time - Every 0.05 seconds of game time
-
-

Conditions
-

Actions
-


Set VenomHoleHolesGroup = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Venom Hole))
-


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



Loop - Actions
-




Set VenomHoleVenoms = (Picked unit)
-




Set VenomHoleVenomLevel = ((Mana of VenomHoleVenoms) / 100.00)
-




Set VenomHoleVenomPosition = (Position of VenomHoleVenoms)
-




Set VenomHoleUnitGroup = (Units within (120.00 + (40.00 x VenomHoleVenomLevel)) of VenomHoleVenomPosition matching (((Matching unit) belongs to an enemy of (Owner of VenomHoleVenoms)) Equal to True))
-




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





Loop - Actions
-






Unit - Cause VenomHoleVenoms to damage (Picked unit), dealing VenomHoleVenomLevel damage of attack type Spells and damage type Normal
-
-
-




Custom script: call RemoveLocation(udg_VenomHoleVenomPosition)
-
-
-
-




