Do not load settings which are not active (module not loaded)
Restart the bot, on heavy DB errors, with an 30 seconds delay (like: all connections terminated by DB, table_definition_cache exhausted) Fix for channel prefixing (org <-> priv)
This commit is contained in:
@@ -390,9 +390,9 @@ class SpecialsController:
|
||||
inits_recharge = ((((init_result - 87.5) * 0.02) + 1 - weapon_attack + 4) * -900) + 1200
|
||||
|
||||
if inits_attack < inits_recharge:
|
||||
return inits_recharge
|
||||
return int(inits_recharge)
|
||||
else:
|
||||
return inits_attack
|
||||
return int(inits_attack)
|
||||
|
||||
def get_aimed_shot_info(self, weapon_attack, weapon_recharge, aimed_shot_skill):
|
||||
result = DictObject()
|
||||
|
||||
Reference in New Issue
Block a user