
oficekkk
Membro
-
Registro em
-
Última visita
Histórico de Curtidas
-
oficekkk deu reputação a Vodkart em Amuleto Infinito que dropa os itens apenas Red Skullvá até data\creaturescripts\scripts e crie um arquivo.lua e renomeie para preparedeathred.lua
dentro coloque:
function onDeath(cid, corpse, deathList) if (getPlayerSlotItem(cid, 2).itemid == 13755) then -- id do colar doCreatureSetDropLoot(cid, getPlayerSkullType(cid) >= 4 and true or false) if getPlayerSkullType(cid) >= 4 then doPlayerRemoveItem(cid, 13755, 1) end end return true end
em data\creaturescripts\scripts\login.lua adiciona a linha:
registerCreatureEvent(cid, "RedSkullAmulet")
creaturescripts.xml adicione:
<event type="death" name="RedSkullAmulet" event="script" value="preparedeathred.lua"/> em items.xml deixa assim:
<item id="13755" article="a" name="Amulet Vip"> <attribute key="description" value="Protect All 6%, Dropa os items apenas RedSkull" /> <attribute key="weight" value="500" /> <attribute key="absorbPercentAll" value="6" /> <attribute key="slotType" value="necklace" />
-
oficekkk recebeu reputação de ITALOx em Cliente Dando Debug após compilar uma nova sourceBom eu recompilei as sources dessa vez com os limits effects aumentados e foi, não sei o pq em si porém consegui arrumar!
Obrigado a todos