Apply suggestions from code review

This commit is contained in:
Atemo 2022-11-28 16:53:49 +01:00
parent a2e5b63ad2
commit a6850f6ea7
2 changed files with 2 additions and 3 deletions

View File

@ -42273,7 +42273,6 @@ Body:
- SubGroup: 0
List:
- Item: Cachua_Coupon
SubGroups:
- SubGroup: 1
List:
- Item: Sillit_Pong_Box

View File

@ -32,7 +32,7 @@ sec_in02,126,178,3 script Kachua's Secret Box#bm 4_TREASURE_BOX,{
close;
}
delitem(.@key$, 1);
getgroupitem(IG_MAIN_LUCKY_BOX);
getgroupitem(IG_MAIN_LUCKY_BOX); // TODO: change to consumeitem "Main_Lucky_Box" when consumeitem is fixed
mes "Kachua's Secret Box was opened!";
mes "Were you lucky?";
specialeffect2 EF_VALLENTINE;
@ -60,7 +60,7 @@ sec_in02,126,178,3 script Kachua's Secret Box#bm 4_TREASURE_BOX,{
close;
}
delitem(.@key$, 1);
getgroupitem(IG_MAIN_LUCKY_BOX);
getgroupitem(IG_MAIN_LUCKY_BOX); // TODO: change to consumeitem "Main_Lucky_Box" when consumeitem is fixed
dispbottom "Kachua's Secret Box was opened " + .@i + " times. Another one is being opened.",0xFFFFFF;
specialeffect2 EF_VALLENTINE;
}