Apply suggestions from code review
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
parent
c069b2d0f1
commit
e76ef51793
@ -32,7 +32,7 @@ sec_in02,126,178,3 script Kachua's Secret Box#bm 4_TREASURE_BOX,{
|
|||||||
}
|
}
|
||||||
delitem("K_Secret_Key", 1);
|
delitem("K_Secret_Key", 1);
|
||||||
getgroupitem(IG_KACHUA_SECRET_BOX);
|
getgroupitem(IG_KACHUA_SECRET_BOX);
|
||||||
mes "Kachua's Secret Box is opened!";
|
mes "Kachua's Secret Box was opened!";
|
||||||
mes "Were you lucky?";
|
mes "Were you lucky?";
|
||||||
specialeffect2 EF_VALLENTINE;
|
specialeffect2 EF_VALLENTINE;
|
||||||
close;
|
close;
|
||||||
@ -46,7 +46,7 @@ sec_in02,126,178,3 script Kachua's Secret Box#bm 4_TREASURE_BOX,{
|
|||||||
mes "You have decided not to open the Box.";
|
mes "You have decided not to open the Box.";
|
||||||
close;
|
close;
|
||||||
} else if (countitem("K_Secret_Key") < 10) {
|
} else if (countitem("K_Secret_Key") < 10) {
|
||||||
mes "Not enough <ITEM>[Kachua Secret Key]<INFO>23919</INFO></ITEM>.";
|
mes "You do not have enough <ITEM>[Kachua Secret Key]<INFO>23919</INFO></ITEM>.";
|
||||||
close;
|
close;
|
||||||
} else {
|
} else {
|
||||||
for (.@i = 1; .@i <= 10; ++.@i) {
|
for (.@i = 1; .@i <= 10; ++.@i) {
|
||||||
@ -60,10 +60,10 @@ sec_in02,126,178,3 script Kachua's Secret Box#bm 4_TREASURE_BOX,{
|
|||||||
}
|
}
|
||||||
delitem("K_Secret_Key", 1);
|
delitem("K_Secret_Key", 1);
|
||||||
getgroupitem(IG_KACHUA_SECRET_BOX);
|
getgroupitem(IG_KACHUA_SECRET_BOX);
|
||||||
dispbottom "Kachua's Secret Box opened " + .@i + " times. It's kept opening.",0xFFFFFF;
|
dispbottom "Kachua's Secret Box was opened " + .@i + " times. It's kept opening.",0xFFFFFF;
|
||||||
specialeffect2 EF_VALLENTINE;
|
specialeffect2 EF_VALLENTINE;
|
||||||
}
|
}
|
||||||
mes "Kachua's Secret Box is opened 10 times!";
|
mes "Kachua's Secret Box was opened 10 times!";
|
||||||
mes "Were you lucky?";
|
mes "Were you lucky?";
|
||||||
close;
|
close;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user