Warcraft III resources & community, 2003–2006 · archived

Chain Venom v1.11

not rated
Submitted by LeopardJASS Enhanced359 downloads18 KB
Screenshot
Screenshot
Arcane Competition.

Now coded in JASS and will ignore Magic Immune unit. No global variables used here, so it multi-instanceable.

*update: Get rid most of leaks.
File Name
Spell - Chain Venom v1.11.w3x
Author
Leopard
Download

Comments

7
Perfect, just what I need :D
hmm leopard . . . i saw the spell now that is supposed to be in jass and i didnt like the filter funcs



function IsMech takes nothing returns boolean
    return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_MECHANICAL) == false )
endfunction

function IsStructure takes nothing returns boolean
    return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction

function IsImmuneMagic takes nothing returns boolean
    return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_MAGIC_IMMUNE) == false )
endfunction

function IsDead takes nothing returns boolean
    return ( IsUnitDeadBJ(GetFilterUnit()) == false )
endfunction

function check2 takes nothing returns boolean
    return GetBooleanAnd( IsDead(), IsImmuneMagic() )
endfunction

function check1 takes nothing returns boolean
    return GetBooleanAnd( IsStructure(), check2() )
endfunction

function check_bool takes nothing returns boolean
    return GetBooleanAnd( IsMech(), check1() )
endfunction


this is how you filter the units,but this is the GUI method,in JASS it should have been


function FilterFunc takes nothing returns boolean
return not IsUnitType(GetFilterUnit(), UNIT_TYPE_MECHANICAL) and not IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE)) and not IsUnitType(GetFilterUnit(), UNIT_TYPE_MAGIC_IMMUNE) and not IsUnitDeadBJ(GetFilterUnit()) 
endfunction


otherwise good job :)
Yeah, actually pick unit group does leak. I know it after i made it.
Why you're making so much maps with only one spell? The Daelin said all spells in one map...

Becouse you don't get all the ideas at the same time.

Any way, I have only downloaded the trigger version and I was very impressed. I didn't thought it was possible to make true chain spells with only GUI triggers. Another very good thing I liked was that you could add spell effects to each unit in the chain. Very usfull. But I found one less good thing in it, the bounces are too slow. It takes to long to time for the missile to bounce to its' next target. I don't know if this can be fixed. Now I will try this JASS version.


I have now tested the JASS version and it is great! No rebounces and no time between each bounce. Mabey I should use this instead of Vexorian's Chain Template since this spell can use any missile model and still look perfect. In Vexorian's template it does not look very good when a not sphere shaped missile turns, which reduces the amount of missiles a lot. Great work Leopard!
But does no all that "pick unit" commands leak? I thought the did that.
This is my first flight with JASS. Hope it will easier to import coz don't use global variable and can be multicast.
very cool
Why you're making so much maps with only one spell? The Daelin said all spells in one map...