I'm working on a DS script, where it works 100%, but I'd like it in the end when the Chests appear, the play can break only once, I do not know the function I'm sure is using, I'd like a little help.
I would like at least to change the form of awards, because Summar only 10 Chests, if you have more than 10 people, the others did not take the prizes, you could change the code and leave it to the number of people N so that everyone can get the prize ?
Question
Revoltz
Hello, community!
I'm working on a DS script, where it works 100%, but I'd like it in the end when the Chests appear, the play can break only once, I do not know the function I'm sure is using, I'd like a little help.
I would like at least to change the form of awards, because Summar only 10 Chests, if you have more than 10 people, the others did not take the prizes, you could change the code and leave it to the number of people N so that everyone can get the prize ?
This part is treasure
OnDevil5:
.round = 5;
.mob = 10;
monster "ordeal_1-1",231,250,"Treasure Chest",1324,1,strnpcinfo(0)+"::OnTreasureDead";
monster "ordeal_1-1",234,247,"Treasure Chest",1328,1,strnpcinfo(0)+"::OnTreasureDead";
monster "ordeal_1-1",237,244,"Treasure Chest",1332,1,strnpcinfo(0)+"::OnTreasureDead";
monster "ordeal_1-1",240,241,"Treasure Chest",1336,1,strnpcinfo(0)+"::OnTreasureDead";
monster "ordeal_1-1",243,238,"Treasure Chest",1340,1,strnpcinfo(0)+"::OnTreasureDead";
monster "ordeal_1-1",246,235,"Treasure Chest",1344,1,strnpcinfo(0)+"::OnTreasureDead";
monster "ordeal_1-1",249,232,"Treasure Chest",1348,1,strnpcinfo(0)+"::OnTreasureDead";
monster "ordeal_1-1",252,229,"Treasure Chest",1352,1,strnpcinfo(0)+"::OnTreasureDead";
monster "ordeal_1-1",249,241,"Treasure Chest",1356,1,strnpcinfo(0)+"::OnTreasureDead";
monster "ordeal_1-1",240,249,"Treasure Chest",1360,1,strnpcinfo(0)+"::OnTreasureDead";
end;
OnTreasureDead:
.mob--;
announce "Devil Square : "+ strcharinfo(0) +" abriu o Tresouro Premiado em Devil Square.", bc_all;
if ( .mob <= 0 )
goto OnStopEvent;
end;
Link to comment
Share on other sites
4 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.