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

how do I get just magic sqm in the char looks (exori vis)

chupaescadatri

Banned User
Joined
Jul 5, 2014
Messages
338
Reaction score
49
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_EXPLOSIONHIT)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.25, -0, -0.55, 0)

local arr = {
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 3, 0}
}

local area = createCombatArea(arr)
setCombatArea(combat, area)

function onCastSpell(cid, var)
    return doCombat(cid, combat, var)
end
exori vis is on monster, I'd like to leave it only in the direction the player is looking
 
I think he wants that Exori vis doesn't lock on the target if you attack a monster with staff/sword ect. And it casts right in front of the player direction.

Instead of editing the script I'd just open Spellcreator and paste that script into the one from the Original Exori vis, but that won't cast it in the player direction.

But editing the script is possible too of course :p
 
Last edited by a moderator:
Back
Top