Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sussy-impostor authored May 25, 2024
1 parent 7eb3e95 commit eb86d6e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from os import system as sys

class Disk:
def __init__(self, name, type, number, bst, move, star, energy , capturedBall = None, ability = None, special = None, mega = None, z = None, fuse = None):
def __init__(self, name, type, number, bst, move, star, energy , capturedBall = None, ability = None, special = None, mega = None, z = None, fuse = None, shiny = False, lucky = False):
self.name = name
self.type = ["Normal","Fighting","Flying","Poison","Ground","Rock","Bug","Ghost","Steel","Fire","Water","Grass","Electric","Psychic","Ice","Dragon","Dark","Fairy"].index(type)
self.number = number
Expand All @@ -13,9 +13,11 @@ def __init__(self, name, type, number, bst, move, star, energy , capturedBall =
self.star = star
self.ability = ability
self.energy = energy
self.special = special
self.special = special # ub = Ultra Beast; lg = Legend; my = Mythical ; ss = Super Strong
self.mega = mega
self.level = round(self.energy/30) # hidden
self.shiny = shiny # 1/4000 chance
self.lucky = lucky # 1% chance
self.level = round(self.energy/30) + 30 # hidden
if z != None:
self.z = ["Breakneck Blitz","All-Out Pummeling","Supersonic Skystrike","Acid Downpour","Tectonic Rage","Continental Crush","Savage Spin-Out","Never-Ending Nightmare","Corkscrew Crash","Inferno Overdrive","Hydro Vortex","Bloom Doom","Gigavolt Havoc","Shattered Psyche","Subzero Slammer","Devastating Drake","Black Hole Eclipse","Twinkle Tackle","Catastropika","Sinister Arrow Raid","Malicious Moonsault","Oceanic Operetta","Guardian of Alola","Soul-Stealing 7-Star Strike","Stoked Sparksurfer","Pulverizing Pancake","Extreme Evoboost","Genesis Supernova","10,000,000 Volt Thunderbolt","Light That Burns the Sky","Searing Sunraze Smash","Menacing Moonraze Maelstrom","Let's Snuggle Forever","Splintered Stormshards","Clangorous Soulblaze"].index(z)
else:
Expand Down

0 comments on commit eb86d6e

Please sign in to comment.