1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  5. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  6. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  7. The results are out! Check them out.
    Dismiss Notice
  8. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  9. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  10. 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.

Holy Heal v0.2

Submitted by BUP
This bundle is marked as substandard. It may contain bugs, not perform optimally or otherwise be in violation of the submission rules.
v0.1
Casts on a friendly unit to be regenerate health over time.While improving his armor by 10.The attackers will be slowed.
Durations
Lvl 1 - 4 seconds healing.
Lvl 2 - 8 seconds healing.
Lvl 3 - 10 seconds healing.
v0.2
Reduced the healing amount.
Special Effect occur every 1 second.
Contents

Holy Heal [HashTable Spell] v0.1 (Map)

Reviews
Moderator
12th Dec 2015 IcemanBo: Too long as NeedsFix. Rejected. 18:11, 4th Oct 2012 Magtheridon96: The spell is missing configuration. You should only set the effect variable in the map init trigger. The heal time and heal amount should also be...
  1. 12th Dec 2015
    IcemanBo: Too long as NeedsFix. Rejected.

    18:11, 4th Oct 2012
    Magtheridon96: The spell is missing configuration.
    You should only set the effect variable in the map init trigger.
    The heal time and heal amount should also be configurable. (In the map init trigger)
    Example:
    • Set HealAmountPerLevel = 4.00
     
  2. BUP

    BUP

    Joined:
    Sep 9, 2012
    Messages:
    149
    Resources:
    8
    Spells:
    8
    Resources:
    8
    Triggers

    :vw_sleep:
    Triggers
    • Holy Heal
      • Events
        • Unit - A unit Starts the effect of an ability
      • Conditions
        • (Ability being cast) Equal to Holy Heal
      • Actions
        • Set HolyHeal_Caster = (Triggering unit)
        • Set HolyHeal_Target = (Target unit of ability being cast)
        • Hashtable - Create a hashtable
        • Set HolyHeal_Table = (Last created hashtable)
        • -------- Healing Amount --------
        • Set HolyHeal_AmountHealing = ((100.00 + (25.00 x (Real((Level of Holy Heal for HolyHeal_Caster))))) x 0.03)
        • -------- Effect on Healing --------
        • Set HolyHeal_SpecialEffect = Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
        • -------- Duration --------
        • Set HolyHeal_TimeRemain = (2.00 + (2.00 x (Real((Level of Holy Heal for HolyHeal_Caster)))))
        • Hashtable - Save HolyHeal_AmountHealing as 0 of (Key (Target unit of ability being cast)) in HolyHeal_Table
        • Hashtable - Save HolyHeal_TimeRemain as 1 of (Key (Target unit of ability being cast)) in HolyHeal_Table
        • Unit Group - Add HolyHeal_Target to HolyHeal_Group
        • Trigger - Turn on Holy Healing <gen>


    • Holy Healing
      • Events
        • Time - Every 0.10 seconds of game time
      • Conditions
      • Actions
        • Unit Group - Pick every unit in HolyHeal_Group and do (Actions)
          • Loop - Actions
            • Set HolyHeal_AmountHealing = (Load 0 of (Key (Picked unit)) from HolyHeal_Table)
            • Set HolyHeal_TimeRemain = (Load 1 of (Key (Picked unit)) from HolyHeal_Table)
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • HolyHeal_TimeRemain Greater than 0.00
                • ((Picked unit) has buff Holy Heal ) Equal to True
              • Then - Actions
                • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + HolyHeal_AmountHealing)
                • Special Effect - Create a special effect attached to the origin of (Picked unit) using HolyHeal_SpecialEffect
                • Special Effect - Destroy (Last created special effect)
                • Hashtable - Save (HolyHeal_TimeRemain - 0.03) as 1 of (Key (Picked unit)) in HolyHeal_Table
              • Else - Actions
                • Unit Group - Remove HolyHeal_Target from HolyHeal_Group
                • Hashtable - Clear all child hashtables of child (Key (Picked unit)) in HolyHeal_Table
                • Trigger - Turn off (This trigger)
     
    Last edited by a moderator: Oct 4, 2012
  3. doomhammer99

    doomhammer99

    Joined:
    Dec 5, 2011
    Messages:
    319
    Resources:
    5
    Models:
    1
    Spells:
    3
    Tutorials:
    1
    Resources:
    5
    • Hashtable - Create a hashtable


    This must be on Initialization:ogre_frown:
     
  4. Tank-Commander

    Tank-Commander

    Spell Reviewer

    Joined:
    May 26, 2009
    Messages:
    1,539
    Resources:
    44
    Packs:
    1
    Spells:
    41
    Tutorials:
    2
    Resources:
    44
    Your periodic trigger timer reduction does not match how fast the periodic trigger runs:

    • Time - Every 0.10 seconds of game time
    • Hashtable - Save (HolyHeal_TimeRemain - 0.03) as 1 of (Key (Picked unit)) in HolyHeal_Table


    Also I would suggest making the special effect only appear every second rather than each time it's ran due to effect spam
     
  5. doomhammer99

    doomhammer99

    Joined:
    Dec 5, 2011
    Messages:
    319
    Resources:
    5
    Models:
    1
    Spells:
    3
    Tutorials:
    1
    Resources:
    5
    He will not listen to us..
     
  6. Almia

    Almia

    Joined:
    Apr 24, 2012
    Messages:
    4,842
    Resources:
    35
    Spells:
    30
    Tutorials:
    4
    JASS:
    1
    Resources:
    35
    dont create hashtable when casting,use it in map init or elapsed game time is 1
    create a configuration trigger.
    cache this:
    from Key(Triggering Unit) to this udg_Key = GetHandleId(GetTriggerUnit())
    Also for the picked unit.
     
  7. baassee

    baassee

    Joined:
    Nov 14, 2008
    Messages:
    3,220
    Resources:
    17
    Spells:
    14
    Tutorials:
    3
    Resources:
    17
    A holy heal. Now that's something.
     
  8. doomhammer99

    doomhammer99

    Joined:
    Dec 5, 2011
    Messages:
    319
    Resources:
    5
    Models:
    1
    Spells:
    3
    Tutorials:
    1
    Resources:
    5
    And always remember that These following hotkeys has a function:
    -M for Move
    -P for Patrol
    -H for Hold Position
    -S for Stop
    -A for Force Attack
    Alright?!
     
  9. BUP

    BUP

    Joined:
    Sep 9, 2012
    Messages:
    149
    Resources:
    8
    Spells:
    8
    Resources:
    8
    Sorry! I was so reckless.
    First i made the healing trigger with every 0.03 sec but i reduced it for the special effect.
    I did not want to make a new trigger with every 0.10 sec for the special effect so i changed it into every 0.03 sec.But I forgot to change almost everything that is left to change
    Also i put the hash table creating action in the casting trigger.
    That was so reckless of me.
    And also the hot key....
    I will update it with more features.
     
  10. Tank-Commander

    Tank-Commander

    Spell Reviewer

    Joined:
    May 26, 2009
    Messages:
    1,539
    Resources:
    44
    Packs:
    1
    Spells:
    41
    Tutorials:
    2
    Resources:
    44
    Well using an artificial wait, you could continue to use 0.03 and only have the special effect every 0.09 or 0.12 seconds (and have it a lot more controllable in a configuration trigger) along with anything else you could use as a configurable for the spell
     
  11. defskull

    defskull

    Joined:
    Mar 27, 2008
    Messages:
    7,978
    Resources:
    17
    Spells:
    17
    Resources:
    17