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

Lua Haste no effect

droox

New Member
Joined
Jun 26, 2013
Messages
47
Reaction score
0
Hello, I have a problem on my server and do not know how to solve!
When a player gives "Utani Gran Hur" has no influence, however, if it go up and down a ladder magic takes effect immediately. Already tested other scripts and the result is the same, so I believe that the error is not in the script!

Does anyone know help me?

Thanks!
 
This is my Strong 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, 22000)
setConditionFormula(condition, 0.7, -56, 0.7, -56)
setCombatCondition(combat, condition)

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

And this, on spells.xml

<instant group="support" spellid="39" name="Strong Haste" words="utani gran hur" lvl="20" mana="100" prem="1" aggressive="0" selftarget="1" exhaustion="2000" groupcooldown="2000" needlearn="0" script="support/strong haste.lua">
<vocation name="Sorcerer"/>
<vocation name="Druid"/>
<vocation name="Master Sorcerer"/>
<vocation name="Elder Druid"/>
</instant>


HEEEEEEELP
 
Hello, I have a problem on my server and do not know how to solve!
When a player gives "Utani Gran Hur" has no influence, however, if it go up and down a ladder magic takes effect immediately. Already tested other scripts and the result is the same, so I believe that the error is not in the script!

Does anyone know help me?

Thanks!


I heard about that problem before, seems its the compile.
They switched to 1.0 TFS and got it working!
 
Back
Top