• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

increase level of ability for unit fails

Status
Not open for further replies.
Level 8
Joined
Mar 3, 2009
Messages
327
  • dificulty
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Unit - Set level of bosslevel for Goblin Alchemist 0007 <gen> to ((Level of bosslevel for Goblin Alchemist 0007 <gen>) + 1)
      • Game - Display to (All players) the text: debug
it displays the debug text but doesn't increase the ability, which is basically an item hp bonus if that helps. Yes, the alchemist has the ability. Yes bosslevel has levels. Yes i've tried increase level of ability for unit as well. Whats wrong?
 
Level 9
Joined
Jun 25, 2009
Messages
427
  • dificulty
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Unit - Set level of bosslevel for Goblin Alchemist 0007 <gen> to ((Level of bosslevel for Goblin Alchemist 0007 <gen>) + 1)
      • Game - Display to (All players) the text: debug
it displays the debug text but doesn't increase the ability, which is basically an item hp bonus if that helps. Yes, the alchemist has the ability. Yes bosslevel has levels. Yes i've tried increase level of ability for unit as well. Whats wrong?

Meh, i will take some time and check this one out.


  • The Health Problem
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Unit - Increase level of Item Life Bonus for Shadow Hunter 0000 <gen>
      • Unit - Increase level of Item Life Bonus (Greater) for Shadow Hunter 0000 <gen>
      • Unit - Add Item Life Bonus to Shadow Hunter 0000 <gen>
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Item Life Bonus for Shadow Hunter 0000 <gen>) Equal to 2
        • Then - Actions
          • Unit - Add Item Life Bonus (Greater) to Shadow Hunter 0000 <gen>
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Item Life Bonus (Greater) for Shadow Hunter 0000 <gen>) Equal to 2
            • Then - Actions
              • Unit - Add Item Life Bonus (Mega) to Shadow Hunter 0000 <gen>
            • Else - Actions
Works, but you have to create abilities for each 'Level':ugly:

Good luck :grin:
 
1. Add create an ability that gives -X health (use shift enter to insert negative values in object editor) where X is the amount of health ur goblin is supposed to gain.
2. Add the ability with triggers
3. Remove the ability with triggers

Your hero has now gained X health.

if you remove it, the hp increase will also get removed right? you can use permanent hp increase (the ability that the panda covered book uses) then just create multiple copies of it with increasing effects...
 
if you remove it, the hp increase will also get removed right? you can use permanent hp increase (the ability that the panda covered book uses) then just create multiple copies of it with increasing effects...

As far as I know its bugged and wont add the -X hitpoints, BUT, when you remove it it DOES remove the -X hitpoints, which means you gained X hitpoints. If you get what I mean. Its a very useful bug.
 
Status
Not open for further replies.
Top