Arania Tfs -

local function summonArania(cid, sacrificeItem) local player = Player(cid) if not player then return false end

if msgcontains(msg, "sacrifice") then local idol = player:getItemById(12345, true) -- custom item ID if idol then summonArania(cid, 12345) else npcHandler:say("You don't have the Spider Queen's Idol.", cid) end end end arania tfs

npcHandler:addModule(EVENT_CREATURE_SAY) <item id="12345" article="a" name="Spider Queen's Idol"> <attribute key="weight" value="1200"/> <attribute key="worth" value="5000"/> <attribute key="description" value="It pulses with arachnid energy. Use at the altar to summon Arania."/> </item> Add loot to some rare creature or as quest reward. 4. Optional: Arania’s Web Trap Global Event ( data/globalevents/arania_invasion.lua ) local invasion = GlobalEvent("AraniaInvasion") function invasion.onStartup(interval) local config = fromPos = x = 1000, y = 1000, z = 7, toPos = x = 1020, y = 1020, z = 7, amount = 5, monster = "Poison Spider" y = 1000