• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Thorn Armor v3

  • Like
Reactions: Ender
It's a really simple spell but could be quite useful and a good passive for any Hero.

INSTRUCTIONS:
- Copy the 2 abilities (Thorn Armor, Thorn Slow)
- Copy the 2 buffs (Thorn Armor, Thorn Slow)
- Copy the dummy unit (Thorn Armor Dummy)
- Copy the GDD folder
- Copy the "Thorn Armor Config", "Thorn Armor" and "Remove Dummy Leak" triggers (BE SURE TO HAVE TICKED THE "Automatically create unknown variables while pasting trigger data" BOX IN "FILE --> PREFERENCES").


Enhances the Hero with a thorn armor that gives a chance to damage enemies that attack him and slow their attack and movement speed by 10%. |n|n|cffffcc00Level 1|r - 10% chance to deal 25 damage. |n|cffffcc00Level 2|r - 15% chance to deal 50 damage. |n|cffffcc00Level 3|r - 20% chance to deal 75 damage.





  • Thorn Armor Config
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- Set the base damage (Level 1) --------
      • Set TA_BaseDamage = 25.00
      • -------- Set the damage growth per each additional level --------
      • Set TA_DamageGrowth = 25.00
      • -------- Set the base chance (Level 1) --------
      • Set TA_BaseChance = 10
      • -------- Set the chance growth per each additional level --------
      • Set TA_ChanceGrowth = 5
      • -------- Set the special effect --------
      • Set TA_SFX = Abilities\Spells\Undead\Impale\ImpaleMissTarget.mdl


  • Thorn Armor
    • Events
      • Game - GDD_Event becomes Equal to 0.00
    • Conditions
      • (GDD_DamagedUnit has buff Thorn Armor ) Equal to True
    • Actions
      • Set TA_Levels = (Level of Thorn Armor for GDD_DamagedUnit)
      • Set TA_ThornSpawn = (Position of GDD_DamagedUnit)
      • Set TA_ThornEffect = (Position of GDD_DamageSource)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 100) Less than or equal to (TA_BaseChance + (TA_ChanceGrowth x (TA_Levels - 1)))
          • (GDD_DamageSource is A structure) Not equal to True
          • (GDD_DamageSource is A flying unit) Not equal to True
        • Then - Actions
          • Special Effect - Create a special effect at TA_ThornEffect using TA_SFX
          • Special Effect - Destroy (Last created special effect)
          • Trigger - Turn off (This trigger)
          • Unit - Cause GDD_DamagedUnit to damage GDD_DamageSource, dealing (TA_BaseDamage + (TA_DamageGrowth x ((Real(TA_Levels)) - 1.00))) damage of attack type Normal and damage type Normal
          • Trigger - Turn on (This trigger)
          • Unit - Create 1 Thorn Armor Dummy for (Owner of GDD_DamagedUnit) at TA_ThornSpawn facing Default building facing degrees
          • Set Thorn_Dummy = (Last created unit)
          • Unit - Add a 1.00 second Generic expiration timer to Thorn_Dummy
          • Unit - Add Thorn Slow to Thorn_Dummy
          • Unit - Order Thorn_Dummy to Human Sorceress - Slow GDD_DamageSource
        • Else - Actions
      • Custom script: call RemoveLocation(udg_TA_ThornSpawn)
      • Custom script: call RemoveLocation(udg_TA_ThornEffect)

  • Remove Dummy Leak
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Thorn Armor Dummy
    • Actions
      • Unit - Remove (Triggering unit) from the game




- Spell Published



- Added Thorn Armor Config trigger to make configurables easier to change.
- Stored (Last created unit) to variable.
- Changed some variables names.



- Removed the Dummy unit leak.
- Added conditions for structures and flying units.


Inspired by Cryophoenix's Cyclone Armor.
Please give me credits if you use it in your map!

Keywords:
Thorn Armor, Return, Damage, Spiked carapace, thorns.
Contents

Thorn Armor v3 (Map)

Reviews
07:45, 6th Sep 2012 Magtheridon96: Approved. If I am to put a rating, it would be a 2/5 due to the simplicity of the resource and the fact that we have rejected over 800 other resources for the same reason. My other option is to leave the Rating...

Moderator

M

Moderator

07:45, 6th Sep 2012
Magtheridon96: Approved.

If I am to put a rating, it would be a 2/5 due to the simplicity of the resource and the fact that we have rejected over 800 other resources for the same reason.
My other option is to leave the Rating field blank.

PM me if you would like the rating :eek:
 
Level 7
Joined
Jan 28, 2012
Messages
266
it would be nice if you had an initialization trigger that sets base damage, damage per level, the special effect, and abilities, chance to deal damage etc..
not that it is that difficult to change these values for your spell, it is just a good standard to use.
 
Last edited:
Level 5
Joined
Jan 5, 2012
Messages
116
Spell updated to version 2 as requested :
- Added Thorn Armor Config trigger to make configurables easier to change.
- Stored (Last created unit) to variable.
- Changed some variables names.

If this gets approved I will delete all my spells.

I think that this is not a good attitude. I said that this spell is simple since I'm still new to spell making.
Let the moderators decide if it should be approved or not and don't blackmail them :p
 
For something so simple, I'd honestly expect something with practical application for people to use to make other spells with, while it works, it just really far too simple for my tastes, While moderators may find no reason to reject it, which is fair enough I'd agree with them, I wouldn't expect anything higher than a 2/5 simply because it's roughly 5-10 minutes work, good work for a first attempt though I guess.

Anyway Suggested improvements:
- Make it levelled (kind of in the rules)
- Give the dummy the ability in the first place so you don't need to add the dummy ability, (and make that levelled too)
 
Level 5
Joined
Jan 5, 2012
Messages
116
Anyway Suggested improvements:
- Make it levelled (kind of in the rules)
- Give the dummy the ability in the first place so you don't need to add the dummy ability, (and make that levelled too)

- The spell is levelled. It has 3 levels by default but anyone can change levels in Object Editor.
- Nice suggestion, I may follow it :D
 
Top