diff --git a/clashroyalebuildabot/actions/zap_action.py b/clashroyalebuildabot/actions/zap_action.py new file mode 100644 index 0000000..b700d92 --- /dev/null +++ b/clashroyalebuildabot/actions/zap_action.py @@ -0,0 +1,8 @@ +from clashroyalebuildabot import Cards +from clashroyalebuildabot.actions.spell_action import SpellAction + + +class ZapAction(SpellAction): + CARD = Cards.ZAP + RADIUS = 2.5 + MIN_TO_HIT = 3 diff --git a/main.py b/main.py index d3c8d4e..c6ed86b 100644 --- a/main.py +++ b/main.py @@ -4,13 +4,13 @@ import time from clashroyalebuildabot.actions.archers_action import ArchersAction -from clashroyalebuildabot.actions.arrows_action import ArrowsAction from clashroyalebuildabot.actions.fireball_action import FireballAction from clashroyalebuildabot.actions.giant_action import GiantAction from clashroyalebuildabot.actions.knight_action import KnightAction from clashroyalebuildabot.actions.minions_action import MinionsAction from clashroyalebuildabot.actions.minipekka_action import MinipekkaAction from clashroyalebuildabot.actions.musketeer_action import MusketeerAction +from clashroyalebuildabot.actions.zap_action import ZapAction from clashroyalebuildabot.bot import Bot start_time = datetime.now() @@ -30,7 +30,7 @@ def update_terminal_title(): def main(): actions = { ArchersAction, - ArrowsAction, + ZapAction, FireballAction, GiantAction, KnightAction,