Triggered Ability To Raise Strength

I_RULE_YOU

New Member
Reaction score
34
I'm having a rather embarrising problem which I can't seem to solve. I'm making an ability based off Spiked Carapace which I want to raise the defense and strength of the hero. So I made a seperate ability based off Item Strength Bonus, and triggered it to be added to the hero via the way below:

Trigger:
  • Frozen Fortitude
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Frozen Fortitude
    • Actions
      • Unit - Add Frozen Fortitude Strength to (Triggering unit)
      • Unit - Set level of Frozen Fortitude Strength for (Triggering unit) to (Level of Frozen Fortitude for (Triggering unit))


The Frozen Fortitude Strength is the Item ability, it has 7 levels and adds +5 for each level. Yes, I'm sure I entered the Object data fields correctly. Problem is, when I learn the skill, it only adds +5 Strength, no matter how high the level is. I also tried another trigger, which had the same result:

Trigger:
  • Frozen Fortitude
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Frozen Fortitude
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Frozen Fortitude for (Triggering unit)) Equal to 1
        • Then - Actions
          • Unit - Add Frozen Fortitude Strength to (Triggering unit)
        • Else - Actions
          • Unit - Set level of Frozen Fortitude Strength for (Triggering unit) to (Level of Frozen Fortitude for (Triggering unit))


I really don't know why this isn't working as I've made a myriad of similar ability adding triggers like this which have worked perfectly. + rep for help.
 

Charapanga

New Member
Reaction score
46
learns a skill is only when it first learns it, not levels it, what you gotta do is set a periodic trigger that gets the level of your ability and sets the other one to the same level, and when the ability is level 3 you can destroy the trigger to prevent lag
 

YourFace

<span style="color:#9C9C9C;"><strong>Runner Up - T
Reaction score
91
It's learning the skill not putting points into it
 

I_RULE_YOU

New Member
Reaction score
34
I'm 99% certain your both mistaken, I have other spells which do this, its not a unit learns an ability, it's a unit Learns a Skill, which can be a skill point also. My other working triggers support this.
 

YourFace

<span style="color:#9C9C9C;"><strong>Runner Up - T
Reaction score
91
try putting a periodic trigger that checks for the level
maybe that can help

also save the level to an integer variable, maybe that can help
 

I_RULE_YOU

New Member
Reaction score
34
...........yes but I know that isn't necessary, I have other triggers working using the same methods........
 

Bjerrum

New Member
Reaction score
12
well... i tryed this one:

Code:
lol
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Devotion Aura
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Devotion Aura for (Triggering unit)) Equal to 1
            Then - Actions
                Unit - Add Attribute Bonus to (Triggering unit)
            Else - Actions
                Unit - Set level of Attribute Bonus for (Triggering unit) to (Level of Devotion Aura for (Triggering unit))

where i based the bonus on attribute bonus, and it worked as i it should.. (i attached map)

another way around could be simply add the strength like this: (that is af you dont care if the bonus is displayed or not.)
Code:
lol Copy
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Devotion Aura
    Actions
        Hero - Modify Strength of (Triggering unit): Add 5

Hope it helps
Bjerrum
 

Attachments

  • Add 5 strenght when learning a ability.w3x
    16.3 KB · Views: 121

D.V.D

Make a wish
Reaction score
73
Why not just use this action?
Code:
Hero - Modify Strength of (Triggering unit): Add 5

It works good.
 

I_RULE_YOU

New Member
Reaction score
34
I will use that. Thank you very much Bjerrum, and I will use themap if I need to (Gonna try the stat modify). +rep :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • WildTurkey WildTurkey:
    is there a stephen green in the house?
    +1
  • The Helper The Helper:
    What is up WildTurkey?
  • The Helper The Helper:
    Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
  • The Helper The Helper:
    Plus - I have a pretty bad ass recipe collection now! That section of the site is 10 thousand times better than it was before
  • The Helper The Helper:
    We now have a web designer at my job. A legit talented professional! I am going to get him to redesign the site theme. It is time.
  • Varine Varine:
    I got one more day of community service and then I'm free from this nonsense! I polished a cop car today for a funeral or something I guess
  • Varine Varine:
    They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled
  • The Helper The Helper:
    whatever at least you are free
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?

      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