Spellpack Ring of Fire, Timed Bomb & Ice Barrage

Tinki3

Special Member
Reaction score
418
All spells are MUI and made in JASS.

Ring of Fire

Import Difficulty: Low

Units Affected: Enemy, ground

Target Type: None

Spell Info:

Creates a burning ring of fire around the caster that causes initial damage, then damage over time to enemies. Destroys trees.

Level 1 - Flame strikes deal low damage.
Level 2 - Flame strikes deal average damage.
Level 3 - Flame strikes deal high damage.
Level 4 - Flame strikes deal very high damage.

ringoffirecz0.jpg


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

Timed Bomb

Import Difficulty: Medium

Units Affected: Enemy

Target Type: Any Unit Target

Spell Info:

Plants a bomb on a target enemy unit, that takes time to explode. After the time has elapsed, the bomb releases its energy by exploding, causing a powerfull explosion, that deals damage to nearby enemies. If the target dies before the bomb has finished ticking, it will not explode. Destroys trees.

Level 1 - Takes 10 seconds to explode, dealing 125 damage.
Level 2 - Takes 8 seconds to explode, dealing 175 damage.
Level 3 - Takes 6 seconds to explode, dealing 225 damage.
Level 4 - Takes 4 seconds to explode, dealing 275 damage.

50384141jo2.jpg


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

Ice Barrage

Import Difficulty: Low

Units Affected: Enemy, ground

Target Type: None

Spell Info:

Creates many waves of shards of arcing ice around the caster that deal damage, and freeze enemy ground units for a duration. Frozen units cannot move, attack, or cast spells.

Level 1 - Ice shard waves deal low damage, and freeze for 1.5 seconds.
Level 2 - Ice shard waves deal average damage, and freeze for 2 seconds.
Level 3 - Ice shard waves deal above average damage, and freeze for 2.5 seconds.
Level 4 - Ice shard waves deal high damage, and freeze for 3 seconds.

icebarragela7.jpg


Please notify me of any bugs.

Have fun using the spells!

DL the updated map (29 July 2007):
 

Attachments

  • Dreadlord Spellpack.w3x
    64.2 KB · Views: 813

emjlr3

Change can be a good thing
Reaction score
395
ok so.....

ive no idea what is wrong when i try to load this, but the whoel screen is white......

anyhow, i will comment on your code

ring of fire - no need for the else, you got nothing in there anyway, bjs, but im sure u knew that, guess u just converted to make it MUI

timed bomb - (neat concept) u can use
set x = createtexttag....
you never destroy it, dont know if u need to
all your dummy units are created at locations that leak

ice barrage - good

shockwave - again u can do
set l = createunit....
your boolexpr in your unit group leaks

other then the bjs, good just
also, waits are much less accurate then timers, try using timers in the future
 

Tinki3

Special Member
Reaction score
418
ive no idea what is wrong when i try to load this, but the whoel screen is white......
Hmm. Strange. I guess we will find out if its the map, or you that's not working, when other people dl it?
ring of fire - no need for the else, you got nothing in there anyway, bjs, but im sure u knew that, guess u just converted to make it MUI
Thats right, convert for MUI. And, actually, GUI didn't work properly, even when I didn't spam :rolleyes:
timed bomb - (neat concept)
Thx :)
set x = createtexttag....
you never destroy it, dont know if u need to
AceHart told me that it destroys, and cleans up/removes itself with the line call SetTextTagLifespanBJ( GetLastCreatedTextTag(), # ). It says so in the WE too:
"This sets the age at which floating text is removed and cleaned up", so I don't think you have to destroy it with another line?
all your dummy units are created at locations that leak
Ouch. Are they? How would you suggest I fix them?
ice barrage - good
:D, a cluster rockets trick :cool:
shockwave - again u can do
set l = createunit....
:eek:
your boolexpr in your unit group leaks
Again, a suggested fix?
other then the bjs, good just
also, waits are much less accurate then timers, try using timers in the future
Timers always give me errors, I can't use them properly, and I can't find KaTTana's handle variables anywhere..

Other than all that, thx for the overview :)
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
One word for you. JassCraft.

Use JassCraft to find out the native functions and use them instead. You have alot of bj functions, which came from the GUI-->JASS conversion.

http://www.wc3campaigns.net/showthread.php?t=80105



The spells, except 'Timed Bomb', were nothing special. Now, if you just could fix the 'Timed Bomb' to actually DO damage and kill trees...Because after a few casts, it bugged out.
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Well, about 2-3 casts. Then I restarted the map and everything worked fine again.
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
i liked the 1st and 2nd the 3rd doesn't seem like something special and the 4th is nice basically i liked ur spells good job (+Rep :p)
 

monoVertex

I'm back!
Reaction score
460
Ouch. Are they? How would you suggest I fix them?

