• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Spell text problem

Fakaa

New Member
Joined
Oct 31, 2008
Messages
102
Reaction score
0
Hello my fellow tibians, I recently got a error with my custom spells, my server is oke ! no error messages at the console.

but the problem is when i say my custom spells it wont say text like the spell from gesior(i think) utani nitro hur, but it wont say text. it will cast the spell tho ;|

im in a problem here please help me out and i can give u rep++
 
oke how do i do that ? xD


i guess like this im sorry if it's wrong


Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 36)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1494) 

local condition = createConditionObject(CONDITION_HASTE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 22000)
setConditionFormula(condition, 10.7, -156, 10.7, -156)
setCombatCondition(combat, condition)

local function fire(parameters)
doCombat(parameters.cid, parameters.combat, parameters.var)
end

function onCastSpell(cid, var)
	local delay = 100
	local seconds = 0
	local parameters = { cid = cid, var = var, combat = combat }
	repeat
		addEvent(fire, seconds, parameters)
		seconds = seconds + delay
	until seconds == 22000
end


thnx for quick reply
 
Last edited:
Please help me I will explain it again, My spells are correct scripted cause in the console are no errors. but when i cast the spell it wont say text like "Utani nitro hur" or "Exevo gran mas mort"


Please guys, this is peanuts for who knows it..
I give rep++ since that is what it's going about these days :p
 
Back
Top