def __init__(self, name='CPU', hp=1000, level=1, r1_storage_cap=1000, r2_storage_cap=1000, r1_cur_storage=0, r2_cur_storage=0): BaseServerStructure.__init__(self, name, hp, level) self.r1_cur_storage = r1_cur_storage self.r2_cur_storage = r2_cur_storage self.r1_storage_cap = r1_storage_cap self.r2_storage_cap = r2_storage_cap
def __init__(self, name='R2Collector', hp=500, level=1, r2_cur_storage=0, r2_storage_cap=1000, r2_collection_rate=1): BaseServerStructure.__init__(self, name, hp, level) self.r2_cur_storage = r2_cur_storage self.r2_storage_cap = r2_storage_cap self.r2_collection_rate = r2_collection_rate
def __init__(self, name='Wall', hp=2000, level=1): BaseServerStructure.__init__(self, name, hp, level)