hey vex can u teach me kinda how to make it so the trigger spells make a shape plz teach me
function BuffCond takes nothing returns boolean
if ( ( UnitHasBuffBJ(GetAttackedUnitBJ(), RawBuffLv1()) == true ) or ( UnitHasBuffBJ(GetAttackedUnitBJ(), RawBuffLv2()) == true ) or ( UnitHasBuffBJ(GetAttackedUnitBJ(), RawBuffLv3()) == true ) ) then
return true
endif
return false
endfunction
//could be
function BuffCond takes nothing returns boolean
return (GetUnitAbilityLevel(GetTriggerUnit(),RawBuff())>0)
endfunction
Leopard... I didn't know that Vex made a JASS tutorial. Could I see it as well? I'm curious to see what he did. After all, he is a pro!
~Daelin
About variable name, i just want people easy to read my code, instead of just "DamageTarget(a,b,c,...)"
local unit u=GetTriggerUnit()
local effect e=AddSpecialEffect(bla bla bla)
//Is better than
local unit spellcaster=GetTriggerUnit()
local effect LightningFx=AddSpecial...
local unit u = GetTriggerUnit()I think that celestial star uses same system as daelin's star spells. If thats the case the rules for arcane competition says not copies from older spells and no usement of spell systems made by different people.
Still the spells are nice, i give them 4/5