Postado Setembro 26, 2013 11 anos Amigo tente esse, eu ja usei e recomendo Creditos: Sebasbe and Nicekid 1° passo vá até data\creaturescripts\scripts e crie um arquivo.lua e renomeie para preparedeath.lua dentro coloque: function onDeath(cid, corpse, deathList) if (getPlayerSlotItem(cid, 2).itemid == 2196) and getPlayerSkullType(cid) >= 4 then doPlayerRemoveItem(cid, 2196, 0) doCreatureSetDropLoot(cid, false) end return true end em data\creaturescripts\scripts\login.lua adiciona a linha: registerCreatureEvent(cid, "SkullAmulet") creaturescripts.xml adicione: <event type="death" name="SkullAmulet" event="script" value="preparedeath.lua"/> 2° - passo em items.xml substitua <item id="2196" article="a" name="broken amulet"> <attribute key="weight" value="420" /> <attribute key="slotType" value="necklace" /> </item> Por: <item id="2196" article="a" name="Red Skull Amulet"> <attribute key="weight" value="420" /> <attribute key="slotType" value="necklace" /> </item> Ot Design: https://discord.gg/VgtVRNmCD7
Postado Setembro 26, 2013 11 anos Autor ele funciona se estiver RED OU BLACK se fica NORMAL. SEM ESTAR SKULL Ele perde oS ITEMS .... Editado Setembro 26, 2013 11 anos por texzin (veja o histórico de edições)
Postado Setembro 26, 2013 11 anos Troca por este: function onDeath(cid, corpse, deathList) if (getPlayerSlotItem(cid, 2).itemid == 8266) and getPlayerSkullType(cid) >= 4 then doCreatureSetDropLoot(cid, false) end return true end adicione no item: <attribute key="preventDrop" value="1"/> vai ficar assim: <item id="8266" article="a" name="Red Skull Amulet"> <attribute key="weight" value="420" /> <attribute key="slotType" value="necklace" /> <attribute key="preventDrop" value="1"/> </item> Créditos pela ajuda: Jamison Ot Design: https://discord.gg/VgtVRNmCD7
Postado Setembro 26, 2013 11 anos Em 26/09/2013 em 02:09, texzin disse: o Amulto n ta dropando mano.. os items estão dropando se eu nao estiver pk ! Vou testar aqi .. EDIT : Agora o amuleto esta sumindo..Como faço pra ele não sumir? Em 26/09/2013 em 22:20, texzin disse: @@@@@@@UPPPPP Em 26/09/2013 em 23:00, texzin disse: ele funciona se estiver RED OU BLACK se fica NORMAL. SEM ESTAR SKULL Ele perde oS ITEMS .... Primeiramente, cuidado com o @UP, ele só pode ser usado de 24 horas em 24 horas. Segundo, evite usar uma grande parte do seu texto ou pedido em letra maiúscula. 愛"A alma permanece em suas criações" 平(Não dou suporte por mensagem privada.)
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.