hi,i have a problemwith thisscript.... meloadswithoutproblems,but itdoes not work,you tell mewhereI'm wrong?
- script Trasure Coin -1,{
OnClock0300:
announce "A rare Treasure Box will be spawned in Prontera",0;
monster "prontera",0,0"Treasure Box Coin",1845,5,"TreasureBoxSummonerCoin::OnCoinBoxKilled";
startnpctimer;
end;
OnTimer1000:
announce "All treasure in Prontera are destroyed",0;
killmonster "prontera","TreasureBoxSummonerCoin::OnCoinBoxKilled";
setnpctimer,0;
end;
OnClock1600:
announce "A rare Treasure Box will be spawned in Prontera",0;
monster "prontera",0,0"Treasure Box Coin",1845,5,"TreasureBoxSummonerCoin::OnCoinBoxKilled";
startnpctimer;
end;
OnTimer1000:
announce "All treasure in Prontera are destroyed",0;
killmonster "prontera","TreasureBoxSummonerCoin::OnCoinBoxKilled";
setnpctimer,0;
end;
OnClock2400:
announce "A rare Treasure Box will be spawned in Prontera",0;
monster "prontera",0,0"Treasure Box Coin",1845,5,"TreasureBoxSummonerCoin::OnCoinBoxKilled";
startnpctimer;
end;
OnTimer1000:
announce "All treasure in Prontera are destroyed",0;
killmonster "prontera","TreasureBoxSummonerCoin::OnCoinBoxKilled";
setnpctimer,0;
end;
OnCoinBoxKilled:
announce "The rare Treasure Box has been found and destroyed by "+strcharinfo(0)+"!", bc_all;
getitem 7539,1; // Change your prize here 7539 Poring Coin
end;
}
Question
Valcars
hi, i have a problem with this script .... me loads without problems, but it does not work, you tell me where I'm wrong?
Link to comment
Share on other sites
11 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.