Create Potions Skill

Raveren

New Member
Reaction score
1
Hey! ^_^
I've a problem again XD
And I again need Your help :)
I want to make skill 'Create Potions' which will... umm... yes, create potions ^_^
And I again Don't know how to do this ;/ I tried make it in triggers, but it dont want to work ;(
Can You help me? Here is Trigger:
Code:
CreatePotions
    Events
        Unit - A unit begin to cast spell
    Conditions
        (Ability being cast) is equal to Create Potions 
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Learned skill level) is equal to 1
            Then - Actions
                Set tmpPoint = (Target point of ability being cast)
                Item - Create HP Potion (1) at tmpPoint
                Item - Create MP Potion (1) at tmpPoint
                Custom script:   call RemoveLocation( udg_tmpPoint )
            Else - Actions

PS. Ofcourse, Im using 1st lvl skill
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Use the event, 'A unit starts the effect of an ability'.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Learned skill level references to the event, 'A unit learns a skill'.

Try using, 'Level of Create potions Greater than or Equal to 1'.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top