Increase HP/Armor with each STR point

Nyrano

New Member
Reaction score
4
Hi there,

I would like some assistance in creating a passive spell.

Hardened Combatant: Increases your HP by 15 and armor by 0.2 points for each rank of Strength you currently have.

It sounds very easy and simple, but I just don't know where to begin.

On which spell should this custom one be based, and is it possible to increase health above the maximum (which this spell should be supposed to do).

Thanks.
 

Dirac

22710180
Reaction score
147
Create 2 abilities, one based on Item Permanent Life Bonus (or something like that) and other based n Item Armor Bonus, each level increases 15 hp for the hp bonus and armor for the other one, add both abilities when ur ability is cast and remove em when finished
 

Lehona

New Member
Reaction score
12
>>On which spell should this custom one be based, and is it possible to increase health above the maximum (which this spell should be supposed to do).

Seems more like an active spell.
 

Nyrano

New Member
Reaction score
4
I've created 2 custom spells, based on the Item Permanent Life +15 and Item Armor Bonus +1 (decimal is impossible).

So I want the trigger to give the hero 15 health every point of strength and make it 1 armor for every 5 points of strength.

I am struggling in the trigger editor though, anyone suggestions? Or perhaps help me a bit with it. =]
 

jig7c

Stop reading me...-statement
Reaction score
123
post your current trigger, if you already have one!
 

canons200

New Member
Reaction score
50
if your skill is passive, for the +15 hp permanent, that is an item/tome(item ability) call manual hp(i forget the name), which add permanent hp.

for the armor, use trigger, pick your unit and check. for every 5 str he has, create a dummy, add devotion aura to dummy, (create many level of devotion, depend on your hero range and str range, need practice)
 

Nyrano

New Member
Reaction score
4
Ugh, I'm confused. ^^

These triggers aren't working, I guess that's not really surprising..:
Trigger:
  • Group the Tank
    • Events
      • Unit - A unit enters StartLevel <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Melee Tank
    • Actions
      • Set Tank[1] = (Entering unit)
      • Trigger - Turn on Hardened Combatant <gen>
      • Trigger - Turn off (This trigger)

The above is to group the tank in a variable.
And then this one...
Trigger:
  • Hardened Combatant
    • Events
      • Time - Every 2.00 seconds of game time
    • Conditions
    • Actions
      • Set StrengthTank[1] = (Strength of Tank[1] (Exclude bonuses))
      • For each (Integer StrengthTank[1]) from 1 to 300, do (Actions)
        • Loop - Actions
          • If (StrengthTank[1] Equal to StrengthTank[2]) then do (Do nothing) else do (Unit - Add +15 HP Hardened Combatant to Tank[1])
      • Wait 2.00 seconds
      • Set StrengthTank[2] = StrengthTank[1]


My idea was to put the amount of strength in a variable, and I thought the 'For each (Integer StrengthTank[1]) from 1 to 300' the editor would pick the amount of strength. Guess that is not the way to go. And then if it's equal to StrengthT.[2] then do nothing (because otherwise you would gain hitpoints every 2-4 seconds.)

Anyways, it is not working. Someone has tips or suggestions, or perhaps I need to recreate everything. =]

Thanks.
 

BcBoy

Active Member
Reaction score
6
Try this:
Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Acquires an item
      • Unit - A unit Gains a level
    • Conditions
      • (Triggering unit) Equal to PalaTank
    • Actions
      • Set TankStrenght = (Strength of PalaTank (Exclude bonuses))
      • Unit - Set level of Avatar for PalaTank to TankStrenght


Of course you have to replace the Avatar ability with your own +15hp ability.
 

Nyrano

New Member
Reaction score
4
I have created this trigger.

Trigger:
  • Hardened Combatant
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • (Triggering unit) Equal to Tank[1]
    • Actions
      • Set StrengthTank[1] = (Strength of Tank[1] (Exclude bonuses))
      • Unit - Set level of +75 HP Hardened Combatant for Tank[1] to (StrengthTank[1] / 5)


And I have an item ability (changed it to +75 health for Strength/5) That's basically +15 health per strength point, just modified to 75 health for every point of strength of 20% of your total.

Anyway, my item based ability has 30 levels, each increasing +75 health.
Sadly, when I reach level 2 - the ability is not working.

Never thought it would be this harsh to create such a trigger.
 

Ayanami

칼리
Reaction score
288
Okay, completed the trigger. Read through the "READ ME" in the trigger editor before doing anything. It is very important as the skill might malfunction if not imported correctly.

Required:
NewGen

Enjoy.
 

Nyrano

New Member
Reaction score
4
Okay, completed the trigger. Read through the "READ ME" in the trigger editor before doing anything. It is very important as the skill might malfunction if not imported correctly.

Required:
NewGen

Enjoy.

Glenphir! You don't know how grateful I am, just with the looks at your triggers. It requires a super experienced person. (It works flawless)!

You have my thanks, +rep +rep +rep!
 

Ayanami

칼리
Reaction score
288
Fixed the map. Now damage works properly. If you gain the maximum health, your current health remains the same as before it was increased. So let's say you have 100 health. Then you learn the spell. You have 5 strength. Your new maximum health would be 175 (neglecting health gain per strength). Your new current health would remain 100. Importing method is still the same.
 
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