Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "transaction_pack_gacha_2" : {
- "type" : "composite",
- "rewards" : [
- {
- "type" : "requirement_else",
- "requirement" : {
- "type" : "or",
- "requirements" : [{
- "type" : "resource",
- "resource" : "shop_pack_gacha_2_count",
- "comparison" : {
- "type" : "equal"
- },
- "amount" : 0
- }, {
- "type" : "and",
- "requirements" : [{
- "type" : "resource",
- "resource" : "shop_pack_gacha_2_count",
- "comparison" : {
- "type" : "greater_or_equal"
- },
- "amount" : 5
- }, {
- "type" : "resource",
- "resource" : "shop_pack_gacha_2_count",
- "comparison" : {
- "type" : "lesser"
- },
- "amount" : 7
- }
- ]
- }
- ]
- },
- "reward" : {
- "type" : "weight",
- "random" : "shop_gacha_2",
- "rewards" : [{
- "weight" : 1,
- "item" : {
- "type" : "entity",
- "field" : "character",
- "reward" : {
- "type" : "shop_item",
- "shop_item" : "weapon_rifle_ak47",
- "amount" : 1
- }
- }
- }, {
- "weight" : 1,
- "item" : {
- "type" : "entity",
- "field" : "character",
- "reward" : {
- "type" : "shop_item",
- "shop_item" : "weapon_rifle_m16",
- "amount" : 1
- }
- }
- }
- ]
- },
- "else_reward" : {
- "type" : "weight",
- "random" : "shop_gacha_2",
- "rewards" : [{
- "weight" : 1,
- "item" : {
- "type" : "entity",
- "field" : "character",
- "reward" : {
- "type" : "shop_item",
- "shop_item" : "weapon_vss_vintorez",
- "amount" : 1
- }
- }
- }, {
- "weight" : 1,
- "item" : {
- "type" : "entity",
- "field" : "character",
- "reward" : {
- "type" : "shop_item",
- "shop_item" : "weapon_rifle_m16",
- "amount" : 1
- }
- }
- }
- ]
- }
- },
- {
- "type" : "composite",
- "rewards" : [{
- "type" : "external",
- "id" : "shop_gacha_rare_weapon_others"
- }, {
- "type" : "external",
- "id" : "shop_gacha_rare_weapon_others"
- }, {
- "type" : "resource",
- "resource" : "shop_pack_gacha_2_count",
- "amount" : 1
- }
- ]
- },
- {
- "type" : "external",
- "id" : "use_transaction"
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement