Xarly
Member
- Joined
- Mar 9, 2015
- Messages
- 360
- Reaction score
- 20
Hello guys well, i have added the supposed source fix for paralyze, and tried some things well, if the paralyze works with the player won't work correctly with the monsters and if the paralyze works with the monster won't work correctly with the players... so its a break of head so if someone can help me please im not sure if its a source problem or a script problem but it won't work correctly im using tfs 1.1 and this script:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.9, 0, -0.7, 0)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
thanks in advance guys i hope someone there can help me for make working correctly the paralyze
EDIT: Im needing something like this https://otland.net/threads/paralyze-rune-just-like-in-rl-delay-added.31363/ but for tfs 1.1 T_T
Bump!
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.9, 0, -0.7, 0)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
thanks in advance guys i hope someone there can help me for make working correctly the paralyze
EDIT: Im needing something like this https://otland.net/threads/paralyze-rune-just-like-in-rl-delay-added.31363/ but for tfs 1.1 T_T
Bump!
Last edited by a moderator: