• 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.

Frost Bite Reforged

Release an ice trap that moves back and forth, after moving outwards affected units will be knocked toward to caster's position.

Damage: 75/100/125/150
Lines: 14/16/18/20
Cooldown: 15/13/11/9 Seconds
Manacost: 75/80/85/90

Updated by me, with permission, to use a Knockback Library and reforged features instead of dummy units

Original spell can be found here https://www.hiveworkshop.com/threads/frost-bite-v1-0-2.321347/

Update 3-11-2024: Fixed an issue where the ice trap effect would sometimes not play and improved configuration as a result
Contents

Frost Bite v1.0.3 (Map)

Reviews
Level 5
Joined
Oct 5, 2012
Messages
73
Please make this easier to import. The "Test" trigger spawns unit into the map, but it can't be deleted without loosing functionality (graphics are not shown).
 
Please make this easier to import. The "Test" trigger spawns unit into the map, but it can't be deleted without loosing functionality (graphics are not shown).
Thank you for bringing this to my attention. Upon further testing it seems that the default model for the spell, Doodads\\Cinematic\\FrostTrapUp\\FrostTrapUp.mdl sometimes doesn't work. I'll look for a solution but in the mean time can you try changing the model?
 
Like with your other modified resource, please add the original author to the list of authors.

You can create a link to the original version with [URL='https://www.hiveworkshop.com/threads/frost-bite-v1-0-2.321347/']Frost Bite v1.0.2[/URL].

Because you're using tabs to indent instead of spaces like the original author, the formatting is messed up in anything other than vanilla World Editor. If you're coding in the Trigger Editor, I recommend TESH.

JASS:
BlzSetSpecialEffectX(this.fx,x);
BlzSetSpecialEffectY(this.fx,y);
BlzSetSpecialEffectZ(this.fx,GetTerrainZ(x,y));
This can be simplified to
JASS:
BlzSetSpecialEffectPosition(this.fx, x, y, GetTerrainZ(x,y));
making it much faster.

JASS:
BlzSetSpecialEffectOrientation(this.fx, (a*i*3.14 ) / 180, 0.0, 0.0);
You can use the constant bj_DEGTORAD here.

I've never worked with Zinc before and neither has @Wrda, so we're far from experts. Because @MyPad approved the original version, I'm assuming there's no issue here.

Once the changes are made, I will approve this and link back from the original to this version.
 
Last edited:
Like with your other modified resource, please add the original author to the list of authors.

You can create a link to the original version with [URL='https://www.hiveworkshop.com/threads/frost-bite-v1-0-2.321347/']Frost Bite v1.0.2[/URL].

Because you're using tabs to indent instead of spaces like the original author, the formatting is messed up in anything other than vanilla World Editor. If you're coding in the Trigger Editor, I recommend TESH.

JASS:
BlzSetSpecialEffectX(this.fx,x);
BlzSetSpecialEffectY(this.fx,y);
BlzSetSpecialEffectZ(this.fx,GetTerrainZ(x,y));
This can be simplified to
JASS:
BlzSetSpecialEffectPosition(this.fx, x, y, GetTerrainZ(x,y));
making it much faster.

JASS:
BlzSetSpecialEffectOrientation(this.fx, (a*i*3.14 ) / 180, 0.0, 0.0);
You can use the constant bj_DEGTORAD here.

I've never worked with Zinc before and neither has @Wrda, so we're far from experts. Because @MyPad approved the original version, I'm assuming there's no issue here.

Once the changes are made, I will approve this and link back from the original to this version.
Done
 
Top