Set lvl of phoniex fire equal to lvl of learned hero spell

black.sheep

Active Member
Reaction score
24
So yeah, just wanna make a phoniex fire hero spell, and I want a dummy ablity to show that its there.
So how do I set level of the phoniex fire, to the dummy ablity?
 

Exide

I am amazingly focused right now!
Reaction score
448
Don't know what your map looks like, but there's a trigger action that might be what you're looking for:
'Unit - Set level of Ability for Unit'
Then you just set it to *value*, and change the value to be level of *Phoenix Dummy ability*.
-Might want an 'every 1 second' event on this trigger.
 

aredee

New Member
Reaction score
2
so you want to make the dummy have the phoenix fire ability?? and what triggered that dummy to created in the map?? i don't get it very clear
 

black.sheep

Active Member
Reaction score
24
I have a dummy ablity "Because PF doesnt show up once you learn it" and I want the phoniex fire to have the same lvl as the dummy ablity. Get me?
 

aredee

New Member
Reaction score
2
okay, i get it
this should do it
make a dummy hero spell with any icon you wanted both in research and in normal but don't give that ability any effect (like a 0% chance bash/critical strike) and fill all description,
next, make a unit spell with total level same as the dummy hero spell based from the PF, and fill all the data, like damage and interval
and then make a trigger like this:
Code:
event
a unit learns a skill
condition
learned hero skill equal to phoenix fire (dummy)
action
if/then/else, multiple condition
if - condition
level of phoenix fire(real) equal to 0
then - condition
unit - add phoenix fire (real) to learning hero
unit - set level of phoenix fire (real) for learning hero to level of phoenix fire (dummy) for learning hero
else-condition
unit - set level of phoenix fire (real) for learning hero to level of phoenix fire (dummy) for learning hero

try it, i hope it'll work
 

black.sheep

Active Member
Reaction score
24
Question.
Does the event "learns a skill" trigger when the hero learns a skill for the very first time, or when the hero puts a point into a prelearned skill?
 

YourFace

<span style="color:#9C9C9C;"><strong>Runner Up - T
Reaction score
91
i think it's when they learn it, so the guy with the frost wyrm's trigger prob will glitch, but im not sure
 

I_RULE_YOU

New Member
Reaction score
34
Code:
Pheonix Fire
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Pheonix Fire (Dummy)
    Actions
        Unit - Add Phoenix Fire  to (Triggering unit)
        Unit - Set level of Phoenix Fire  for (Triggering unit) to (Level of Pheonix Fire (Dummy) for (Triggering unit))

Use it exactly like this, it works perfectly fine I use it in my map.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top