• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

i can't level up the ability

Status
Not open for further replies.
Level 17
Joined
Jun 2, 2009
Messages
1,123
  • Deneme
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Deneme // son
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Deneme // son for (Learning Hero)) Equal to 1
        • Then - Actions
          • Unit - Add Deneme // spellbook to (Learning Hero)
          • Player - Disable Deneme // spellbook for (Owner of (Learning Hero))
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Deneme // son for (Learning Hero)) Equal to 2
        • Then - Actions
          • Unit - Set level of Deneme // kitaptaki for (Owner of (Learning Hero)) to 2
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Deneme // son for (Learning Hero)) Equal to 3
        • Then - Actions
          • Unit - Set level of Deneme // kitaptaki for (Owner of (Learning Hero)) to 3
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Deneme // son for (Learning Hero)) Equal to 4
        • Then - Actions
          • Unit - Set level of Deneme // kitaptaki for (Owner of (Learning Hero)) to 4
        • Else - Actions
my problem is i can't change ability level of the Deneme // Kitaptaki

Deneme // son: Attribute bonus with HIDE ICON
Deneme // kitaptaki: Unholy Aura


Edit: i've solved the problem. i forget the unholy aura duration for a few seconds. If you've encountered problems like this, try to remember this tread.
 
Level 25
Joined
Sep 26, 2009
Messages
2,378
Necro a bit:

The trigger can be simplified a lot
  • Deneme
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Deneme // son
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Deneme // son for (Learning Hero)) Equal to 1
        • Then - Actions
          • Unit - Add Deneme // spellbook to (Learning Hero)
          • Player - Disable Deneme // spellbook for (Owner of (Learning Hero))
        • Else - Actions
          • Unit - Set level of Deneme // kitaptaki for (Owner of (Learning Hero)) to (Level of Deneme // son for (Learning Hero))

(a side note: I'm confused a bit, how did you put player slot inside field for unit? -> "Set level of ability for unit" has (owner of (learning hero)) inside :eekani:)
 
Status
Not open for further replies.
Top