I think you can change the ID of the magic wall in your magic walla rune script ? I dunno but try
ID: 1498
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Try to make it 1497
here is my script
Code:local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497) function onCastSpell(cid, var) return doCombat(cid, combat, var) end
@second
use startlevel and equipment script or set save to 0 in database for each character
function onKill(cid, target, lastHit)
if isPlayer(cid) then
if isPlayer(target) then
doSetCreatureDropLoot(target, false)
end
end
return true
end
How do I make so no characters drop items
Lua:function onKill(cid, target, lastHit) if isPlayer(cid) then if isPlayer(target) then doSetCreatureDropLoot(target, false) end end return true end
Working, thanks! rep+
Ahoi, thanks for reading!
Rep+ to the one who help me!
Im using [8.7] The Forgotten Server v0.2.9 (Mystic Spirit)
First:
SOLVED
Second:
How do I make so no characters drop items, skills and so on?
(Im making a PVP ot.)
Regards,
Furstwin.
What, why?
Players will still have their dead bodies, why wouldnt they? lol
Iirc, the way the sources are coded means that the utilization of that function prevents everything from happening regarding loot starting with the creation of a corpse; therefore, no body is created upon death.
Maybe I'm thinking of another function?