- Joined
- Feb 15, 2008
- Messages
- 2,174
-
Item Rune spawn
-

Events
-


Time - Every 120.00 seconds of game time
-
-

Conditions
-

Actions
-


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



If - Conditions
-




RuneSpawned Equal to False
-
-



Then - Actions
-




Set RuneSpawned = True
-




Set RuneIntegerRegionRandom = (Random integer number between 1 and 2)
-




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





If - Conditions
-






RuneIntegerRegionRandom Equal to 1
-
-





Then - Actions
-






Set RuneRegionSpawn[1] = Item Rune Spawn Left <gen>
-
-





Else - Actions
-






Set RuneRegionSpawn[1] = Item Rune Spawn Right <gen>
-
-
-




Set RuneIntegerRandom = (Random integer number between 1 and 5)
-




Set TempLoc = (Center of RuneRegionSpawn[1])
-




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





If - Conditions
-






RuneIntegerRandom Equal to 1
-
-





Then - Actions
-





Else - Actions
-






Item - Create Rune of Speed at TempLoc
-






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







If - Conditions
-








RuneIntegerRandom Equal to 2
-
-







Then - Actions
-








Item - Create Rune of Illusion at TempLoc
-
-







Else - Actions
-








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









If - Conditions
-










RuneIntegerRandom Equal to 3
-
-









Then - Actions
-










Item - Create Rune of Greater Mana at TempLoc
-
-









Else - Actions
-










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











If - Conditions
-












RuneIntegerRandom Equal to 4
-
-











Then - Actions
-












Item - Create Rune of Greater Healing at TempLoc
-
-











Else - Actions
-












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













If - Conditions
-














RuneIntegerRandom Equal to 5
-
-













Then - Actions
-














Item - Create Rune of Damage at TempLoc
-
-













Else - Actions
-
-
-
-
-
-
-
-
-
-




Custom script: call RemoveLocation(udg_TempLoc)
-
-



Else - Actions
-
-
-
-
Item Rune used
-

Events
-


Unit - A unit Acquires an item
-
-

Conditions
-


Or - Any (Conditions) are true
-



Conditions
-




(Item-type of (Item being manipulated)) Equal to Rune of Speed
-




(Item-type of (Item being manipulated)) Equal to Rune of Illusion
-




(Item-type of (Item being manipulated)) Equal to Rune of Greater Mana
-




(Item-type of (Item being manipulated)) Equal to Rune of Greater Healing
-




(Item-type of (Item being manipulated)) Equal to Rune of Damage
-
-
-
-

Actions
-


Set RuneSpawned = False
-
-







