LE

Amuleto Infinito Como Aol !

By leandroskt8, 03 de mar. de 2012 in Archived

amuleto infinito!
script
7
1.2k
leandroskt8L
03 de março de 2012 às 23:09

quero deixa 3 amuleto meu infinito

 

 

 

 

<item id="2196" article="a" name="Perfect amulet">

<attribute key="description" value="serve como aol e infinito." />

<attribute key="weight" value="420" />

<attribute key="slotType" value="necklace" />

<attribute key="preventDrop" value="1"/>

<attribute key="speed" value="80" />

<attribute key="showattributes" value="1" />

</item>

 

<item id="11387" article="a" name="Perfecty amulet">

<attribute key="description" value="serve como aol e infinito." />

<attribute key="weight" value="420" />

<attribute key="slotType" value="necklace" />

<attribute key="preventDrop" value="1"/>

<attribute key="speed" value="80" />

<attribute key="showattributes" value="1" />

</item>

 

<item id="10719" article="a" name="Perfect amuleto">

<attribute key="description" value="serve como aol e infinito nao perde itens red." />

<attribute key="weight" value="420" />

<attribute key="slotType" value="necklace" />

<attribute key="preventDrop" value="1"/>

<attribute key="speed" value="150" />

<attribute key="showattributes" value="1" />

</item>

 

 

Rep + quem ajudar.!

ZmovirZ
03 de março de 2012 às 23:13

c coloca iso <attribute key="charges" value="0" /> ou <attribute key="charges" value="999999999" />

VodkartV
03 de março de 2012 às 23:25

creaturescript

 

nome do seu script.lua

function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
if isPlayer(cid) == true then
if isInArray({2196,2130,2131}, getPlayerSlotItem(cid, 2).itemid) then
doCreatureSetDropLoot(cid, false)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
return TRUE
end
end
return TRUE
end

 

 

login.lua add:

registerCreatureEvent(cid, "infinityAmulet")

creaturescript.xml

<event type="preparedeath" name="infinityAmulet" event="script" value="nome do seu script.lua"/>

items.xml

<item id="2196" article="a" name="Perfect amulet">
<attribute key="description" value="serve como aol e infinito." />
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="speed" value="80" />
<attribute key="showattributes" value="1" />
</item>

<item id="11387" article="a" name="Perfecty amulet">
<attribute key="description" value="serve como aol e infinito." />
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="speed" value="80" />
<attribute key="showattributes" value="1" />
</item>

<item id="10719" article="a" name="Perfect amuleto">
<attribute key="description" value="serve como aol e infinito nao perde itens red." />
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="speed" value="150" />
<attribute key="showattributes" value="1" />
</item>

Edited Março 3 by Vodkart

leandroskt8L
04 de março de 2012 às 01:27

vlw vot so que agr ta dropando itens :/

Edited Março 4 by godleandro

04 de março de 2012 às 05:29

Coloque isso nos items:

 

<attribute key="preventDrop" value="1" />

 

Exemplo:

 

 

<itemid="10719"article="a"name="Perfect amuleto">

<attribute key="description" value="serve como aol e infinito nao perde itens red." />

<attribute key="weight" value="420" />

<attribute key="slotType" value="necklace" />

<attribute key="preventDrop" value="1" />

<attribute key="speed" value="150" />

<attribute key="showattributes" value="1" />

</item>

leandroskt8L
04 de março de 2012 às 10:27

obrigado vodkart tinha esquecido coloca ides no script por isso não tinha dado :)

VodkartV
04 de março de 2012 às 10:42

Ah é ihauhaahiuahiuahaia

eu esqueci de editar '...',pq eu fui testa ele

mal ai

abraços