1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Seek unity between the elements in the 22nd Terraining Contest Poll.
    Dismiss Notice
  3. Seize the moment! The 18th Mini Mapping Contest has commenced.
    Dismiss Notice
  4. Gather 'round - the 20th Icon Contest Poll is out.
    Dismiss Notice
  5. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Warcraft ][ Heal 1.05

Submitted by Zanekok
This bundle is marked as substandard. It may contain bugs, not perform optimally or otherwise be in violation of the submission rules.
I am inspirated in "Heal" of Paladins from Warcraft 2. Spell is maded like "mana for hit points".(1 mana will heal someone for 1 hp)

1)maximum heal 100 hp
2)maximum heal 200 hp
3)maximum heal 300 hp

Heal Loop
  • Heal Loop
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Heal
    • Actions
      • Unit Group - Add (Triggering unit) to Casters
      • Unit Group - Pick every unit in Casters and do (Actions)
        • Loop - Actions
          • Set LifeMana[1] = ((Max life of (Target unit of ability being cast)) - (Life of (Target unit of ability being cast)))
          • Set LifeMana[2] = (Mana of (Picked unit))
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • LifeMana[1] Greater than ((Real((Level of Heal for (Picked unit)))) x 100.00)
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • LifeMana[2] Less than ((Real((Level of Heal for (Picked unit)))) x 100.00)
                • Then - Actions
                  • Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + LifeMana[2])
                  • Unit - Set mana of (Picked unit) to (LifeMana[2] - LifeMana[2])
                • Else - Actions
                  • Set XXXXX = ((Real((Level of Heal for (Picked unit)))) x 100.00)
                  • Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + XXXXX)
                  • Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) - XXXXX)
            • Else - Actions
              • Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + LifeMana[1])
              • Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) - LifeMana[1])
      • Unit Group - Remove (Picked unit) from Casters


Updates

version 1.05 - removed hashtable + triggers 1 and 2


Keywords:
Warcraft, 2, Heal, Paladin, Holy
Contents

Heal (Map)

