diff --git a/xml/event/pepween/page_pepween_random.xml b/xml/event/pepween/page_pepween_random.xml index 3351b1d0..59657c94 100644 --- a/xml/event/pepween/page_pepween_random.xml +++ b/xml/event/pepween/page_pepween_random.xml @@ -10,9 +10,9 @@ Var isCoffinPress = "Enable" ; list of random items - Var dis30 = "Discount30" - Var dis50 = "Discount50" - Var dis100 = "Free1Drink" + Var dis30 = "dis30" + Var dis50 = "dis50" + Var dis100 = "dis100" ; rate 60% Var couponList[0] = dis30 @@ -163,6 +163,10 @@ DEBUGVAR randResult DEBUGVAR couponList[randResult] + + Var UserCouponReward = couponList[randResult] + + Open "ROOT/taobin_project/xml/event/pepween/page_pepween_result.xml" @@ -178,6 +182,10 @@ DEBUGVAR randResult DEBUGVAR couponList[randResult] + + Var UserCouponReward = couponList[randResult] + + Open "ROOT/taobin_project/xml/event/pepween/page_pepween_result.xml" @@ -193,6 +201,10 @@ DEBUGVAR randResult DEBUGVAR couponList[randResult] + + Var UserCouponReward = couponList[randResult] + + Open "ROOT/taobin_project/xml/event/pepween/page_pepween_result.xml" @@ -208,6 +220,10 @@ DEBUGVAR randResult DEBUGVAR couponList[randResult] + + Var UserCouponReward = couponList[randResult] + + Open "ROOT/taobin_project/xml/event/pepween/page_pepween_result.xml" @@ -223,6 +239,10 @@ DEBUGVAR randResult DEBUGVAR couponList[randResult] + + Var UserCouponReward = couponList[randResult] + + Open "ROOT/taobin_project/xml/event/pepween/page_pepween_result.xml" diff --git a/xml/event/pepween/page_pepween_result.xml b/xml/event/pepween/page_pepween_result.xml new file mode 100644 index 00000000..a0474bdb --- /dev/null +++ b/xml/event/pepween/page_pepween_result.xml @@ -0,0 +1,44 @@ + + "Enable" + 1080 + 1920 + SoundVolume + ; "0xeae6e1" + + + Var RewardDisplayDir = "ROOT/taobin_project/image/event/pepween/" + + If show_eng = "true" Then + Var RewardDisplay = UserCouponReward + "_en.png" + Else + Var RewardDisplay = UserCouponReward + "_th.png" + EndIf + + DEBUGVAR UserCouponReward + DEBUGVAR RewardDisplay + + Var RewardDisplay = RewardDisplayDir + RewardDisplay + DEBUGVAR RewardDisplay + Var isCoffinPress = "Disable" + + + + + ; + + + + \ No newline at end of file