Spellpack Dragon spells

MagnaGuard

Active Member
Reaction score
49
Here are some dragon spells that I made!

Dragon Rage
JASS:
function Trig_Dragon_Rage_ulti_Conditions takes nothing returns boolean
    if ( not ( GetSpellAbilityId() == 'A000' ) ) then
        return false
    endif
    return true
endfunction

function Trig_Dragon_Rage_ulti_Actions takes nothing returns nothing
    call AddSpecialEffectLocBJ( GetUnitLoc(GetTriggerUnit()), "Doodads\\Cinematic\\Lightningbolt\\Lightningbolt.mdl" )
    call PauseUnitBJ( true, gg_unit_H000_0001 )
    call CreateNUnitsAtLocFacingLocBJ( 1, 'h002', Player(0), OffsetLocation(GetUnitLoc(GetTriggerUnit()), -0.01, 0), GetUnitLoc(GetTriggerUnit()) )
    call UnitApplyTimedLifeBJ( 1.50, 'BTLF', GetLastCreatedUnit() )
    call IssuePointOrderLocBJ( GetLastCreatedUnit(), "attackground", OffsetLocation(GetUnitLoc(GetTriggerUnit()), 500.00, 0) )
    call CreateNUnitsAtLocFacingLocBJ( 1, 'h002', Player(0), OffsetLocation(GetUnitLoc(GetTriggerUnit()), 0.01, 0), GetUnitLoc(GetTriggerUnit()) )
    call UnitApplyTimedLifeBJ( 1.50, 'BTLF', GetLastCreatedUnit() )
    call AddSpecialEffectLocBJ( GetUnitLoc(GetTriggerUnit()), "Doodads\\Cinematic\\Lightningbolt\\Lightningbolt.mdl" )
    call IssuePointOrderLocBJ( GetLastCreatedUnit(), "attackground", OffsetLocation(GetUnitLoc(GetTriggerUnit()), 0, 500.00) )
    call CreateNUnitsAtLocFacingLocBJ( 1, 'h002', Player(0), OffsetLocation(GetUnitLoc(GetTriggerUnit()), 0, -0.01), GetUnitLoc(GetTriggerUnit()) )
    call UnitApplyTimedLifeBJ( 1.50, 'BTLF', GetLastCreatedUnit() )
    call IssuePointOrderLocBJ( GetLastCreatedUnit(), "attackground", OffsetLocation(GetUnitLoc(GetTriggerUnit()), -500.00, 0.00) )
    call CreateNUnitsAtLocFacingLocBJ( 1, 'h002', Player(0), OffsetLocation(GetUnitLoc(GetTriggerUnit()), 0, 0.01), GetUnitLoc(GetTriggerUnit()) )
    call UnitApplyTimedLifeBJ( 1.50, 'BTLF', GetLastCreatedUnit() )
    call IssuePointOrderLocBJ( GetLastCreatedUnit(), "attackground", OffsetLocation(GetUnitLoc(GetTriggerUnit()), 0.00, -500.00) )
    call AddSpecialEffectLocBJ( GetUnitLoc(GetTriggerUnit()), "Doodads\\Cinematic\\Lightningbolt\\Lightningbolt.mdl" )
    call TriggerSleepAction( 1.25 )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), 500.00, 0), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), 0, 500.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), 0, -500.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), -500.00, 0), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), 400.00, 200.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), 300.00, 300.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), 150.00, 450.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), -400.00, 200.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), -300.00, 300.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( GetUnitLoc(GetTriggerUnit()), "Doodads\\Cinematic\\Lightningbolt\\Lightningbolt.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), -150.00, 450.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), -400.00, -200.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), -300.00, -300.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), -150.00, -450.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), 400.00, -200.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), 300.00, -300.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), 150.00, -450.00), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( GetUnitLoc(GetTriggerUnit()), "Doodads\\Cinematic\\Lightningbolt\\Lightningbolt.mdl" )
    call AddSpecialEffectLocBJ( GetUnitLoc(GetTriggerUnit()), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), 200.00, 0.00), "Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), -200.00, 0.00), "Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), 0.00, -200.00), "Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(gg_unit_H000_0001), 0.00, 200.00), "Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl" )
    call TriggerSleepAction( 3.00 )
    call PauseUnitBJ( false, gg_unit_H000_0001 )
