I'll help you create a feature for "Arania TFS" (likely referring to The Forgotten Server for an OpenTibia server). Since you didn't specify exact details, I'll assume you want a custom monster, spell, or system for a spider-themed boss/area called "Arania" (from Latin aranea for spider).
for i = 1, config.amount do local x = math.random(config.fromPos.x, config.toPos.x) local y = math.random(config.fromPos.y, config.toPos.y) local pos = Position(x, y, config.fromPos.z) Game.createMonster(config.monster, pos) end Game.broadcastMessage("Arania's children are spreading through the sewers!", MESSAGE_STATUS_WARNING) return true end arania tfs
<!-- Summon spider minions --> <attack name="summon" interval="20000" chance="30"> <summon name="Poison Spider" max="3"/> <summon name="Giant Spider" max="2"/> </attack> </attacks> <defenses armor="45" defense="48"> <defense name="healing" interval="8000" chance="18" min="300" max="550"> <attribute key="area" value="1"/> </defense> <defense name="speed" interval="10000" chance="15" speedchange="300" duration="10000"/> </defenses> <elements> <element firePercent="-10"/> <element earthPercent="100"/> <element icePercent="-5"/> <element energyPercent="-5"/> <element physicalPercent="5"/> <element holyPercent="0"/> <element deathPercent="15"/> </elements> <immunities> <immunity poison="1"/> <immunity paralyze="1"/> <immunity invisible="1"/> </immunities> <loot> <item id="2148" countmax="100" chance="100000"/> <!-- gold --> <item id="2160" chance="20000"/> <!-- crystal coin --> <item id="6300" chance="10000"/> <!-- spider fang --> <item id="5910" chance="15000"/> <!-- spider silk --> <item id="6529" chance="8000"/> <!-- poison arrow --> <item id="7430" chance="5000"/> <!-- spider amulet --> <item id="6558" chance="3000"/> <!-- mysterious fetish --> <item id="2173" chance="1000"/> <!-- spider sceptre (custom) --> </loot> </monster> local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end I'll help you create a feature for "Arania
npcHandler:setMessage(MESSAGE_GREET, "Welcome, |PLAYERNAME|. Do you wish to sacrifice to summon the Spider Queen Arania?") npcHandler:setMessage(MESSAGE_SENDTRADE, "You need a Spider Queen's Idol to summon her.") Do you wish to sacrifice to summon the Spider Queen Arania
function onCreatureSay(cid, type, msg) local player = Player(cid) if not player then return end