Zombidle Wiki
Advertisement

Trying to calculate the next (best) step for collecting and forgeing.

Everytime you open a chest or have an open slot in the forge you have to make a decision which item you choose or forge. I try to calculate that. I don't try to find the world formula, just formulas about improvement, without taken the full picture of Death medals, number of orbs, Carls and so on into account.

One example: If you have 12 Piggy Bank of Doom, and get one more, then that would be an improvement of 8.3% to the starting_skull-metric. (as long as you don't have the Doom Safe and the Sack of Skulls. With them the formula will be more complex. See below.)

The goal is to compare the current metrics to those when one item is added or forged (in that case also taking into account the loss of the source items)

Step 1: mapping Items to an effect:[]

Effect Items
add_ghost_storage Cookie_Jar_Necroware, Sandwich_Sized_Necroware, Sauce_Sized_Necroware
add_percent_crit_hit Magic_Dagger, Power_Necklace
add_percent_to_all_dps_when_bob_sleeps Elixir_Of_Madness, Power_Potion, Ultima_Potion
add_percent_to_base Black_Orb
add_percent_to_blue_specter_dps Specters_Amethyst
add_percent_to_blue_specter_dps_when_spectralrepossession_active Spectre_Axe
add_percent_to_flying_squid_dps Squids_Teddy_Bear
add_percent_to_ghostspawningchances Blue_Spectres_Paranormal_Stick
add_percent_to_giant_zombie_dps Giant_Zombies_Mace
add_percent_to_nontap_dps Fireaxe_Of_Fire, Magic_Axe, Power_Axe
add_percent_to_red_knight_dps Red_Knights_Lipstick
add_percent_to_skull_value A_Haunted_Potato, Bully_Bunnys_Carrot, Death_Chalice, Death_Mason_Jar, Death_Mug
add_percent_to_skull_value_when_bob_sleeps Teeth_Of_Doom
add_percent_to_skull_value_when_pastafury_active Squid_Stone
add_percent_to_skull_value_when_pillageplunder_active Smiley_Baloney
add_percent_to_skull_values_dropped_from_villagers Spectral_Scimitar
add_percent_to_swarm_of_bats_dps Bats_Fancy_Pin
add_percent_to_tap_dps Necro_Sword
add_percent_to_the_big_plague_dps Plague_In_A_Bottle
add_percent_to_the_black_lich_dps Lichs_ABCs
add_percent_to_the_tomb_king_dps Kings_Collar
add_percent_to_total_dps_per_white_orb Mega_Cube, Power_Cube, Power_Cube_Piece, Stone_Tablet
add_percent_to_white_orb_drop An_Evil_Candle, Bully_Bunnys_Foot, Concrete_Clothespin, Easter_Voodoo_Doll, Fused_Alchemical_Lollipop, Fused_Enchanted_Taffy, Magic_Doughnut, Mobile_Badge, Steam_Badge, The_Potato_Man, Star_of_Deathness, Ceremonial_Dagger, Web_Badge, Xmas_Potion
add_percent_to_white_orb_drop_per_black_orb Gummy_Wizards_Ring
add_percent_to_zombie_horde_dps Zombie_Hordes_Eye
add_portal_level Carls_Birthday_Card
add_seconds_to_boss_battle A_Witchs_Shoes, Bully_Bunnys_Head, Magic_Ring, Mega_Ring
add_seconds_to_skill_duration Pearl_Necklace
add_starting_skulls Piggy_Bank_Of_Doom, Sack_Of_Skulls
add_starting_skulls_multiplied_with_bonuses Doom_Safe
add_taps_before_bob_wakes_up A_Bad_Seed
add_to_white_orb_drop Another_Witchs_Shoes, A_Sexy_Potato, Chaos_Crest, Evil_Lipstick, The_Potato_Lady, Xmas_Monster_Head
add_white_orbs_to_all_bosses Chaos_Gem, Golden_Cherry, Magic_Potato_Baby, Red_Knights_Necklace
multiply_dps Mayhem_Shard, War_Shard, War_Splinter, Xmas_Warhammer
multiply_dps_by_black_orb Black_Necklace, Carls_Toenails
multiply_skull_value Fortune_Shard, Greed_Shard, Greed_Splinter
multiply_skull_value_by_black_orb Skull_Necklace
multiply_white_orb_drop Orb_Crystal, Orb_Shard, Orb_Splinter, Angelic_Halo, Ultimate_Badge
reduce_houses_to_destroy Sextant
reduce_percent_monster_cost Big_Plagues_Chier_Pet, Magical_Keg, Steve_The_Xmas_Star
reduce_percent_skill_cooldown Crunchy_Candy_Cookie



Step 2: Accumulate effects to metrics[]

Metric Formula
DPS
( 1000000000000 * add_percent_to_the_tomb_king_dps +
  1000000000 * add_percent_to_flying_squid_dps +
  1000000 * add_percent_to_the_black_lich_dps +
  100000 * add_percent_to_the_big_plague_dps +
   10000 * add_percent_to_swarm_of_bats_dps +
    1000 * add_percent_to_blue_specter_dps'} *
      (1 + add_percent_to_blue_specter_dps_when_spectralrepossession_active / 100) +
     100 * add_percent_to_red_knight_dps +
      10 * add_percent_to_giant_zombie_dps +
       1 * add_percent_to_zombie_horde_dps ) *
   ( add_percent_to_all_dps_when_bob_sleeps +
     add_percent_to_nontap_dps +
     add_percent_to_tap_dps +
     add_percent_to_total_dps_per_white_orb ) *
multiply_dps *
multiply_dps_by_black_orb * add_percent_to_base / 2
Skull Value
( add_percent_to_skull_value +
  add_percent_to_skull_value_when_pastafury_active +
  add_percent_to_skull_value_when_pillageplunder_active +
  add_percent_to_skull_values_dropped_from_villagers +
  add_percent_to_skull_value_when_bob_sleeps ) *
multiply_skull_value *
multiply_skull_value_by_black_orb * add_percent_to_base / 2
White Orb Drop
( add_percent_to_skull_value +
 add_percent_to_skull_value_when_pastafury_active +
 add_percent_to_skull_value_when_pillageplunder_active +
 add_percent_to_skull_values_dropped_from_villagers +
 add_percent_to_skull_value_when_bob_sleeps ) *
multiply_skull_value *
multiply_skull_value_by_black_orb * add_percent_to_base / 2
Starting Skulls
add_starting_skulls +
add_starting_skulls_multiplied_with_bonuses * multiply_skull_value
Ghost Storage
20 + add_ghost_storage
Crit Hit
add_percent_crit_hit
Ghost Spawning
add_percent_to_ghostspawningchances
Portal Level
n + add_portal_level
Skill Duration
5 + add_seconds_to_skill_duration
Houses to Destroy
n – reduce_houses_to_destroy
Monster Cost
? - reduce_percent_monster_cost
Skill Cooldown
600 – reduce_percent_skill_cooldown
Seconds to Boss Battle
5 + add_seconds_to_boss_battle
Taps before Bob wakes up
10 + add_taps_before_bob_wakes_up

Step 3: Weight metrics (May dependend on how one plays)[]

Metric Weight Comment
DPS 1
Skull Value 1
White Orb Drop 1
Starting Skulls 1
Ghost Storage 1
Crit Hit 1
Ghost Spawning 1
Portal Level 1
Skill Duration 1
Houses to Destroy 1
Monster Cost 1
Skill Cooldown 1
Seconds to Boss Battle .01
Taps before Bob wakes up .1


The program[]

https://gist.github.com/anonymous/18e9865e054c318970bc74c17386e078

(Contains two files)

Advertisement