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

SasirO

Banned User
Joined
Apr 30, 2009
Messages
559
Reaction score
0
Im using tfs 0.3.5
look at the screen, this is when a pally or knight make utamo tempo, they do the bottom of the exori hur pushed, and they make a combo :/ Anyone know how to fix that??

exorihur.jpg

:eek:
thanks in advance
 
well, i dont know how to fix it but you can disable utamo tempo spell while you wait some one that know how to fix it post here.
 
swift foot
Code:
local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatParam(combat2, COMBAT_PARAM_DISPEL, CONDITION_HASTE)

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_HASTE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 10000)
setConditionFormula(condition, 0.8, 0, 0.8, 0)
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)
	if exhaustion.check(cid, 30030) then
		return FALSE
	else
		return doRemoveCondition(cid, CONDITION_HASTE), doCombat(cid, combat, var)
	end
end




ethereal spear
Code:
--Calculed by ta4e--
--For tibia 8.5--
--Made in 11/10/09--

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, TRUE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ETHEREALSPEAR)

function getSpellDamage(cid, weaponSkill, weaponAttack)
    damage_min = (weaponSkill * weaponAttack / 30) * 0.45
    damage_max = (weaponSkill * weaponAttack / 30) * 0.65

    if(damage_max < damage_min) then
        local tmp = damage_max
	  damage_max = damage_min
	  damage_min = tmp
    end
    return -damage_min, -damage_max
end

setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "getSpellDamage")



function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end
 
It's the pacify effect.

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

after the 10 sec have passed they just spam a spell and it bugs with the normal exhaust.
 
Back
Top