add oreo guarantee
This commit is contained in:
parent
c13772def5
commit
9a8de2404a
3 changed files with 207 additions and 24 deletions
|
|
@ -28,9 +28,17 @@
|
|||
)
|
||||
</FilenameDisable>
|
||||
<EventClick>
|
||||
Random2 0 IndexOfMilk ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfMilk[ResultRandomIndex]
|
||||
DEBUGVAR ListOfMilk[ResultRandomIndex]
|
||||
If OreoGuarantee = 4 Then
|
||||
Random2 0 IndexOfRateupOreoMilk ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfOreoMilk[ResultRandomIndex]
|
||||
DEBUGVAR ListOfOreoMilk[ResultRandomIndex]
|
||||
Var OreoGuarantee = 0
|
||||
Else
|
||||
Random2 0 IndexOfMilk ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfMilk[ResultRandomIndex]
|
||||
DEBUGVAR ListOfMilk[ResultRandomIndex]
|
||||
EndIf
|
||||
|
||||
Topping "Load" ProductCodeRandom
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
||||
|
|
@ -57,9 +65,18 @@
|
|||
)
|
||||
</FilenameDisable>
|
||||
<EventClick>
|
||||
Random2 0 IndexOfTea ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfTea[ResultRandomIndex]
|
||||
DEBUGVAR ListOfTea[ResultRandomIndex]
|
||||
If OreoGuarantee = 4 Then
|
||||
Random2 0 IndexOfRateupOreoTea ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfOreoTea[ResultRandomIndex]
|
||||
DEBUGVAR ListOfOreoTea[ResultRandomIndex]
|
||||
Var OreoGuarantee = 0
|
||||
Else
|
||||
Random2 0 IndexOfTea ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfTea[ResultRandomIndex]
|
||||
DEBUGVAR ListOfTea[ResultRandomIndex]
|
||||
EndIf
|
||||
|
||||
|
||||
Topping "Load" ProductCodeRandom
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
||||
|
|
@ -86,9 +103,21 @@
|
|||
)
|
||||
</FilenameDisable>
|
||||
<EventClick>
|
||||
If OreoGuarantee = 4 Then
|
||||
|
||||
Random2 0 IndexOfRateupOreoCoffee ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfOreoCoffee[ResultRandomIndex]
|
||||
DEBUGVAR ListOfOreoCoffee[ResultRandomIndex]
|
||||
Var OreoGuarantee = 0
|
||||
|
||||
Else
|
||||
|
||||
|
||||
Random2 0 IndexOfCoffee ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfCoffee[ResultRandomIndex]
|
||||
DEBUGVAR ListOfCoffee[ResultRandomIndex]
|
||||
|
||||
EndIf
|
||||
Topping "Load" ProductCodeRandom
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
||||
|
|
@ -115,9 +144,19 @@
|
|||
)
|
||||
</FilenameDisable>
|
||||
<EventClick>
|
||||
|
||||
If OreoGuarantee = 4 Then
|
||||
Random2 0 IndexOfRateupOreoAll ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfOreoAll[ResultRandomIndex]
|
||||
DEBUGVAR ListOfOreoAll[ResultRandomIndex]
|
||||
Var OreoGuarantee = 0
|
||||
Else
|
||||
|
||||
Random2 0 IndexOfAllRandom ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfAllRandom[ResultRandomIndex]
|
||||
DEBUGVAR ListOfAllRandom[ResultRandomIndex]
|
||||
EndIf
|
||||
|
||||
Topping "Load" ProductCodeRandom
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue