• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Can someone edit this spell for me?

Cris2387

Member
Joined
Dec 30, 2013
Messages
177
Reaction score
9
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGYBALL)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497)

local arr = {
{1, 1, 1, 1, 1, 0},
{1, 0, 0, 0, 1, 0},
{1, 0, 2, 0, 1, 0},
{1, 0, 0, 0, 1, 0},
{1, 1, 1, 1, 1, 0}
}

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

function onCastSpell(cid, var)
   return doCombat(cid, combat, var)
end
Code:
  <instant name="vip trap" words="Exevo Gran Trap" lvl="100" mana="500" prem="0" aggressive="1" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="custom/magic prison.lua">
     <vocation id="5"/>
     <vocation id="6"/>
     <vocation id="7"/>
     <vocation id="8"/>
   </instant>
i want this spell to give red swords to the player that uses it :) and also when someone uses this spell close to the water the magic walls appear on the water so please someone try to fix that too, thank you!
 
Back
Top