From 650ee86aac37611876257a834e1c0b296bfe9d1a Mon Sep 17 00:00:00 2001 From: Phu Date: Tue, 27 Jun 2023 15:17:00 +0700 Subject: [PATCH] move counter add to sub button --- xml/event/promotion_mystery_cup_35.xml | 5 ++++- xml/event/promotion_onclick3.inc | 2 +- xml/event/promotion_template3.inc | 5 ++++- xml_main/startup.xml | 3 +-- xml_main/startup_ignore_netcore.xml | 3 +-- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/xml/event/promotion_mystery_cup_35.xml b/xml/event/promotion_mystery_cup_35.xml index e5d5d09a..e8408804 100644 --- a/xml/event/promotion_mystery_cup_35.xml +++ b/xml/event/promotion_mystery_cup_35.xml @@ -8961,6 +8961,7 @@ LIMENADE SODA" ) + Var OreoGuarantee = OreoGuarantee + 1 If OreoGuarantee = 4 Then Random2 0 IndexOfRateupOreoMilk ResultRandomIndex Var ProductCodeRandom = ListOfOreoMilk[ResultRandomIndex] @@ -8998,6 +8999,7 @@ LIMENADE SODA" ) +Var OreoGuarantee = OreoGuarantee + 1 If OreoGuarantee = 4 Then Random2 0 IndexOfRateupOreoTea ResultRandomIndex Var ProductCodeRandom = ListOfOreoTea[ResultRandomIndex] @@ -9036,6 +9038,7 @@ LIMENADE SODA" ) +Var OreoGuarantee = OreoGuarantee + 1 If OreoGuarantee = 4 Then Random2 0 IndexOfRateupOreoCoffee ResultRandomIndex @@ -9077,7 +9080,7 @@ EndIf ) - +Var OreoGuarantee = OreoGuarantee + 1 If OreoGuarantee = 4 Then Random2 0 IndexOfRateupOreoAll ResultRandomIndex Var ProductCodeRandom = ListOfOreoAll[ResultRandomIndex] diff --git a/xml/event/promotion_onclick3.inc b/xml/event/promotion_onclick3.inc index 992ea4bf..a9fdcb7e 100644 --- a/xml/event/promotion_onclick3.inc +++ b/xml/event/promotion_onclick3.inc @@ -1,5 +1,5 @@ Var BigButtonEnable = "Invisible" - Var OreoGuarantee = OreoGuarantee + 1 + DEBUGVAR BigButtonEnable DEBUGVAR OreoGuarantee diff --git a/xml/event/promotion_template3.inc b/xml/event/promotion_template3.inc index e600330c..466f31a6 100644 --- a/xml/event/promotion_template3.inc +++ b/xml/event/promotion_template3.inc @@ -28,6 +28,7 @@ ) + Var OreoGuarantee = OreoGuarantee + 1 If OreoGuarantee = 4 Then Random2 0 IndexOfRateupOreoMilk ResultRandomIndex Var ProductCodeRandom = ListOfOreoMilk[ResultRandomIndex] @@ -65,6 +66,7 @@ ) +Var OreoGuarantee = OreoGuarantee + 1 If OreoGuarantee = 4 Then Random2 0 IndexOfRateupOreoTea ResultRandomIndex Var ProductCodeRandom = ListOfOreoTea[ResultRandomIndex] @@ -103,6 +105,7 @@ ) +Var OreoGuarantee = OreoGuarantee + 1 If OreoGuarantee = 4 Then Random2 0 IndexOfRateupOreoCoffee ResultRandomIndex @@ -144,7 +147,7 @@ EndIf ) - +Var OreoGuarantee = OreoGuarantee + 1 If OreoGuarantee = 4 Then Random2 0 IndexOfRateupOreoAll ResultRandomIndex Var ProductCodeRandom = ListOfOreoAll[ResultRandomIndex] diff --git a/xml_main/startup.xml b/xml_main/startup.xml index 2f214772..877206e2 100644 --- a/xml_main/startup.xml +++ b/xml_main/startup.xml @@ -110,8 +110,7 @@ Var XMLPageVersion = "7.35" Var XMLPageVersionInt = 735 -;Oreo -Var OreoGuarantee = 0 + diff --git a/xml_main/startup_ignore_netcore.xml b/xml_main/startup_ignore_netcore.xml index 9ed458ee..ae048251 100644 --- a/xml_main/startup_ignore_netcore.xml +++ b/xml_main/startup_ignore_netcore.xml @@ -99,8 +99,7 @@ Var XMLPageVersionInt = 999 Var IgnoreNetCore = "true" -;Oreo -Var OreoGuarantee = 0 +