Another Spell Help Request!

GhosTHunteR

New Member
Reaction score
2
Well my passive spell is supposed to increase armor and the Hitpoints pool. I figured out that if I base my effects on Item Life Bonus and Devotion aura it will work. So the trigger would be working like this: when my hero learns Devotion Aura - add Item Life Bonus. So everything works fine except for the fact that I can't set the level of Item Life Bonus to Devotion Aura. I need help!:confused:

Here's my trigger:

Code:
Tough Like a Mountain
    Events
        Unit - A unit Learns a skill
    Conditions
        ((Triggering unit) has buff Tough Like a Mountain ) Equal to True
    Actions
        Unit - Add Tough Like A Mountain Hit Point to (Triggering unit)
        Unit - Set level of Tough Like A Mountain Hit Point for (Triggering unit) to (Level of Tough Like A Mountain  for (Triggering unit))

Code:
Tough Like a Mountain 2
    Events
        Time - Every 2.00 seconds of game time
    Conditions
        ((Random unit from (Units in (Playable map area))) has buff Tough Like a Mountain ) Equal to True
    Actions
        Unit - Set level of Tough Like A Mountain Hit Point for (Triggering unit) to (Level of Tough Like A Mountain  for (Triggering unit))

I have the strange feeling that the second trigger needs to be corrected!

Edit: Help please :confused:
 
D

Doommachine

Guest
Well, on teh second trigger try replacing Triggering Unit, it might help
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Code:
Tough Like a Mountain
    Events
        Unit - A unit Learns a skill
    Conditions
        ((Triggering unit) has buff Tough Like a Mountain ) Equal to True
    Actions
        Unit - Add Tough Like A Mountain Hit Point to (Triggering unit)
        Unit - Set level of Tough Like A Mountain Hit Point for (Triggering unit) to (Level of Tough Like A Mountain  for (Triggering unit))
        Variable - Set Hero[Player number of (Owner of (Triggering unit))] = (Triggering unit)

Code:
Tough Like a Mountain 2
    Events
        Time - Every 2.00 seconds of game time
    Conditions
        
    Actions
      For (Integer A) from 1 to 12 do actions
          Loop
             Unit - Set level of Tough Like A Mountain Hit Point for Hero[Integer A] to (Level of Tough Like A Mountain  for (Triggering unit))
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Sorry, you have to make it the triggering unit.
 

GhosTHunteR

New Member
Reaction score
2
I have this:

Code:
Tough Like a Mountain
    Events
        Unit - A unit Learns a skill
    Conditions
        ((Triggering unit) has buff Tough Like a Mountain ) Equal to True
    Actions
        Unit - Add Tough Like A Mountain Hit Point to (Triggering unit)
        Unit - Set level of Tough Like A Mountain Hit Point for (Triggering unit) to (Level of Tough Like A Mountain  for (Triggering unit))
        Set Hero[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)

and

Code:
Tough Like a Mountain 2
    Events
        Time - Every 2.00 seconds of game time
    Conditions
    Actions
        For each (Integer A) from 1 to 12, do (Actions)
            Loop - Actions
                Unit - Set level of Tough Like A Mountain Hit Point for Hero[(Integer A)] to (Level of Tough Like A Mountain  for (Triggering unit))

And it still doesn't give additional hit points per level of the ability.

btw my Item Life Bonus ability is fine :banghead:

EDIT: Hero Variable is a Unit Array Variable right? I might have mistaken something :D
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
It's a unit array, for sure.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Code:
Tough Like a Mountain
    Events
        Unit - A unit Learns a skill
    Conditions
        (Ability being learned) Equal to Tough Like A Mountain
    Actions
        Unit - Add Tough Like A Mountain Hit Point to (Triggering unit)
        Unit - Set level of Tough Like A Mountain Hit Point for (Triggering unit) to (Level of Tough Like A Mountain  for (Triggering unit))
        Set Hero[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)

Edit: Try that. Omgosh, double posted. Please don't -rep, totally forgot there...
 

GhosTHunteR

New Member
Reaction score
2
Then why it isn't working :banghead:

Anyway does any1 have any suggestion for any other passive spell that increases my Hero's HP and Armor? It could come in handy for sure! :thup:

:( Even with the "ability being learned" still doesn't work

damn it this starts to freak me out
 
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