Adding Health.

Darkenneko

TH.net Regular
Reaction score
3
Hello everyone, =]
Well, I'm here with another question.
Well, I have Created This.
Code:
Untitled Trigger 002
    Events
        Unit - A unit owned by Player 1 (Red) Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Knight Abilities 
        (Level of |cFFFFFF00Human|r Racial Abilities  for (Triggering unit)) Equal to 1
    Actions

But I Can't find an Action that Adds Life To a Unit? I've Looked in multiple places, and Still.
I Can't find it. I'm thinking, I'm Going to have to add an Invisible ability that adds health? Along with the Dummy that starts the Trigger.
Any Suggestions, or can anyone Help me?
Thank You.
 

Menelaus

New Member
Reaction score
9
This is kinda unreliable, but u could increase the strength

Code:
Hero - Modify Strength of (Triggering unit): Add 10

Otherwise, yeah i think ur invisible ability is a good idea
 

Darkenneko

TH.net Regular
Reaction score
3
This is kinda unreliable, but u could increase the strength

Code:
Hero - Modify Strength of (Triggering unit): Add 10

Otherwise, yeah i think ur invisible ability is a good idea

Mm...
I Saw that, but the Thing is I don't Need there Attack or anything else Increasing. Just Health, Thanks For The Reply. =]
 

Darkenneko

TH.net Regular
Reaction score
3
Use this action? Unit - Set life of (Unit) to (Life)

Set Life, Would be Setting it at a Certain Point, Not Increasing its Maximum.
Even if I Do place it at a Higher Value than its Maximum, It Will only Go to the units Maximum, and Not Increase it. I Think, Haven't Tried, Might have to try it.
Thanks for the Reply. =]
 

Flare

Stops copies me!
Reaction score
662
There's a few options:
Give the hero the item Manual of Health whenever he levels the spell
Use the Item Life Bonus ability and increase its level whenever the primary spell is increased.
Use the blade.dk's UnitMaxState system (I'm fairly sure that blade.dk is the creator and that its called UnitMaxState but as far as I know it's in JASS)

Using Set Life of Unit doesn't work. I've tried it before and absolutely nothing happened
 

Darkenneko

TH.net Regular
Reaction score
3
There's a few options:
Give the hero the item Manual of Health whenever he levels the spell
Use the Item Life Bonus ability and increase its level whenever the primary spell is increased.
Use the blade.dk's UnitMaxState system (I'm fairly sure that blade.dk is the creator and that its called UnitMaxState but as far as I know it's in JASS)

Using Set Life of Unit doesn't work. I've tried it before and absolutely nothing happened

Thank You For The Reply. =]
As of now, its in a Spell Book, named Human Racial Traits, and the "Dummy" Spell would be labeled "Human Endurance" Which would be learned at level 1. The Manual of Health One might work, But what happens if his inventory is Full? Also, The Item Life Bonus ability is The Ability that will be given to the Unit as it Dosn't show up in a Spell book, And the Dummy Spell Will be there. =]
Thanks for The Reply! =D
 

Flare

Stops copies me!
Reaction score
662
Item Life Bonus is an invisible ability i think (theres an option called Show Icon i think)
There's a way of making stat/life tomes automatically take effect when a hero picks them up, and a full inventory shouldn't cause a conflict if the tome automatically works on pickup (beware though, if a normal unit ever picks up a immediate effect tome, the game will crash I think.)
 

Darkenneko

TH.net Regular
Reaction score
3
Item Life Bonus is an invisible ability i think (theres an option called Show Icon i think)
There's a way of making stat/life tomes automatically take effect when a hero picks them up, and a full inventory shouldn't cause a conflict if the tome automatically works on pickup (beware though, if a normal unit ever picks up a immediate effect tome, the game will crash I think.)

Ah, I See, Hmm... Well, I Think I'm going to work with the Dummy Ability First,
If that works, or doesn't work. Either way, I'll try the Manual of Health way. =]
Thank You Very Much For your Help. ^^
-Calvin
 
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