SU
pedido

Aol Especiais

Por sumbel, 21 de nov. de 2012 em Scripts

7
1.3k
sumbelS
21 de novembro de 2012 às 12:23

Hola gostaria de fazer um pedido na verdade 2!

quero um amuleto infinito igual o do rozinx como ele funciona:

 

ele protege level, loot , skill estando skull ou sem, e também adiciona 20 porcento de vida e mana!

 

já o outro só protegeria loot,skill adicionaria vida e life também, a unica coisa que não faria e proteger level!

DeadpoolD
21 de novembro de 2012 às 12:33

Bastava Procura No Forum: >>> RedSkull Amulet <<< Clica Ai

sumbelS
21 de novembro de 2012 às 12:36

Mas e do geito que eu quero sendo e nao sendo red skull?

SkyLighS
21 de novembro de 2012 às 12:40

tente usa o script assim .

 

		    function onDeath(cid, corpse, deathList)
if (getPlayerSlotItem(cid, 2).itemid == 2196) then
doPlayerRemoveItem(cid, 2196, 1)
doCreatureSetDropLoot(cid, false) 
end
return true
end

sumbelS
23 de novembro de 2012 às 12:54

ele nao protege level :/

SkyLighS
23 de novembro de 2012 às 13:01

so usar assim

 

function onDeath(cid, corpse, deathList)
if (getPlayerSlotItem(cid, 2).itemid == 2196) then
doPlayerRemoveItem(cid, 2196, 1)
doCreatureSetDropLoot(cid, false)
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 0)
end
return true
end

 

e se for proteger skill tbm

 

usa assim

 

function onDeath(cid, corpse, deathList)
if (getPlayerSlotItem(cid, 2).itemid == 2196) then
doPlayerRemoveItem(cid, 2196, 1)
doCreatureSetDropLoot(cid, false)
doPlayerSetLossSkill(cid, false)
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 0)
end
return true
end

Editado Novembro 23 por SkyLigh

SmiXS
23 de novembro de 2012 às 13:02

Tenta assim:

function onDeath(cid, corpse, deathList)
if (getPlayerSlotItem(cid, 2).itemid == 2196) then
doPlayerRemoveItem(cid, 2196, 1)
doCreatureSetDropLoot(cid, false) 
doPlayerSetLossPercent(cid, 1, 0)
doPlayerSetLossPercent(cid, 2, 0)
doPlayerSetLossPercent(cid, 3, 0)
doPlayerSetLossPercent(cid, 4, 0)
doPlayerSetLossPercent(cid, 5, 0)
doPlayerSetLossPercent(cid, 6, 0)
doPlayerSetLossPercent(cid, 7, 0)
doPlayerSetLossPercent(cid, 8, 0)
end
return true
end