Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(richness == 1)
- {
- detail = {TEXT("Starter Pack"),5.48f,IAPManager::getInstance()->getBundlePacketId(richness-1)};
- detail.type = 1;
- detail.items.push_back({"head",0,true,90000,250000});
- detail.items.push_back({"diamond",50,false});
- detail.items.push_back({"combined_ticket",1,false});
- detail.items.push_back({"bundlepower",5,false});
- }
- else if(richness == 2)
- {
- detail = {TEXT("Special Offer For You"),5.28f,IAPManager::getInstance()->getBundlePacketId(richness-1)};
- type = (type%6) + 1 ;
- detail.type = type;
- if(type == 1)
- {
- detail.items.push_back({"mask",0,true,300000,1000000});
- detail.items.push_back({"diamond",50,false});
- detail.items.push_back({"gold",100000,false});
- detail.items.push_back({"x2_supporter",1,false});
- }
- if(type == 2)
- {
- detail.discount = 5.32f;
- detail.items.push_back({"head",0,true,300000,1000000});
- detail.items.push_back({"gozluk",0,true,300000,1000000});
- detail.items.push_back({"sapka",0,true,200000,800000});
- detail.items.push_back({"diamond",50,false});
- }
- if(type == 3)
- {
- detail.discount = 6.12f;
- detail.items.push_back({"stadiumNameTag",1,false});
- detail.items.push_back({"mask",0,true,300000,1000000});
- detail.items.push_back({"x2_gold",1,false});
- detail.items.push_back({"gold",100000,false});
- }
- if(type == 4)
- {
- detail.discount = 8.97f;
- detail.items.push_back({"x2_supporter",1,false});
- detail.items.push_back({"stadiumJersey",1,false});
- detail.items.push_back({"stadiumFlag",1,false});
- detail.items.push_back({"stadiumNameTag",1,false});
- }
- if(type == 5)
- {
- detail.discount = 9.59f;
- detail.items.push_back({"combined_ticket",1,false});
- detail.items.push_back({"x2_gold",1,false});
- detail.items.push_back({"diamond",50,false});
- detail.items.push_back({"head",0,true,300000,1000000});
- }
- if(type == 6)
- {
- detail.discount =15.3f;
- detail.items.push_back({"mask",0,true,500000,2000000});
- detail.items.push_back({"krampon",50,false});
- detail.items.push_back({"stadiumBundle",1,false});
- detail.items.push_back({"diamond",50,false});
- }
- }
- else if(richness == 3)
- {
- type = 1 ;
- detail = {TEXT("Special Offer For You"),3.19f,IAPManager::getInstance()->getBundlePacketId(richness-1)};
- detail.type = type;
- if(type == 1)
- {
- detail.items.push_back({"gold",500000,false});
- detail.items.push_back({"diamond",100,false});
- detail.items.push_back({"x2_gold",1,false});
- detail.items.push_back({"mask",0,true,1000000,8000000});
- }
- }
- else if(richness == 4)
- {
- type = 1 ;
- detail = {TEXT("Special Offer For You"),2.01f,IAPManager::getInstance()->getBundlePacketId(richness-1)};
- detail.type = type;
- if(type == 1)
- {
- detail.items.push_back({"mask",0,true,10000000,20000000});
- detail.items.push_back({"x2_gold",1,false});
- detail.items.push_back({"stadiumBundle",1,false});
- detail.items.push_back({"diamond",500,false});
- }
- }
- else if(richness == 5)
- {
- type = 1 ;
- detail = {TEXT("Special Offer For You"),2.0f,IAPManager::getInstance()->getBundlePacketId(richness-1)};
- detail.type = type;
- if(type == 1)
- {
- detail.items.push_back({"kombin",0,true,30000000,1000000000});
- detail.items.push_back({"diamond",2500,false});
- detail.items.push_back({"x2_gold",1,false});
- detail.items.push_back({"stadiumBundle",1,false});
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement