- Joined
- Jun 11, 2009
- Messages
- 151
I've been trying to create a spell that creates a potion ect.. when the caster uses the spell, heres what i tried but it doesnt create any thing when used.
-Undead~
-
Create Potion
-
Events
-
Unit - A unit Finishes casting an ability
-
-
Conditions
-
(Ability being cast) Equal to (==) Create Potion
-
-
Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Create Potion for (Triggering unit)) Equal to (==) 1
-
-
Then - Actions
-
Item - Create (Random level 1 Artifact item-type) at (Position of (Casting unit))
-
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Create Potion for (Triggering unit)) Equal to (==) 2
-
-
Then - Actions
-
Item - Create (Random level 2 Artifact item-type) at (Position of (Casting unit))
-
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Create Potion for (Triggering unit)) Equal to (==) 3
-
-
Then - Actions
-
Item - Create (Random level 3 Artifact item-type) at (Position of (Casting unit))
-
-
Else - Actions
-
-
-
-
-
-
-
-Undead~
Last edited: