mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-11-28 15:46:49 +01:00
finish assasin outfit part
This commit is contained in:
@@ -395,6 +395,9 @@
|
||||
<movevent event="StepIn" itemid="5764" script="misc/drowning.lua" />
|
||||
<movevent event="StepOut" itemid="5764" script="misc/drowning.lua"/>
|
||||
|
||||
<!-- Laguna Islands -->
|
||||
<movevent event="StepIn" frommovementid="17563" tomovementid="17564" script="laguna_islands/erayo_hut_stairs.lua" />
|
||||
|
||||
<!-- Goroma -->
|
||||
<movevent event="StepIn" frommovementid="17506" tomovementid="17508" script="goroma/energy_barrier.lua" />
|
||||
<movevent event="StepIn" movementid="17510" script="goroma/to_ramoa.lua" />
|
||||
|
||||
16
data/movements/scripts/laguna_islands/erayo_hut_stairs.lua
Normal file
16
data/movements/scripts/laguna_islands/erayo_hut_stairs.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
if creature:getCondition(CONDITION_INVISIBLE, CONDITIONID_COMBAT) or creature:getCondition(CONDITION_INVISIBLE, CONDITIONID_RING) then
|
||||
if item:getId() == 485 then
|
||||
doRelocate(item:getPosition(),{x = 32517, y = 32910, z = 8})
|
||||
elseif item:getId() == 1947 then
|
||||
doRelocate(item:getPosition(),{x = 32517, y = 32908, z = 7})
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
doRelocate(item:getPosition(),{x = 32519, y = 32914, z = 7})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 32519, y = 32914, z = 7}, 11)
|
||||
creature:say("Why are you sneaking around in my house? Think I don't see you?", TALKTYPE_MONSTER_SAY, false, 0, creature:getPosition())
|
||||
end
|
||||
Reference in New Issue
Block a user