//Verifica se o Player possui a chave
if (countitem(.key) < 1) {
dispbottom "[Baú Comum]: ATENÇÃO!";
dispbottom "[Baú Comum]: Para abrir esse baú você precisa de uma ["+getitemname(.key)+"].";
getitem .chest,.qnt;
} else{
//Faz a entrega da premiação
callfunc "F_Rand",1,23025,1,616,1,12103,1,23019,1,23026,1;
delitem .key,.qnt;
}
end;
}
Question
Geralt
guys I have a doubt I open the box not the iens
script
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.