Postado Junho 23, 2015 10 anos Boa tarde... Gostaria de um script de aol para RedSkull, já tentei via actions e creaturescripts, alguém poderia me ajudar? Baiak Thunder New TFS Downgrade [TFS 1.5 - 8.60] Gesior Ferobra Downgrade Evento Monster Hunt [TFS 1.X] Evento SafeZone [TFS 1.X] Online Bonus System [TFS 1.X] Dodge & Critical [TFS 1.X] Nova moeda, funcionando com NPCs [TFS 1.X] Square System [TFS 1.X] Loot Channel [TFS 1.X] Gerenciador de Quests [All TFS] NPCs comprando vial/flasks por storage [TFS 1.X] AntiBot [TFS 1.X] Como compilar TFS 0.X
Postado Junho 23, 2015 10 anos Já tentou esse? \data\creaturescripts\scripts\login.lua registerCreatureEvent(cid, "redSkullAmulet") \data\creaturescripts\creaturescripts.xml <event type="death" name="redSkullAmulet" event="script" value="redamulet.lua"/> \data\creaturescripts\scripts\redamulet.lua function onDeath(cid, corpse, deathList) local ID_ITEM = 0 if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == ID_ITEM) and (getCreatureSkullType(cid) == SKULL_RED or getCreatureSkullType(cid) == SKULL_BLACK) then doPlayerRemoveItem(cid, ID_ITEM, 1) doCreatureSetDropLoot(cid, false) end return true end Mude o ID_ITEM para o ID do amulet
Postado Junho 23, 2015 10 anos Autor Já tentou esse? \data\creaturescripts\scripts\login.lua registerCreatureEvent(cid, "redSkullAmulet") \data\creaturescripts\creaturescripts.xml <event type="death" name="redSkullAmulet" event="script" value="redamulet.lua"/> \data\creaturescripts\scripts\redamulet.lua function onDeath(cid, corpse, deathList) local ID_ITEM = 0 if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == ID_ITEM) and (getCreatureSkullType(cid) == SKULL_RED or getCreatureSkullType(cid) == SKULL_BLACK) then doPlayerRemoveItem(cid, ID_ITEM, 1) doCreatureSetDropLoot(cid, false) end return true end Mude o ID_ITEM para o ID do amulet Sim, já tentei esse >: Baiak Thunder New TFS Downgrade [TFS 1.5 - 8.60] Gesior Ferobra Downgrade Evento Monster Hunt [TFS 1.X] Evento SafeZone [TFS 1.X] Online Bonus System [TFS 1.X] Dodge & Critical [TFS 1.X] Nova moeda, funcionando com NPCs [TFS 1.X] Square System [TFS 1.X] Loot Channel [TFS 1.X] Gerenciador de Quests [All TFS] NPCs comprando vial/flasks por storage [TFS 1.X] AntiBot [TFS 1.X] Como compilar TFS 0.X
Postado Junho 23, 2015 10 anos Autor Qual seu TFS? Não sei olhar isso :/ Como eu olho? Baiak Thunder New TFS Downgrade [TFS 1.5 - 8.60] Gesior Ferobra Downgrade Evento Monster Hunt [TFS 1.X] Evento SafeZone [TFS 1.X] Online Bonus System [TFS 1.X] Dodge & Critical [TFS 1.X] Nova moeda, funcionando com NPCs [TFS 1.X] Square System [TFS 1.X] Loot Channel [TFS 1.X] Gerenciador de Quests [All TFS] NPCs comprando vial/flasks por storage [TFS 1.X] AntiBot [TFS 1.X] Como compilar TFS 0.X
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.