Reviews
Moderator
18:40, 20th Apr 2010 The_Reborn_Devil: Sorry, but this spell is too simple and why are you using a unit group? Status: Rejected Rating: N/A
  1. Zanekok

    Zanekok

    Joined:
    Jan 19, 2010
    Messages:
    374
    Resources:
    8
    Icons:
    5
    Spells:
    3
    Resources:
    8
    Hmm. I know it can be in jass easily but i must learn in triggers first :)
     
  2. Vercas

    Vercas

    Joined:
    Dec 9, 2007
    Messages:
    2,604
    Resources:
    1
    Spells:
    1
    Resources:
    1
    Excuse me, but isn't there an ability that does that already?
    I think it was Replenish.
    Or a modified drain-type ability?
     
  3. Adiktuz

    Adiktuz

    Joined:
    Oct 16, 2008
    Messages:
    9,674
    Resources:
    23
    Models:
    2
    Packs:
    1
    Maps:
    1
    Spells:
    16
    Tutorials:
    1
    JASS:
    2
    Resources:
    23
    I thought so at the start but his spell was made so that if you cast it, no mana is wasted...

    example: heal has maximum of 100 points to heal which takes 100 mana, if the target has only 50 hit points to heal then you would only use 50 mana instead of 100...
     
  4. Zanekok

    Zanekok

    Joined:
    Jan 19, 2010
    Messages:
    374
    Resources:
    8
    Icons:
    5
    Spells:
    3
    Resources:
    8
    Please rate... i want know what you think about this
    Thx all
     
  5. Dynasti

    Dynasti

    Joined:
    Oct 18, 2007
    Messages:
    871
    Resources:
    4
    Maps:
    2
    Spells:
    1
    Tutorials:
    1
    Resources:
    4
    Almost no triggering, it's lacking and leaking. I'm sorry to say but you need to practice more. No offence.

    Keep going at it, you'll get it sometime ;)
     
  6. Zanekok

    Zanekok

    Joined:
    Jan 19, 2010
    Messages:
    374
    Resources:
    8
    Icons:
    5
    Spells:
    3
    Resources:
    8
    omg!!! Are there some leaks or arent?!!!!!! someone say yes someone say no OMG
     
  7. krisserz

    krisserz

    Joined:
    Feb 28, 2009
    Messages:
    1,945
    Resources:
    2
    Spells:
    2
    Resources:
    2
    The hashtable. Or have you fixed it and there are old triggers in description?
    I cannot check them atm.
     
  8. Zanekok

    Zanekok

    Joined:
    Jan 19, 2010
    Messages:
    374
    Resources:
    8
    Icons:
    5
    Spells:
    3
    Resources:
    8
    Oh damn... hashtable... ill fix it when ill be home(i am in school at the moment)
    EDIT: OK its updated
     
    Last edited: Mar 26, 2010
  9. Archangel_Tidusx

    Archangel_Tidusx

    Joined:
    Feb 24, 2007
    Messages:
    1,080
    Resources:
    9
    Models:
    1
    Icons:
    4
    Maps:
    4
    Resources:
    9
    Not sure how exactly he can.. demonstrate this spell lol.
     
  10. Kingz

    Kingz

    Joined:
    Jun 5, 2008
    Messages:
    2,470
    Resources:
    6
    Spells:
    5
    Tutorials:
    1
    Resources:
    6
    Every spell can be demonstrated, hell even systems require screenshots, this is no exception.
     
  11. Archangel_Tidusx

    Archangel_Tidusx

    Joined:
    Feb 24, 2007
    Messages:
    1,080
    Resources:
    9
    Models:
    1
    Icons:
    4
    Maps:
    4
    Resources:
    9
    Get a picture of the king as his animation fires. lol
     
  12. Demongrip

    Demongrip

    Joined:
    Sep 8, 2009
    Messages:
    80
    Resources:
    6
    Spells:
    6
    Resources:
    6
    Zanekok to answer bout the leaks-yes you have one the unit group isn`t destroyed after the spell is done
     
  13. krisserz

    krisserz

    Joined:
    Feb 28, 2009
    Messages:
    1,945
    Resources:
    2
    Spells:
    2
    Resources:
    2
    Where?
     
  14. Coolty44

    Coolty44

    Joined:
    Dec 10, 2008
    Messages:
    576
    Resources:
    1
    Spells:
    1
    Resources:
    1
    2nd line in Actions, Unit Group - pick all units bla bla. Easy fix with alittle JASS.
    Code (vJASS):
    Set bj_WantDestroyGroup = true
    or something. I maybe be wrong, I havn't touched this stuff for abit.
     
  15. Zanekok

    Zanekok

    Joined:
    Jan 19, 2010
    Messages:
    374
    Resources:
    8
    Icons:
    5
    Spells:
    3
    Resources:
    8
    i think i cant remove it... i am cleaning it after everyuse
     
  16. krisserz

    krisserz

    Joined:
    Feb 28, 2009
    Messages:
    1,945
    Resources:
    2
    Spells:
    2
    Resources:
    2
    This. There is no need to remove this group. The group is set only once at the map init so it`s not leaking.
     
  17. Soul-_-Hunter

    Soul-_-Hunter

    Joined:
    Nov 30, 2008
    Messages:
    28
    Resources:
    0
    Resources:
    0
    dudeee... warcraft 2 healing spell - For every 6 mana, you can heal 1 hit point of damage. Since a Paladin has 255 mana, it can heal 42.5 hit points because 255/6=42.5
    Because a Paladin has 90 hit points, it can take over 2 full casts of Healing to Heal another Paladin. i think u have to fix it... 6 mana for one hit point...
    EDIT: tested your spell and it bugged trie to place 2 paladins and heal each other and look at paladins mana.... 1 will be with full other with 0 or more... FIX PLEASE!
     
  18. Zanekok

    Zanekok

    Joined:
    Jan 19, 2010
    Messages:
    374
    Resources:
    8
    Icons:
    5
    Spells:
    3
    Resources:
    8
    1) I didnt say this spell is same like warcraft 2 heal-i said this is on same system like warcraft 2 heal(mana for HP)
    2) What is bugging with 2 paladins? its working normal