Scripts De Level.

apaza
Por apaza
em Lixeira Pública

apaza

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 26/03/10Posts: 4Char no Tibia: apaza

Gostaria de um script que até certo level quando você morre não perde nada. já vi isso em alguns ots e gostaria de ter no meu =D.

Obrigado.

Vodkart

Sumus Validus
avatar
Herói
Herói

INFOS

Grupo: HeróiRegistrado: 21/05/10Posts: 3406Gênero: Masculino

Eu até faria sério,mais se eu fosse atender seria a 3° ou a 4° vez que eu faria o mesmo script,então tenho certeza que se você for procurar vai achar :]

abraços

 

 

achei tava aqui:

 

http://www.xtibia.com/forum/topic/149107-scripts-de-level/page__gopid__986774#entry986774

 

 

 

nome do seu script.lua

function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)

registerCreatureEvent(cid, "NotLoot")


local level = 50

if isPlayer(cid) and getPlayerLevel(cid) <= level then 
doCreatureSetDropLoot(cid, false)  
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA) 
return TRUE 
end 
return TRUE 
end

 

creaturescript.xml

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

bossisg.png