Yes. Use coordinates or, instead of directly giving the location inside the arguments of the functions, first create a location variable, assign what yuo want to that, in the function that creates the unit use the variable, then destroy it (I haven't looked at your code, I am assuming that you gave the location directly in the arguments). Either way, coordinates are easier to use IMO and you don't have to clean them, as they are reals.
 

Tinki3

Special Member
Reaction score
418
I fixed the timed bomb not doing damage issue; it was a "targets allowed" problem in the object editor :eek:.

The killing of trees with that spell worked after I fixed the damage issue as well.

Yes. Use coordinates or, instead of directly giving the location inside the arguments of the functions, first create a location variable, assign what yuo want to that, in the function that creates the unit use the variable, then destroy it (I haven't looked at your code, I am assuming that you gave the location directly in the arguments). Either way, coordinates are easier to use IMO and you don't have to clean them, as they are reals.
Oh, ok. Thx =). I will fix the leaks when I have the time.
 

SFilip

Gone but not forgotten
Reaction score
634
Apart from the already stated things you should fix and update in the map...
Set LB_Point[2] = ((Position of (Last created unit)) offset by 350.00 towards ((360.00 / 8.00) x (Real((Integer A)))) degrees)
This is a leak, use another variable to first store the position of last created unti and then use polar offset on that variable...remove both afterwards.

As for the boolexpr...
set z = GetUnitsInRangeOfLocMatching(275.00, l_loc, Condition(function Dark_Shockwave_Group_Conditions))
This is the part that leaks. To fix it
Code:
function Dark_Shockwave_Actions takes nothing returns nothing
    local boolexpr cond = Condition(function Dark_Shockwave_Group_Conditions)
...
      set z = GetUnitsInRangeOfLocMatching(275.00, l_loc, cond)
...
// after the location remove functions
    call DestroyBoolExpr(cond)
...
endfunction

Fix these issues and reupload the map.
 

lh2705

Just another Helper
Reaction score
111
Is there a proper explanation to why i get a white screen after i load the map?
I mean all i see is white, but i can still see the GUI..
 

emjlr3

Change can be a good thing
Reaction score
395
i had he same problem, and still do, no idea why..never happened to me before on any other map
 

Sooda

Diversity enchants
Reaction score
318
Is there a proper explanation to why i get a white screen after i load the map?
I mean all i see is white, but i can still see the GUI..

In World Editor or in game ? Try running Blizzard help tool what should render you footman if it works look what it tells. Try updateing graphics card drivers (Don' t forget to make backups, etc.) ?
 

substance

New Member
Reaction score
34
Yeh I got the white screen too, I changed my display settings and restarted and it worked.

I like the ice spell alot and the timed bomb spell is great too, actually I JUST made a spell that does basically the same thing, only using a timer instead.

PHP:
Kami On
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Timed Kamikaze 
    Actions
        Floating Text - Destroy TimeFloatString
        Countdown Timer - Pause KamiTimer
        Countdown Timer - Start KamiTimer as a One-shot timer that will expire in 10.00 seconds
        Set Cyborg = No unit
        Set Cyborg = (Casting unit)
        Floating Text - Create floating text that reads (String((Remaining time for KamiTimer))) above Cyborg with Z offset 200.00, using font size 12.00, color (50.00%, 100.00%, 50.00%), and 100.00% transparency
        Set TimeFloatString = (Last created floating text)
        Trigger - Turn on Kami Show Time <gen>

PHP:
Kami Show Time
    Events
        Time - Every 0.01 seconds of game time
    Conditions
    Actions
        Floating Text - Change the position of TimeFloatString to (Position of Cyborg) with Z offset 200.00
        Floating Text - Change text of TimeFloatString to (String((Remaining time for KamiTimer))) using font size 12.00

PHP:
Kami Off
    Events
        Time - KamiTimer expires
    Conditions
    Actions
        Unit - Kill Cyborg
        Floating Text - Destroy TimeFloatString
        Unit - Cause Cyborg to damage circular area after 0.80 seconds of radius 600.00 at (Position of Cyborg), dealing 1000.00 damage of attack type Spells and damage type Normal
        Set Cyborg = No unit
 

Tinki3

Special Member
Reaction score
418
Apart from the already stated things you should fix and update in the map...
Set LB_Point[2] = ((Position of (Last created unit)) offset by 350.00 towards ((360.00 / 8.00) x (Real((Integer A)))) degrees)
This is a leak, use another variable to first store the position of last created unti and then use polar offset on that variable...remove both afterwards.

As for the boolexpr...
set z = GetUnitsInRangeOfLocMatching(275.00, l_loc, Condition(function Dark_Shockwave_Group_Conditions))
This is the part that leaks. To fix it
Code:
function Dark_Shockwave_Actions takes nothing returns nothing
    local boolexpr cond = Condition(function Dark_Shockwave_Group_Conditions)
...
      set z = GetUnitsInRangeOfLocMatching(275.00, l_loc, cond)
...
// after the location remove functions
    call DestroyBoolExpr(cond)
...
endfunction

Fix these issues and reupload the map.


Thx alot for notifying me of those leaks; I didn't notice one of them..

Will fix the map asaihtt (as soon as I have the time)
 

lh2705

Just another Helper
Reaction score
111
In World Editor or in game ? Try running Blizzard help tool what should render you footman if it works look what it tells. Try updateing graphics card drivers (Don' t forget to make backups, etc.) ?

That was in game...
Restarting the computer and WE didnt help..
 
Z

Zhygot

Guest
i have this problem when i import the ability time bomb and when i save it says "expected a name" =

"call PlaySoundBJ(gg_snd_BattleNetTick)"

help anyone? thanks.. Tinki3's been away i think..
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top