Was it wrong with this trigger? [Dragon Knight-Dota]

Ulla_t

Member
Reaction score
1
Trigger:
  • Made of Stone Activate
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Made of Stone
    • Actions
      • Unit - Add Made of Stone (reg) to (Learning Hero)
      • Unit - Set level of Made of Stone (reg) for (Learning Hero) to (Level of Made of Stone for (Learning Hero))
      • Set MadeOfStoneCaster = (Learning Hero)
      • Trigger - Turn on Made of Stone <gen>


Trigger:
  • Made of Stone
    • Events
      • Time - Every 0.02 seconds of game time
    • Conditions
    • Actions
      • Set MadeOfStone = (Level of Made of Stone for MadeOfStoneCaster)
      • -------- NEXT LEVEL --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • MadeOfStone Greater than 0
          • MadeOfStone Equal to 1
          • MadeOfStone Less than 2
        • Then - Actions
          • Unit - Order MadeOfStoneCaster to train/upgrade to a Block (Armor 1)
        • Else - Actions
          • Do nothing
      • -------- NEXT LEVEL --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • MadeOfStone Greater than 1
          • MadeOfStone Equal to 2
          • MadeOfStone Less than 3
        • Then - Actions
          • Unit - Order MadeOfStoneCaster to train/upgrade to a Block (Armor 2)
        • Else - Actions
          • Do nothing
      • -------- NEXT LEVEL --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • MadeOfStone Greater than 2
          • MadeOfStone Equal to 3
          • MadeOfStone Less than 4
        • Then - Actions
          • Unit - Order MadeOfStoneCaster to train/upgrade to a Block (Armor 3)
        • Else - Actions
          • Do nothing
      • -------- NEXT LEVEL --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • MadeOfStone Greater than 3
          • MadeOfStone Equal to 4
          • MadeOfStone Less than 5
        • Then - Actions
          • Unit - Order MadeOfStoneCaster to train/upgrade to a Block (Armor 4)
        • Else - Actions
          • Do nothing


What do i do wrong in this trigger?? I dont know it myself, in my head it seems to work fine.
The whole ideer is that i want to add armor to the units base armor instead of adding it like devotion Aura, with green text.

Just so everyone know, this is the hero we are talking about ( http://www.squidoo.com/dota-dragon-knight-guide )

Thanks :shades:
 

UndeadDragon

Super Moderator
Reaction score
447
Firstly, what is the problem?

What does not work?
 

Ulla_t

Member
Reaction score
1
There doesent happen anything, thats the real problem, there is no armor added to (base armor).
 

Royal-Naga

New Member
Reaction score
1
Dragon Blood? So you have a passive spell that gives both armor and regeneration to the hero.
Anyway you use 2 triggers when you could use just one and the second trigger is really huge...
Secondly you use a "ugrape" and not a secondary ability you could just make 2 skills one that gives armor/regeneration (to your taste) and his in the skill set of the hero and another one that gives regeneration/armor and his given to the hero when he learns the skill.
Also you use periodic events.....
 

BloodySkullz

Active Member
Reaction score
10
Did you set your "Dragon Knight" to received your Armor Upgrade?

Object Editor
>Techtree - Upgrades Used
 

BloodySkullz

Active Member
Reaction score
10
Why not you change the Action?

"Player - Set Current Research Level", than to Issue a unit to Upgrade?
 

Dirac

22710180
Reaction score
147
Why not you change the Action?

"Player - Set Current Research Level", than to Issue a unit to Upgrade?
Yea you should do this. Also, why use a 0.02 timer? instead you should put the second trigger inside the first trigger and upgrade it only everytime the unit gains an ability, not every 0.02 seconds (lol)
 
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