Oh dude...dot another problem^^
I make such a spell:
And all i get is this:
what is wrong? I already clsoed and opened the creator again but nothin happened
Seems like you offset the spell.
Oh dude...dot another problem^^
I make such a spell:
And all i get is this:
what is wrong? I already clsoed and opened the creator again but nothin happened
What to do when you're bored:
lol.
would their be a way to make the spells for a third promotion though editor? or just change it in the script.
It's giving me errors when I try to implement the spell to server, using 9.44 TFS server,
Haha, the new feature allows things like this;
Looks crazy ^^. (The bullets do not "aim" yet, they all face north for testing purposes)
Can you post the script too so I can see where the problem is?
setCombatParam(combat25_NewItem70405, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatArea(combat25_NewItem70405,createCombatArea({{1, 1, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 2, 0, 0, 0}}))
function getDmg_NewItem70405(cid, level, maglevel)
return (10)*-1,(20)*-1
end
setCombatCallback(combat25_NewItem70405, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_NewItem70405")
-- Areas/Combat for 2900ms
local combat29_NewItem70405 = createCombatObject()
setCombatParam(combat29_NewItem70405, COMBAT_PARAM_EFFECT, CONST_ME_FIREWORK_BLUE)
setCombatParam(combat29_NewItem70405, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_REDSTAR)
setCombatParam(combat29_NewItem70405, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatArea(combat29_NewItem70405,createCombatArea({{1, 1, 1, 1, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 2, 0, 0, 0, 0}}))
function getDmg_NewItem70405(cid, level, maglevel)
return (10)*-1,(20)*-1
end
setCombatCallback(combat29_NewItem70405, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_NewItem70405")
-- Areas/Combat for 3300ms
local combat33_NewItem70405 = createCombatObject()
setCombatParam(combat33_NewItem70405, COMBAT_PARAM_EFFECT, CONST_ME_FIREWORK_BLUE)
setCombatParam(combat33_NewItem70405, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_REDSTAR)
setCombatParam(combat33_NewItem70405, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatArea(combat33_NewItem70405,createCombatArea({{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0}}))
function getDmg_NewItem70405(cid, level, maglevel)
return (10)*-1,(20)*-1
end
setCombatCallback(combat33_NewItem70405, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_NewItem70405")
-- Areas/Combat for 3700ms
local combat37_NewItem70405 = createCombatObject()
setCombatParam(combat37_NewItem70405, COMBAT_PARAM_EFFECT, CONST_ME_FIREWORK_BLUE)
setCombatParam(combat37_NewItem70405, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_REDSTAR)
setCombatParam(combat37_NewItem70405, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatArea(combat37_NewItem70405,createCombatArea({{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0}}))
function getDmg_NewItem70405(cid, level, maglevel)
return (10)*-1,(20)*-1
end
setCombatCallback(combat37_NewItem70405, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_NewItem70405")
-- =============== CORE FUNCTIONS ===============
function RunPart(c,cid,var) -- Part
if (isCreature(cid)) then
doCombat(cid, c, var)
end
end
function onCastSpell(cid, var)
RunPart(combat0_NewItem70405,cid,var)
addEvent(RunPart,1700,combat17_NewItem70405,cid,var)
addEvent(RunPart,1200,combat12_NewItem70405,cid,var)
addEvent(RunPart,600,combat6_NewItem70405,cid,var)
addEvent(RunPart,2200,combat22_NewItem70405,cid,var)
addEvent(RunPart,2500,combat25_NewItem70405,cid,var)
addEvent(RunPart,2900,combat29_NewItem70405,cid,var)
addEvent(RunPart,3300,combat33_NewItem70405,cid,var)
addEvent(RunPart,3700,combat37_NewItem70405,cid,var)
return true
end
It looks like you didn't copy the entire script from the program, it looks like it's missing half of the script.
woops, can't fucking damn edit posts...
not settings.ini, it's resources.xml