Spellpack Exploding Arrow & Freezing Arrow

Sim

Forum Administrator
Staff member
Reaction score
534
These are my next 2 spells!

The ideas are taken from the Amazon in Diablo 2, who can shoot those kind of arrows. For those who never played Diablo 2, Freezing Arrow deals some damage and completely freezes units caught in the area of effect, preventing them to move. Exploding arrow simply explodes upon reaching its target, dealing damage to other units that are close to the target.

explodingarrowfreezingapx4.jpg


The spells:

--> Exploding Arrow

- MUI
- It is in JASS
- Leakless
- Less lag possible
- Easy-to-follow implementation steps.

--> Freezing Arrow

- Non-triggered spell

----------------------------------------------------------------

I think those spells are useful especially for bow-using heroes, who are often numerous but have boring spells.

Enjoy!

EDIT: Update #1

EDIT: Update #2 (Fixed 1 leak...)

EDIT: Update #3 (Fixed BJs)
 

Attachments

  • Arrow Spellpack.w3x
    28 KB · Views: 869

Farplane

New Member
Reaction score
8
The ice one I don't really like :( ....
But the flame one is seriosly awesome! Good job, simple, but effective (I'll be using that... just as a magician spell XD I'm so cheap :D)
 

Sim

Forum Administrator
Staff member
Reaction score
534
I can't really make the ice art smaller, because it is an art field in the Object Editor, which I can't edit. If you ever played D2 you'd know it looks pretty much like it ;)
 

Hero

─║╣ero─
Reaction score
250
Looks cool but I'm not at home so I will take a look at the code and spell more when I get home.
 

Tom Jones

N/A
Reaction score
437
Nice modification of Acid Bomb, it looks really good. Same thing goes for the fire arrow, looks great and works as it should, however you got a small leak in the code:
Code:
    loop
        exitwhen looping == 12
[B]        set nl = PolarProjectionBJ(ll, 150.00, angle)[/B]
        call AddSpecialEffectLocBJ(nl, FA_ArtPath())
        call DestroyEffect(bj_lastCreatedEffect)
        set looping = looping + 1
        set angle = angle + 30.00
    endloop
Your only destroying one of the 11 created locations, move the RemoveLocation call into the loop. It must have been a late night mistake, since your during it correctly with the effects.
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
Nice spells (+Rep)

u could call the "Flame Arrow" in the name "Exploding Arrow" it suits much better to the skill itself.
 

Sim

Forum Administrator
Staff member
Reaction score
534
Thanks both of you for your inputs, Flame Arrow is becoming Exploding Arrow and the leak is fixed :p

Attaching the map soon.

EDIT: Updated.
 

Tom Jones

N/A
Reaction score
437
Oh, and small note. Your could also make your effect like this:
Code:
        call DestroyEffect(AddSpecialEffectLocBJ(nl, FA_ArtPath()))
And link it for approval.
*Edit*
Some more comments :)
I suddenly noticed that the time your waiting for the missile to hit the target is constant, so if the target moves the damage will be delayed. You'll might get a better result if you made a trigger register when the targeted unit takes damage from the spell. And you don't really need to use local handle system to acheive it, simply use the bj global array named ghoul, and set the targeted units custom value to the array index like so:
Code:
function...
    local unit targ = GetTriggerUnit()
    local unit cast = bj_ghoul[GetUnitUserData(targ)]

    if cast == GetEventDamageSource() and GetUnitAbilityLevel(targ,ExplodianArraw_Buff) > 0 then
    ...
endfunction

function...
    ...
    local trigger trig = CreateTrigger()
    ...

    set bj_ghoul[100] = cast
    call SetUnitUserData(targ,100)
    call TriggerRegisterUnitEvent(trig,targ,EVENT_UNIT_DAMAGED)
    call TriggerAddAction(trig,function...)
    ...
endfunction
Even though it would be better to use a local handle system.
 

Sim

Forum Administrator
Staff member
Reaction score
534
Well, it would lead to better results but as it is right now the arrow is really fast (1100) and anyways after the wait, even if the arrow didn't land yet (which would be surprising), the effects and stuff will be created around the unit's current position, not where it was before the wait.

At least It should :rolleyes: i'd have to look it over again I just closed WE.
 
B

BranRu7

Guest
Nice spells, I like!!
+Rep for you, but I have a quick question...
I don't even know how to make a trigger JASS??
Much less know how to use it, but how do you make it where a trigger is JASS?
 

Pineapple

Just Smile.
Reaction score
576
ice is too big to match the D2 one, but you cant fix that. I havent checked the map but there should also be a frosty mist in the area of effect created when the arrow hits.
 

Sim

Forum Administrator
Staff member
Reaction score
534
yea I'll check if I can add that in the Object Editor as an Art - Area of Effect or something.

;) Thanks for the input.
 

Sim

Forum Administrator
Staff member
Reaction score
534
When I make spells for my map and I think they are well-made, useful, and cool I post them here :)

EDIT: Seems like I'm the only spells mod :p Can't approve my own spell :eek:
 

waaaks!

Zinctified
Reaction score
256
nice dax

the arrow spell pack should be nice when combined by the spell used in diablo, penetration, by the amazon also

the arrow passes through any enemy unit on a line

+rep if i can
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top