• 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!

Tfs 0.3.5pl spell bug

Joined
Jun 24, 2009
Messages
103
Reaction score
0
Location
Sweden
hello i got problem with my tfs 0.3.5 if some1 could help me it should be very nice!XD
here is the problem
one knight makes utamo tempo and spamm exori con and when exhoust is gone the knigt spamm like 8 exori con
like this

Code:
17:40 Chickenbickenmeal [212]: exori hur
17:40 Chickenbickenmeal [212]: exori hur
17:40 Chickenbickenmeal [212]: exori hur
17:40 Chickenbickenmeal [212]: exori hur
17:40 Chickenbickenmeal [212]: exori hur
17:40 Chickenbickenmeal [212]: exori hur
17:40 Chickenbickenmeal [212]: exori hur
17:40 Chickenbickenmeal [212]: exori hur
17:40 Chickenbickenmeal [212]: exori hur
17:40 Chickenbickenmeal [212]: exori hur
17:40 Chickenbickenmeal [212]: exori hur
17:40 Chickenbickenmeal [212]: exori hur
17:40 Chickenbickenmeal [212]: exori hur

and here is the code

LUA:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 10000)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELDPERCENT, 220)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

local disable = createConditionObject(CONDITION_PACIFIED)
setConditionParam(disable, CONDITION_PARAM_TICKS, 10000)
setCombatCondition(combat, disable)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 1)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, 10000)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end

LUA:
	</instant>
	<instant name="Protector" words="utamo tempo" lvl="55" mana="200" prem="1" aggressive="0" selftarget="1" exhaustion="2000" needlearn="0" event="script" value="support/protector.lua">
		<vocation id="4"/>
		<vocation id="8"/>
	</instant>

i really need help with these things please ;)
 
Back
Top