endfunction

//===========================================================================
function InitTrig_Dragon_Rage_ulti takes nothing returns nothing
    set gg_trg_Dragon_Rage_ulti = CreateTrigger(  )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_Dragon_Rage_ulti, EVENT_PLAYER_UNIT_SPELL_EFFECT )
    call TriggerAddCondition( gg_trg_Dragon_Rage_ulti, Condition( function Trig_Dragon_Rage_ulti_Conditions ) )
    call TriggerAddAction( gg_trg_Dragon_Rage_ulti, function Trig_Dragon_Rage_ulti_Actions )
endfunction


Dragon Claws
JASS:
function Trig_Dragons_Claw_Conditions takes nothing returns boolean
    if ( not ( GetSpellAbilityId() == 'A004' ) ) then
        return false
    endif
    return true
endfunction

function Trig_Dragons_Claw_Actions takes nothing returns nothing
    call AddSpecialEffectLocBJ( GetSpellTargetLoc(), "Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), 50.00, 0), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), -50.00, 0), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), 0, 50.00), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), 0, -50.00), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), -50.00, 50.00), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), 50.00, -50.00), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), -50.00, -50.00), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), 50.00, 50.00), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
endfunction

//===========================================================================
function InitTrig_Dragons_Claw takes nothing returns nothing
    set gg_trg_Dragons_Claw = CreateTrigger(  )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_Dragons_Claw, EVENT_PLAYER_UNIT_SPELL_CAST )
    call TriggerAddCondition( gg_trg_Dragons_Claw, Condition( function Trig_Dragons_Claw_Conditions ) )
    call TriggerAddAction( gg_trg_Dragons_Claw, function Trig_Dragons_Claw_Actions )
endfunction


Dragon Roar
JASS:
function Trig_Dragon_Roar_Conditions takes nothing returns boolean
    if ( not ( GetSpellAbilityId() == 'A006' ) ) then
        return false
    endif
    return true
endfunction

function Trig_Dragon_Roar_Func003001 takes nothing returns boolean
    return ( GetUnitAbilityLevelSwapped('A006', gg_unit_H000_0001) == 1 )
endfunction

function Trig_Dragon_Roar_Func004001 takes nothing returns boolean
    return ( GetUnitAbilityLevelSwapped('A006', gg_unit_H000_0001) == 2 )
endfunction

function Trig_Dragon_Roar_Func005001 takes nothing returns boolean
    return ( GetUnitAbilityLevelSwapped('A006', gg_unit_H000_0001) == 3 )
endfunction

function Trig_Dragon_Roar_Actions takes nothing returns nothing
    call AddSpecialEffectLocBJ( GetUnitLoc(gg_unit_H000_0001), "Abilities\\Spells\\Other\\HowlOfTerror\\HowlCaster.mdl" )
    if ( Trig_Dragon_Roar_Func003001() ) then
        call UnitDamageTargetBJ( gg_unit_H000_0001, gg_unit_H000_0001, 40.00, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_NORMAL )
    else
        call DoNothing(  )
    endif
    if ( Trig_Dragon_Roar_Func004001() ) then
        call UnitDamageTargetBJ( gg_unit_H000_0001, gg_unit_H000_0001, 50.00, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_NORMAL )
    else
        call DoNothing(  )
    endif
    if ( Trig_Dragon_Roar_Func005001() ) then
        call UnitDamageTargetBJ( gg_unit_H000_0001, gg_unit_H000_0001, 70.00, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_NORMAL )
    else
        call DoNothing(  )
    endif
    call AddSpecialEffectLocBJ( GetUnitLoc(gg_unit_H000_0001), "Abilities\\Spells\\Items\\VampiricPotion\\VampPotionCaster.mdl" )
    call DestroyEffectBJ( GetLastCreatedEffectBJ() )
    call AddSpecialEffectLocBJ( GetSpellTargetLoc(), "Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl" )
    call DestroyEffectBJ( GetLastCreatedEffectBJ() )
