Skip to content

Commit

Permalink
evaluating tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Mar 2, 2024
1 parent e5520b3 commit 9821bb4
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 153 deletions.
1 change: 0 additions & 1 deletion scripts/initdb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,5 @@ create index ix_arena_score on arena (arena_id, score desc, day desc, "rank");
create index ix_arena_user_id on arena using hash (user_id);
create index ix_bazaar_user_id on bazaar using hash (user_id);
create index ix_bazaar_code on bazaar using hash (code);
create index ix_stats_user_id on stats using hash (user_id);
create index ix_stats_when on stats ("when");
create index ix_leaderboard_val on leaderboard (league_id, category, val desc);
2 changes: 1 addition & 1 deletion src/Cards.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
[["Chromatic Butterfly",5009,1,2,"hit=chromastat",1,1,"airborne"],["Chromatic Butterfly",7009,1,2,"hit=chromastat",1,2,"airborne"]],
[["Maxwell's Demon",5101,5,2,"2=paradox",3,2,"airborne"],["Maxwell's Demon",7101,5,2,"2=paradox",3,5,"airborne"],["Abomination",5102,5,1,"prespell=abomination",5,5,""],["Micro Abomination",7102,1,1,"prespell=abomination",2,6,""],["Purple Dragon",5103,10,2,"",10,5,"airborne"],["Amethyst Dragon",7103,11,2,"",12,6,"airborne"],["Lycanthrope",5105,2,1,"2:11=lycanthropy",1,1,""],["Werewolf",7105,2,1,"1:11=lycanthropy",1,1,""],["Fallen Elf",5110,4,1,"1:5=mutation",3,3,"ranged"],["Fallen Druid",7110,5,1,"1:5=improve",3,3,"ranged"],["Schr\u00f6dinger's Cat",5114,1,1,"1=deadalive",1,1,"nocturnal"],["Schr\u00f6dinger's Cat",7114,1,1,"1=deadalive",1,3,"nocturnal"],["Singularity",5115,10,1,"singularity",-1,3,"token"],["Singularity",7115,10,1,"singularity",-7,5,"token"],["Spider Cow",5116,4,1,"ownplay=mutant",3,3,"aquatic"],["Micro Spider Cow",7116,1,1,"ownplay=mutant",1,2,"aquatic"],["Golden Goose",5118,4,2,"1:10=summon 6002",2,6,"airborne"],["Golden Goose",7118,4,2,"1:10=summon 8002",2,6,"airborne"],["Purple Nymph",5120,9,4,"4=antimatter",3,1,""],["Entropy Nymph",7120,9,4,"4=antimatter",3,2,""],["Unstable Shapeshifter",5122,4,2,"play=mimic",0,1,""],["Unstable Shapeshifter",7122,3,2,"play=mimic",0,4,""],["Alchemist",5123,3,3,"2:7=brew",2,3,"aquatic"],["Alchemist",7123,3,3,"2:7=brew",2,3,"aquatic"]],
[["Malignant Cell",5032,0,1,"postauto=mitosis",1,1,"aquatic+nocturnal+token"],["Malignant Cell",7032,0,1,"postauto=mitosis",1,1,"aquatic+nocturnal+token"],["Bone Dragon",5201,10,2,"",10,5,"airborne+nocturnal"],["Ivory Dragon",7201,10,2,"",11,5,"airborne+nocturnal"],["Virus",5202,1,1,"0=virusinfect+owndeath=poisonfoe 1",1,1,"airborne+poisonous+nocturnal+aquatic"],["Retrovirus",7202,2,1,"0=virusplague",1,1,"airborne+poisonous+nocturnal+aquatic"],["Flesh Spider",5203,3,1,"1:9=web",3,3,"nocturnal"],["Flesh Recluse",7203,3,1,"1:9=web",6,3,"nocturnal"],["Vulture",5204,2,1,"death=growth 1 1",1,2,"airborne+nocturnal"],["Condor",7204,2,1,"death=growth 1 1",2,3,"airborne+nocturnal"],["Skeleton",5206,0,1,"prespell=skeleton",1,1,"nocturnal"],["Skeleton",7206,0,1,"prespell=skeleton",2,2,"nocturnal"],["Mummy",5213,4,1,"prespell=mummy",5,3,"nocturnal"],["Mummy",7213,3,1,"prespell=mummy",5,4,"nocturnal"],["Deathstalker",5214,2,1,"hit=poison 2",0,1,"poisonous+nocturnal"],["Deathstalker",7214,2,1,"hit=poison 2",0,3,"poisonous+nocturnal"],["Grey Nymph",5220,9,4,"2=aflatoxin",3,6,"nocturnal"],["Death Nymph",7220,9,4,"2=aflatoxin",4,7,"nocturnal"],["Tomb",5221,2,2,"death=grave",4,3,"burrowed+nocturnal"],["Tomb",7221,1,2,"death=grave",4,3,"burrowed+nocturnal"],["Infected",5223,5,2,"",8,6,"poison=3+poisonous+golem+nocturnal"],["Infected",7223,4,2,"",8,8,"poison=4+poisonous+golem+nocturnal"],["Shtriga",5224,6,2,"2:11=feed+turnstart=shtriga",6,3,"nocturnal+poison=1"],["Shtriga",7224,6,2,"2:11=feed+turnstart=shtriga",8,3,"nocturnal+poison=1"],["Reaper",5226,7,3,"2:8=reap+prespell=evadecrea",7,4,"nocturnal"],["Reaper",7226,7,3,"1:8=reap+prespell=evadecrea",8,4,"nocturnal"]],
[["Sapphire Charger",5301,5,1,"",4,6,"momentum"],["Sapphire Charger",7301,5,1,"",7,5,"momentum"],["Armagio",5302,3,1,"0=gpull",1,25,"ranged"],["Armagio",7302,3,1,"0=gpull",2,30,"ranged"],["Graviton Mercenary",5303,3,1,"",3,5,""],["Graviton Guard",7303,2,1,"",4,7,""],["Colossal Dragon",5304,9,2,"",8,24,"airborne"],["Massive Dragon",7304,9,2,"",8,32,"airborne"],["Otyugh",5307,4,2,"1=devour",0,3,"aquatic"],["Otyugh",7307,5,2,"1=devour",0,5,"aquatic"],["Graviton Fire Eater",5310,1,2,"1:6=growth 2 0",0,5,""],["Graviton Firemaster",7310,1,2,"1:6=growth 2 0",0,7,""],["Graviton Salvager",5315,1,1,"destroy=salvage",1,5,""],["Graviton Salvager",7315,1,1,"destroy=salvage",2,5,""],["Graviton Defender",5317,5,1,"shield=counter+2=gpull",3,10,""],["Graviton Defender",7317,5,1,"shield=counter+2=gpull",4,12,""],["Graviton Deployer",5318,7,2,"2=deployblobs",4,6,""],["Graviton Deployer",7318,7,2,"1=deployblobs",5,6,""],["Blob",5319,2,1,"0=reinforce",1,1,"token"],["Blob",7319,1,1,"0=reinforce",1,1,"token"],["Amber Nymph",5320,10,4,"3=blackhole",1,2,""],["Gravity Nymph",7320,10,4,"3=blackhole",1,4,""],["Lemming",5323,2,2,"prespell=deathwish",1,4,""],["Big Lemming",7323,3,2,"prespell=deathwish",2,8,""],["Boar",5327,3,1,"growth 1 0",2,1,""],["Boar",7327,3,1,"growth 1 1",3,1,""],["Shard of Focus",5330,6,3,"1=accretion",0,1,""],["Shard of Focus",7330,4,3,"1=accretion",0,1,""]],
[["Sapphire Charger",5301,5,1,"",4,7,"momentum"],["Sapphire Charger",7301,5,1,"",7,4,"momentum"],["Armagio",5302,3,1,"0=gpull",1,25,"ranged"],["Armagio",7302,3,1,"0=gpull",2,30,"ranged"],["Graviton Mercenary",5303,3,1,"",3,5,""],["Graviton Guard",7303,2,1,"",4,7,""],["Colossal Dragon",5304,9,2,"",8,24,"airborne"],["Massive Dragon",7304,9,2,"",8,32,"airborne"],["Otyugh",5307,4,2,"1=devour",0,3,"aquatic"],["Otyugh",7307,5,2,"1=devour",0,5,"aquatic"],["Graviton Fire Eater",5310,1,2,"1:6=growth 2 0",0,5,""],["Graviton Firemaster",7310,1,2,"1:6=growth 2 0",0,7,""],["Graviton Salvager",5315,1,1,"destroy=salvage",1,5,""],["Graviton Salvager",7315,1,1,"destroy=salvage",2,5,""],["Graviton Defender",5317,5,1,"shield=counter+2=gpull",3,10,""],["Graviton Defender",7317,5,1,"shield=counter+2=gpull",4,12,""],["Graviton Deployer",5318,7,2,"2=deployblobs",4,6,""],["Graviton Deployer",7318,7,2,"1=deployblobs",5,6,""],["Blob",5319,2,1,"0=reinforce",1,1,"token"],["Blob",7319,1,1,"0=reinforce",1,1,"token"],["Amber Nymph",5320,10,4,"3=blackhole",1,2,""],["Gravity Nymph",7320,10,4,"3=blackhole",1,4,""],["Lemming",5323,2,2,"prespell=deathwish",1,4,""],["Big Lemming",7323,3,2,"prespell=deathwish",2,8,""],["Boar",5327,3,1,"growth 1 0",2,1,""],["Boar",7327,3,1,"growth 1 1",3,1,""],["Shard of Focus",5330,6,3,"1=accretion",0,1,""],["Shard of Focus",7330,4,3,"1=accretion",0,1,""]],
[["Antlion",5401,2,1,"1=burrow",3,2,""],["Antlion",7401,2,1,"1=burrow",4,4,""],["Hematite Golem",5402,4,1,"",4,6,"golem"],["Steel Golem",7402,4,1,"",6,9,"golem"],["Stone Dragon",5403,10,2,"",9,9,"golem+airborne"],["Basalt Dragon",7403,11,2,"",10,12,"golem+airborne"],["Gnome Rider",5406,"1:0",1,"quanta 4",1,3,""],["Gnome Gemfinder",7406,0,1,"quanta 4",1,3,""],["Graboid",5408,3,2,"1:10=evolve",1,1,"burrowed"],["Graboid",7408,3,2,"1:10=evolve",1,1,"burrowed"],["Shrieker",5409,8,1,"1=burrow",8,3,""],["Shrieker",7409,8,1,"1=burrow",10,4,""],["Iridium Warden",5414,1,1,"1=guard",0,3,""],["Vanadium Warden",7414,1,1,"1=guard",0,6,""],["Shard Golem",5415,8,1,"ownplay=shardgolem",0,0,"golem+token"],["Shard Golem",7415,8,1,"ownplay=shardgolem",0,0,"golem+token"],["Orochi",5419,8,3,"0=appease+ownattack=unappease",12,8,"appeased"],["Orochi",7419,7,3,"0=appease+ownattack=unappease",12,8,"appeased"],["Auburn Nymph",5420,8,4,"3=bblood",4,8,""],["Earth Nymph",7420,8,4,"3=bblood",5,9,""],["Minotaur",5426,5,2,"ownattack=predator",4,5,""],["Minotaur",7426,6,2,"ownattack=predator",6,4,""],["Gaian Enchantress",5427,6,2,"2:12=enchant+buff=countimmbur",3,7,""],["Gaian Enchantress",7427,5,2,"2:12=enchant+buff=countimmbur",3,7,""],["Ironclad Blacksmith",5428,4,1,"1:6=tempering 3",3,6,""],["Ironclad Blacksmith",7428,4,1,"2:6=tempering 5",3,7,""]],
[["Emerald Dragon",5501,10,2,"",10,7,"airborne"],["Jade Dragon",7501,11,2,"",12,9,"airborne"],["Horned Frog",5502,2,1,"",3,3,""],["Giant Frog",7502,2,1,"",5,3,""],["Rustler",5503,0,1,"1:8=photosynthesis",1,1,"airborne"],["Rustler",7503,0,1,"1:8=photosynthesis",1,3,"airborne"],["Cockatrice",5504,3,1,"",4,4,"airborne"],["Cockatrice",7504,3,1,"",5,5,"airborne"],["Forest Spirit",5505,2,1,"1:7=growth 2 2",2,2,"airborne"],["Forest Spectre",7505,2,1,"1:7=growth 2 2",3,3,"airborne"],["Scorpion",5512,3,1,"hit=poison 1",1,2,"poisonous"],["Scorpion",7512,3,1,"hit=poison 1",2,2,"poisonous"],["Giant Spider",5514,5,1,"1:9=web",5,6,""],["Giant Recluse",7514,5,1,"1:9=web",7,6,""],["Cell",5515,3,2,"2=mitosis+ownpoison=cell",1,1,""],["Cell",7515,2,2,"2=mitosis+ownpoison=cell",1,1,""],["Elf",5516,5,2,"2:9=snipe+prespell=elf",3,4,"ranged"],["Druid",7516,5,2,"2:12=swave+prespell=elf",3,4,"ranged"],["Fungus",5518,4,3,"owndeath=spores",4,1,"nocturnal"],["Toxic Fungus",7518,3,3,"owndeath=spores,poisonfoe 1",4,1,"nocturnal+poisonous"],["Spore",5519,0,1,"1=fungusrebirth",0,1,"airborne+token"],["Toxic Spore",7519,0,1,"1=fungusrebirth",0,1,"airborne+poisonous+token"],["Green Nymph",5520,7,4,"2=adrenaline",3,6,""],["Life Nymph",7520,7,4,"1=adrenaline",3,8,""],["Alpha Wolf",5531,5,2,"ownplay=alphawolf",2,2,"nocturnal"],["Alpha Wolf",7531,5,2,"ownplay=alphawolf",3,2,"nocturnal"],["Pack Wolf",5532,1,1,"",2,1,"nocturnal+token"],["Pack Wolf",7532,0,1,"",2,1,"nocturnal+token"],["Shaman",5534,4,2,"ownattack=hitownertwice",-4,4,"aquatic"],["Shaman",7534,4,2,"ownattack=hitownertwice",-5,5,"aquatic"]],
[["Ash Eater",5601,1,1,"quanta 6",2,1,""],["Brimstone Eater",7601,1,1,"quanta 6",3,1,""],["Crimson Dragon",5602,10,2,"",12,3,"airborne"],["Ruby Dragon",7602,12,2,"",15,3,"airborne"],["Fire Spirit",5603,1,1,"1=growth 2 0",0,2,"airborne"],["Fire Spectre",7603,2,1,"1=growth 2 0",2,3,"airborne"],["Lava Golem",5610,5,2,"1:4=growth 2 2",5,1,"golem"],["Lava Destroyer",7610,5,2,"1:4=growth 2 2",7,1,"golem"],["Phoenix",5612,7,2,"owndeath=phoenix",7,1,"airborne"],["Minor Phoenix",7612,2,2,"owndeath=phoenix",4,1,"airborne"],["Ash",5613,4,1,"2=rebirth",0,4,"token"],["Minor Ash",7613,0,1,"2=rebirth",0,3,"token"],["Seraph",5614,9,3,"1:8=dshield",10,1,"airborne"],["Seraph",7614,9,3,"1:8=dshield",12,1,"airborne"],["Lifesmith",5617,2,1,"1:5=flyingweapon",2,6,""],["Lifesmith",7617,3,1,"1:5=flyingweapon",4,8,""],["Red Nymph",5620,8,4,"3=rage",1,11,""],["Fire Nymph",7620,8,4,"4=rage",1,13,""],["Salamander",5622,4,1,"",5,2,"aquatic"],["Salamander",7622,4,1,"",7,2,"aquatic"],["Jack O' Lantern",5624,5,2,"1:8=summon 6127",3,7,"nocturnal"],["Jack O' Lantern",7624,5,2,"1:8=summon 8127",3,7,"nocturnal"],["Ferro Golem",5625,6,2,"1:10=drawequip",6,3,"golem"],["Ferro Golem",7625,6,2,"1:10=drawequip",7,4,"golem"]],
Expand Down
Loading

0 comments on commit 9821bb4

Please sign in to comment.