• 🏆 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!

[Script] Shield ability

Level 8
Joined
Apr 24, 2008
Messages
151
Greetings everyone!
I would be very glad if you did spell :
Works like On/off, similar like immolate.

When on, every ally unit and caster(300AOE) recieve shield which blocks % of recieved damage and when this unit(s) have attacked, it have 15% to knockback(50-100 range, prob. random range) with dealing damage to attacking unit. Also, every proc of ability cost 100 hp owner of ability(can kill owner).

When ability is off - only unit which have this ability, when owner attacks, it make enemy bleed (10 sec, prob 100dmg/s), but owner takes X2 Damage from any source.
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,557
Hello, you should tell us which version of Warcraft 3 you're using and if the ability is MUI/MPI. There is no single method for designing these types of things and it varies from version to version. There's many different damage engines, knockback systems, unit indexers, etc. Plus the whole design changes when you need the ability to work on multiple units at the same time.

So please provide as many details as possible:

Is it a hero ability? If so does it scale per level? What happens when two allied units have this ability active and are standing next to a group of allied units? Who is the "owner of ability" here? Do you care about who deals the damage? For example, can a Dummy unit deal the bleed damage (Acid Bomb comes to mind)? Is the 100 hp proc considered damage (mitigated) or life loss? Does someone get kill credit if the owner dies from the proc or is it considered suicide?
 
Last edited:
Level 8
Joined
Apr 24, 2008
Messages
151
You should tell us which version of Warcraft 3 you're using and if the ability is MUI/MPI. There is no single method for designing these types of things. There's many different damage engines, knockback systems, unit indexers, etc. Plus the whole design changes when you need the ability to work on multiple units at the same time.

Also, provide as many details as possible:

Is it a hero ability? If so does it scale per level? What happens when two allied units have this ability active and are standing next to a group of allied units? Who is the "owner of ability" here? Do you care about who deals the damage? For example, can a Dummy unit deal the bleed damage (Acid Bomb comes to mind)? Is the 100 hp proc considered damage (mitigated) or life loss? Does someone get kill credit if the owner dies from the proc?
Well, im using battlenet version of warcraft 3 reforged, but with "Classic" Option. MUI Ability, doesnt matter who exactly will do damage, dummy or hero. Damage dealer is owner of ability* ( Also owner of ability its hero, who have this ability, scaling about level - 3 level scaling, only damage scales here, number of damage choose as u wish, but i hope it can be managed in triggers )
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,557
That was a pretty crazy spell to make :D

I really hope it works the way that you wanted. Expect bugs, although I didn't notice any in testing.

You should be able to easily modify every single value of the spell using variables in the FS Setup trigger:

FS_Scaling_Damage_Taken_Off: % Damage taken while aura is off - the 2X damage you mentioned.
FS_Scaling_Damage_Taken_On: % Damage taken while aura is on - the shield block.
FS_Scaling_Knockback_Chance: % Chance to knockback (15% by default).
FS_Scaling_Knockback_Damage: Knockback damage dealt to the attacker.
FS_Scaling_Knockback_Life_Loss: Life lost when a knockback procs (100 by default).
Bleed damage / bleed duration per level (not a variable, edit this on the Bleed - Acid Bomb ability in the Object Editor)
 

Attachments

  • Force Shield 1.w3m
    57.5 KB · Views: 9
Last edited:
Level 8
Joined
Apr 24, 2008
Messages
151
That was a pretty crazy spell to make :D

I really hope it works the way that you wanted. Expect bugs, although I didn't notice any in testing.

You should be able to easily modify every single value of the spell using variables in the FS Setup trigger:

FS_Scaling_Damage_Taken_Off: % Damage taken while aura is off - the 2X damage you mentioned.
FS_Scaling_Damage_Taken_On: % Damage taken while aura is on - the shield block.
FS_Scaling_Knockback_Chance: % Chance to knockback (15% by default).
FS_Scaling_Knockback_Damage: Knockback damage dealt to the attacker.
FS_Scaling_Knockback_Life_Loss: Life lost when a knockback procs (100 by default).
Bleed damage / bleed duration per level (not a variable, edit this on the Bleed - Acid Bomb ability in the Object Editor)
U made an amazing work! Thats incredible ! Thanks!
 
Top