endfunction

//===========================================================================
function InitTrig_Dragon_Roar takes nothing returns nothing
    set gg_trg_Dragon_Roar = CreateTrigger(  )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_Dragon_Roar, EVENT_PLAYER_UNIT_SPELL_CAST )
    call TriggerAddCondition( gg_trg_Dragon_Roar, Condition( function Trig_Dragon_Roar_Conditions ) )
    call TriggerAddAction( gg_trg_Dragon_Roar, function Trig_Dragon_Roar_Actions )
endfunction

 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
Post code and give a little more description. For the screenshots in game hit "Print Screen" key on your keyboard and in your Warcraft folder you will see a Screenshots folder. The images are saved as .tga format and you can upload them in www.imageshack.us or another hosting site. Then edit your post and put the link you recieve in
img*] tags (without * ) or just give the link. If you can't upload the image then it's too big and make it .jpeg format and try again. ;)
 

Trollvottel

never aging title
Reaction score
262
there are thousand of leaks in your triggers o0!! check out some leak-tutorials before posting a spell here. i think a rule for posting something here is to remove all leaks. anyway the AoE spell looks nice
 

NapaHero

Back from the dead...
Reaction score
43
Your trigger should be in GUI. Your trigger there is only converted GUI. And, what the heck, how many BJ's are there?
 

Trollvottel

never aging title
Reaction score
262
it is because he did it in gui and in gui you use bjs :) i think he didnt get how to copy a trigger as text
 

NetherHawk

New Member
Reaction score
26
aww man give the guy a break... haha... but seriously you have to clear leaks and learn how to remove those swaps and bjs. check you the tutorials =D
 

w00t22

CSS L4D DoD? Steam ID = w00t22
Reaction score
43
use loops, clear leaks and optimize the jass if your going convert it, All you did was make in gui, convert and pasted jass code. keep it in gui if you dont know jass please.
 

NetherHawk

New Member
Reaction score
26
let me give you an example

GetUnitAbilityLevelSwapped('A006', gg_unit_H000_0001) == 3
should be GetUnitAbilityLevel(gg_unit_H000_0001,'A006') == 3

pls dun use pre-placed units on the map. Store them in variables .. At least i think thats what gg_unit_H000_0001 is.

secondly GetUnitLoc leaks alot. Store each location as a variable for example GetUnitLoc(theunit) = l as a variable, if you like an array and then RemoveLocation(l)
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
Tons of leaks and that's not JASS /neither MUI/... Did you just convert it? Why not keep it GUI?
 

Darkchaoself

What is this i dont even
Reaction score
106
I dont know JASS, but i know that
JASS:
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), 50.00, 0), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), -50.00, 0), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), 0, 50.00), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), 0, -50.00), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), -50.00, 50.00), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), 50.00, -50.00), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), -50.00, -50.00), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
    call AddSpecialEffectLocBJ( OffsetLocation(GetSpellTargetLoc(), 50.00, 50.00), "Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl" )
endfunction

Can easily be a loop, and you never remove the special effects either.
 

0zaru

Learning vJASS ;)
Reaction score
60
Leaks, really bad jass, preplaced unit use, if i where you i would really fix those spells...

First of all, Don't convert the GUI to ¿JASS? (It isn't jass ... it's just converted GUI).Then Use Triggering unit,or other event responce units. Loop between effects and all. Then Clean leaks.


After that don't convert gui, copy it as text and paste directly.
 

Sim

Forum Administrator
Staff member
Reaction score
534
Please submit these spells in GUI. ;)

Thanks.
 

MagnaGuard

Active Member
Reaction score
49
OoOh. I have just read Daelin's spell help thingy but it's not really what I am looking for. Does anyone know where a "Different" tutorial is? Because everyones been saying remove leaks etc. I found out how to remove leaks but I need to know how to do other stuff, like using 3x less actions.
 
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