From 7ec101b7e2b367247487b8d46d12528d7550824f Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 8 Sep 2024 15:13:06 +0100 Subject: [PATCH] Rename hungry dragon to baby dragon --- clashroyalebuildabot/actions/__init__.py | 4 ++-- ...ry_dragon_action.py => baby_dragon_action.py} | 4 ++-- clashroyalebuildabot/constants.py | 2 +- .../cards/{hungry_dragon.jpg => baby_dragon.jpg} | Bin clashroyalebuildabot/images/digits/0.jpg | Bin 1370 -> 0 bytes clashroyalebuildabot/images/digits/1.jpg | Bin 935 -> 0 bytes clashroyalebuildabot/images/digits/2.jpg | Bin 1389 -> 0 bytes clashroyalebuildabot/images/digits/3.jpg | Bin 1392 -> 0 bytes clashroyalebuildabot/images/digits/4.jpg | Bin 1302 -> 0 bytes clashroyalebuildabot/images/digits/5.jpg | Bin 1332 -> 0 bytes clashroyalebuildabot/images/digits/6.jpg | Bin 1378 -> 0 bytes clashroyalebuildabot/images/digits/7.jpg | Bin 1182 -> 0 bytes clashroyalebuildabot/images/digits/8.jpg | Bin 1499 -> 0 bytes clashroyalebuildabot/images/digits/9.jpg | Bin 1374 -> 0 bytes clashroyalebuildabot/namespaces/cards.py | 4 +--- clashroyalebuildabot/namespaces/units.py | 6 +++--- main.py | 4 ++-- 17 files changed, 11 insertions(+), 13 deletions(-) rename clashroyalebuildabot/actions/{hungry_dragon_action.py => baby_dragon_action.py} (87%) rename clashroyalebuildabot/images/cards/{hungry_dragon.jpg => baby_dragon.jpg} (100%) delete mode 100644 clashroyalebuildabot/images/digits/0.jpg delete mode 100644 clashroyalebuildabot/images/digits/1.jpg delete mode 100644 clashroyalebuildabot/images/digits/2.jpg delete mode 100644 clashroyalebuildabot/images/digits/3.jpg delete mode 100644 clashroyalebuildabot/images/digits/4.jpg delete mode 100644 clashroyalebuildabot/images/digits/5.jpg delete mode 100644 clashroyalebuildabot/images/digits/6.jpg delete mode 100644 clashroyalebuildabot/images/digits/7.jpg delete mode 100644 clashroyalebuildabot/images/digits/8.jpg delete mode 100644 clashroyalebuildabot/images/digits/9.jpg diff --git a/clashroyalebuildabot/actions/__init__.py b/clashroyalebuildabot/actions/__init__.py index 2a828c2..5203dce 100644 --- a/clashroyalebuildabot/actions/__init__.py +++ b/clashroyalebuildabot/actions/__init__.py @@ -1,11 +1,11 @@ from .archers_action import ArchersAction from .arrows_action import ArrowsAction +from .baby_dragon_action import BabyDragonAction from .bats_action import BatsAction from .cannon_action import CannonAction from .fireball_action import FireballAction from .giant_action import GiantAction from .goblin_barrel_action import GoblinBarrelAction -from .hungry_dragon_action import HungryDragonAction from .knight_action import KnightAction from .minions_action import MinionsAction from .minipekka_action import MinipekkaAction @@ -21,7 +21,7 @@ "FireballAction", "GiantAction", "GoblinBarrelAction", - "HungryDragonAction", + "BabyDragonAction", "KnightAction", "MinionsAction", "MinipekkaAction", diff --git a/clashroyalebuildabot/actions/hungry_dragon_action.py b/clashroyalebuildabot/actions/baby_dragon_action.py similarity index 87% rename from clashroyalebuildabot/actions/hungry_dragon_action.py rename to clashroyalebuildabot/actions/baby_dragon_action.py index 2043541..8f69778 100644 --- a/clashroyalebuildabot/actions/hungry_dragon_action.py +++ b/clashroyalebuildabot/actions/baby_dragon_action.py @@ -4,8 +4,8 @@ from clashroyalebuildabot.actions.generic.action import Action -class HungryDragonAction(Action): - CARD = Cards.HUNGRY_DRAGON +class BabyDragonAction(Action): + CARD = Cards.BABY_DRAGON def calculate_score(self, state): for det in state.enemies: diff --git a/clashroyalebuildabot/constants.py b/clashroyalebuildabot/constants.py index de4b544..c0f4f12 100644 --- a/clashroyalebuildabot/constants.py +++ b/clashroyalebuildabot/constants.py @@ -168,7 +168,7 @@ Units.HEAL_SPIRIT, Units.HOG, Units.HOG_RIDER, - Units.HUNGRY_DRAGON, + Units.BABY_DRAGON, Units.HUNTER, Units.ICE_GOLEM, Units.ICE_SPIRIT, diff --git a/clashroyalebuildabot/images/cards/hungry_dragon.jpg b/clashroyalebuildabot/images/cards/baby_dragon.jpg similarity index 100% rename from clashroyalebuildabot/images/cards/hungry_dragon.jpg rename to clashroyalebuildabot/images/cards/baby_dragon.jpg diff --git a/clashroyalebuildabot/images/digits/0.jpg b/clashroyalebuildabot/images/digits/0.jpg deleted file mode 100644 index 8e6e78bb61ad0336258cff37cbfb2a570ba3f3dc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1370 zcmex=^(PF6}rMnOeST|r4lSw=>~TvNxu(8R<c1}I=;VrF4wW9Q)H;sz?% zD!{d!pzFb!U9xX3zTPI5o8roG<0MW4oqZMDikqloVbuf*=gfJ(V&YTRE(2~ znmD<{#3dx9RMpfqG__1j&CD$#!&mtZc>$C2j2ZVccPeGSY!utpbt6;y$}f#~ z^=oT(uCDR_xNLp3>6v+o`?m|3)y($1C2^sOVM*byUsvn}ORe_?Ka$(4`}FXcq+iRTB`-eTJe5?|ZynM1*yhpZ70mD6az}6YDA%36I&(8;ZeDPa+~cbrZyZl3UkQx2 zt~-BEZSRI_Uu9*N-d%n&C(p(Ak5QZJi7zLT=g07SX)vGJ6LtGf`nv7kw{kcCXP79p z@pb&sWI2Ot$N$=&|Ie^kYLf=@9s9H$2S4)d)U%9siTNAtQV8XHpG{ycX6o87+d@ni1yKQ^wP|0`SK&mzYdTZXdv zJo$BpA9;5c_uSm{pW*S#e%V*$6lz?a!;#UHV4&n}xCyY9(M z{xtWbQ|=GkU&oxSP5jvZaCgOdH(z((9@(s;{?qo_{P;EF-`?Z<-0SSJXCIuWx$Qqg z{KLIT_T?KV)W6xnc)3RHM|1K6-nd_n1Genk(e_TX|F3-BQ-$XiD$GBxuZ*v|6vb08 zdHIW~DWASYxAm$1Ihg-6-qx&j_40d{*0*1~`=8;^ER$NFIlNYH=KCw|Kh&U8F+Fbn zk$)=tuB}t*)69EvFS*}3yn*5Q4X#sbE&iCVJLS;tdL?FFV=geAc-_CSPwdCx=qqp6 z^0n8eimYS4bNBY1OsVh5J9s|c-pdg8Blw}L^O0XiUq?s3+un4aUt2~a>2&M)l??L_ pb^V%tXrK7yJ&F&1*DCw=3%VG6lHaR6Z{5A;Umlc*1hD_V2>>(xT;Biy diff --git a/clashroyalebuildabot/images/digits/1.jpg b/clashroyalebuildabot/images/digits/1.jpg deleted file mode 100644 index 1229136d7284f47913d8d4dd006dfee3ab705fb8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 935 zcmex=^(PF6}rMnOeST|r4lSw=>~TvNxu(8R<c1}I=;VrF4wW9Q)H;sz?% zD!{d!pzFb!U9xX3zTPI5o8roG<0MW4oqZMDikqloVbuf*=gfJ(V&YTRE(2~ znmD<{#3dx9RMpfqG__1j&CD$#!?T*mkB5)GeI)C3-{VU1mJNLmA2+A&$vMg_ zz^TKp!t>AccNM{yElW=? z<}pa}=i;kaFR_5{{y{s1>-vAv6GhK$UU6pqvlP#gH~jBzd^ZWrZxj5vU(jU9*U$UE z1YdNJ`~2JaKf_70?tg~_>tE={>x5sG-(qn7aKzuO9Q(hBub=vYdB+cX`Pm=+-F(vR z>i>02>e~ImNZIEpFz>$-K zPTBsSf!oyLq3^(PF6}rMnOeST|r4lSw=>~TvNxu(8R<c1}I=;VrF4wW9Q)H;sz?% zD!{d!pzFb!U9xX3zTPI5o8roG<0MW4oqZMDikqloVbuf*=gfJ(V&YTRE(2~ znmD<{#3dx9RMpfqG__1j&CD$#!<`>HKjw#i2-}^z_{E0EJ^eXqv!YwlwWlcn zeLhF8@_b;Nd-=!p$G_*)KdOAP@}ETRq5yl@oqw}0*D3vx{;1w-Q(CVD>gNRNq2 zoHAAJF)d(MP?WE>ea$C-b9HFq@Ba(}Hx>UgB(dc`b7iR9^PfSeCcEHfy+~HWe}>D} zZT^4RMML+LK6-AMFY-G5-y@;_3?D;ZH-Af;E%RfYLG2p;{|qwgMXs03ERn4bxRhQx zDcZWdac-5_B{%o$YZ=PoxPGjCWGj4B%=p!;dkbrq&18x>T3T?ax4r3bp-tc7m+^5- zlFphef)m`Uez5IZ_2KxDj>Hf1dPUy!YDFAacYI|+v-;-+{Gn_7g(`MCeV97^*4DLd z+NsJ+~vn^-R9F$T^$kk6d8i_~Y=m)+_J-oQ~(d^`9aAK*jHn2R3JHr%#Q) z@>lzqUS9g1UDIAYOP}>9-N;j=cUqac%H%tf1H+3S{AXzSr}43~ue#cQ zDF2;!bw6W&p@WQ-vd62Ar8E1O8YlTLtvcF%_&4*1m3Env_etWBf<=!2EQ|;gAyZrUvTfT+y!}DI5laKcc?6lNfd1wBguB+{_ z`bV^jvp-57DHQDgG2`5WYU6403)f{e*eXBt+x@_o?b)NpN2l@IJ}5QYY+{#FxX$ut zZE;^g?Z&vb;>Yf{ud{z*yZPpt=kmW*YnojdYCG(VYwT=oT;(60JcgG7|zZxg`qg-X4$i;h^EJa&;R4=w`mGLw?$bMV-a4&Z- zzuv+{FRvFRTffr{a{f6X`&_<_=EI{qCg?RTW#D&Am;Vvy%3yT<&_3DhrMwGXrc_B= z0Ik`*o1e8JF!$>5Hj{vRiw^1hXLw-}=pc0=qsn)k-T9?AUHj(6?$ZAxTGyq){Qo8Z Dvb0Hb diff --git a/clashroyalebuildabot/images/digits/3.jpg b/clashroyalebuildabot/images/digits/3.jpg deleted file mode 100644 index 8e0fa2dcbdc6c681b6615e9665db8793e6331dc2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1392 zcmex=^(PF6}rMnOeST|r4lSw=>~TvNxu(8R<c1}I=;VrF4wW9Q)H;sz?% zD!{d!pzFb!U9xX3zTPI5o8roG<0MW4oqZMDikqloVbuf*=gfJ(V&YTRE(2~ znmD<{#3dx9RMpfqG__1j&CD$#!@(aHKXOOa%f@6{`K_)@OcwXkJWPQ3m$Bw`E7Opu~|9Xo{{fk`;Kac4Pye_c&v9;I9O#aApJ^s&Y z*V;cS@BMO|H~&$t>&9D;;%(}JQo`Lox<6F^qabFsYwEH^-=_tiePS@pV7+v%jwL&b zz}g$ha$lc`Fn*bSNWVv_zsvOag&LO&re`)z-!jjHbMN$NPVAD$l_g%(uD+f9a6YH! z3fITHa=vKBoTbUiz|ZI%mcqW1Dlw zb+?E~NWAcrtq$K2-tl_=<`dVx{&f$n7ct4LE>=C*|HgV-e$tKeGmLv4HQ4kYn=ex1 z`gpg;ny=28qDz80r%7jY^*#{bRGECSzwYZXw}nq#GQ~`j7|YIy-+3V1zhHgB$Mgf* z_j!NR{f^jvec_(IbIRJsz8zE3vU<#O=X&1-_AB$*_V7NeRXYDW?ReOhYg@x&*B5gB z%su!|H2AZo-5N&a4U+4l*EfHu%?|qTZ@JjwrE%WbrGlqUO8(_|;lA+ zpMn48omW=A{~2ye8X9ivF-dJyn0h)L7&LivF0dz-f0RF1rgPf9bIaLN1un&%9QGe% zu8F=sF3)gt<;~TeC5L|~Y@IOwY=ivTnvIWi?R>S5>{>S8K*>9MXOiXnHf7V94sy>Q z@9&?s>s@30q8GD#Udldk6W_V3fFt;DqPVSF<=r3QZGln0%3E!mS5K8HYhQ7v?Zw4t z%lPvWB8(H`lWMF! zVdTpX78BP-IehZ%bDFS|(Z6QSt2`F^yTX4CMfR-SoNPlG3>>n1}=?7 J4fg+U0s!{KP%i)g diff --git a/clashroyalebuildabot/images/digits/4.jpg b/clashroyalebuildabot/images/digits/4.jpg deleted file mode 100644 index 7f3ed046e676d33dd97bb8a014a7a0157345f070..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1302 zcmex=^(PF6}rMnOeST|r4lSw=>~TvNxu(8R<c1}I=;VrF4wW9Q)H;sz?% zD!{d!pzFb!U9xX3zTPI5o8roG<0MW4oqZMDikqloVbuf*=gfJ(V&YTRE(2~ znmD<{#3dx9RMpfqG__1j&CD$#!}nh&Kk9d^vC&=-n=LhEcJABj*6#PpY(;BN zKH9qa$@`xB0{z{8TuN?p7B7DJF3f0o=aLtfs{0P#R^Q7|Y^VIA`H{Wg>+-0cU32g5 zI&;&zLQgiivs#1Uo9yqeYi|4reWX!;HT%}0`rVZZ|F%w!HSeaI>NSaFA0ErdSUjG^pzx#fv2{&loyOI3_WR4;|7Tbz9C!GG_HjAokNTaZ(z5BH zvpz|@`E%o%!+ve{z&VZc+V)kfPy9PaqQ66`>6=wd`+o+dqYm=^fvzHqPwQoBN@@%r zHZF-cy*>D<=;We#N$rcxH`&; zUz1~c8LH9`>a*#0)nsg+Uikjo-6CyH-+(R`1*h6;y(rI?|&nz{;#)dPt&gT3>EhtAF%qfYwgxK;rY6oqh~xR zTEKMb=869dp6Z@_-2UA~2Z4&;56U}A?@MJ>?dvz2 zqpPnXw5I6PsfS&?H>Ev(-?Xj1uKS;X=kMeCcQ5b%5dP0_ZT)JE1^iRl-~4`DeA`z( zdh&mUBiD5w`?v49-|+A7-wnC`w`D$`9^?;&FD@(=M&md$_e??W_lT7EEwRjVZkUTz+bb>w>J} zZ8zR-m;d!*@vrM!{;+&#+r7AA)929r8$abNxqMG_`Z>4LGnEw*3~fcey>$>&e{;Ql WL;gqBb?<&O?myP`ORbCH|4jhROg!5F diff --git a/clashroyalebuildabot/images/digits/5.jpg b/clashroyalebuildabot/images/digits/5.jpg deleted file mode 100644 index bdcb9e60f5fb3945be011f73b8f8971779e5c117..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1332 zcmex=^(PF6}rMnOeST|r4lSw=>~TvNxu(8R<c1}I=;VrF4wW9Q)H;sz?% zD!{d!pzFb!U9xX3zTPI5o8roG<0MW4oqZMDikqloVbuf*=gfJ(V&YTRE(2~ znmD<{#3dx9RMpfqG__1j&CD$#!`UB)KN=somEX61i?4k6v~#DfDhF*?)utC< zXuWawkB!&2R{EarwsEgIx^C;=propw(NDr*6x20ebbbmF+;pq=+enV&NAEE2`v9g&+|9g z^Rxds!14RL zxw6dWyQhx7in&%>8@%oh!-sk6%XRN=`TnbB)5fxhC44h&CbzMC{l3oY`?ri4DK{!+ zN?%OhqW!DQ{#1j_{=@M?HQ^7n4O5q7)rBrd`saM8Z>Mclllz10otO7#ycasyy8qIb z+goM5*gN|lPqOzq^3nYuzsQed&z)CQrX6~B?xy*v3trAz-z^gCowCnnFu#VYd;q<<&hxqV_Xx zaiIc@ncKbWm#=COs*XZA}R>oIDW-gI$IP{<4@fF6$ zTfeS9yuSUL*nR#jsaM{1?y0bOX?#%n#txRMh68mX_j&&CerRiWX?sN|>$>;3--mb- ze!E%xXV|wnZl;5r>Br;$oaIFSGgLkP&yab&@^(PF6}rMnOeST|r4lSw=>~TvNxu(8R<c1}I=;VrF4wW9Q)H;sz?% zD!{d!pzFb!U9xX3zTPI5o8roG<0MW4oqZMDikqloVbuf*=gfJ(V&YTRE(2~ znmD<{#3dx9RMpfqG__1j&CD$#!x#O|`$CI;R4%`{DRS-Gua7tMiA_!j4LmK! zU&Ll{&fg}ylet{oc^yW&g1@>Yv&vH zNoUvDWiPudcS}Oot21q9S?I}g3i1R_+>ea-&k*(N`h#^_)wX^(?q_USx#s3u+0JuL^QZr3kk!&QJN&KggX;qM z3}2@&-#@=A>;F@rTYgXe!?lSIV@+QE(w(totC1v6;>}M-82ln8U*KZ+$^0nw;+`Kf zA8C4?yZut>Kf^x0^M9x9^t$!2`R6>d>vR4yh%GLt|D+tI%TTtD`^Uod6+*|VZMC!| z73am99zEl8yo}+MMB&l0Yx}p%+cV>LT>G-qub-Ms{Lf%?_4zIR!};Pr+P%AjE^Ud- z%XxZtQ=m?kG|S3Y2fnfdm&Ui-8C=v=*>%OnzFKsT!_+C!LEs(K#yzJNb@!{4PP z&ktOwu`K0ZxqU}uy&LzR*PAZdnN}!APgRtfeB<16ZrL|(cJ=opXVOFtXsI`Rg}-Zu*J*oMxMN!dqh|AufqcVf*+0_lMm06 z`H=Nu*55nRCfz=-*m{ItX_MjIKMHf+>E6Dy)lT_O#)o4IAMEw^x{$BBd(YnP6TIKb zT|$!EPbS#6EB8nJ+}FjRz5GY%(rp_*iaTryoRBZ%F8^lXz59!19o%?%{Z`8(Vq)du z!EzH13R~AXgkP{{sgrp1i*KWON9k|lOof)?nLI7xr)!@p$WL$Vk*iB~kb50DPvJkq y1l8lew*)%Kt5m%H=QKIYy{-Q7FZ=IDMFQBb@8kH-FtJMi^Q~Q88VmUU-vj{UA64K0 diff --git a/clashroyalebuildabot/images/digits/7.jpg b/clashroyalebuildabot/images/digits/7.jpg deleted file mode 100644 index 0af1ea26e860150d0b929d89ed3852f26e9cd7f0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1182 zcmex=^(PF6}rMnOeST|r4lSw=>~TvNxu(8R<c1}I=;VrF4wW9Q)H;sz?% zD!{d!pzFb!U9xX3zTPI5o8roG<0MW4oqZMDikqloVbuf*=gfJ(V&YTRE(2~ znmD<{#3dx9RMpfqG__1j&CD$#!{@uvkJ)?QedS)(ened0_LenC9*|i zb(37|zj-lyi2vbVli*kXQ0v-%h7We}|Fq`q7ub`s*Cu#Po%tsD*Wv%veiR@6C;ZX# zVu|+b+mrJpeuqpqQciL{clFld1;?sB72eu$is6eqPfg^-zQu{doL1|A%KyRLN@3 z^2}X<8Eu!3OsNVcr+UXXWL^_wV^vmTG$!+VrYyG7n2C^8DlL>{@=G(}t@i z`_U6|!^uk{9%XN;vbWc%|Da^AkimT8A4`SsZ}!8_kCkWhZ&6 z%$Xc__TzE?k99jAvrTzn)to7o`7~-zprk^(PF6}rMnOeST|r4lSw=>~TvNxu(8R<c1}I=;VrF4wW9Q)H;sz?% zD!{d!pzFb!U9xX3zTPI5o8roG<0MW4oqZMDikqloVbuf*=gfJ(V&YTRE(2~ znmD<{#3dx9RMpfqG__1j&CD$#!>c;8KaP7ov`tK3{^Glw+sdk=e=aZ@y6pAi zt5j#GW?Mf$Z=Z6-rO$TxonHg^17%OU*?+vGo&MNw-L3scWdrimv~8zN?D@iFm;a|? zYvo^t%#)9N%ksa@y0+*)!~0mve_PqV?OVFL{9Et6+L~wo8Kl1LZ&VOpbkB<***$-FM&0O_jn`X*ozYD%HE^qUv7bplf_Q=iK z!uX`%$Mm>u2^X@frubNi?4IcVBKwvdZ%x#dysb0#m_D*TzB_tyxA)H3dYejboT>X@ z+xgr=_QwaS+aKy?)~~5J?78VOXY}@+Zk`P1r*CA} z>(l3>ax(67&YU%UI^pSexyZ*~&j;L9DkvN z{V%~k?9TD_XHB*XpR~DTGU>$8yLX;!7M|q!uGm4gyy>4>Me~6PG0`vWQzzYfc%)zS zjBDGQWMvk)8SigRKDJ+I>wgA0*Id4}-$L4Mb}uQrI90min4hQme}?s;CI0REbUw;9 z#lN)D`EIt(Bhp!GwLn2ZMBi7nwI6ODvl8vuzN@dfn0JeF$)u)rD{TEP6=*Qe=rT4r zDUllVMnpVemGLWohU)8A|1)sZ$!6{ozQndlUw5ml-$#S%Vdvyj{B|qb9&=aUXS@2z zt@|Ig_k6w29^buI?&l-v%_=(M&BbhY~HhFQfkGzJTWuHCFv}A%F4XAFKw$+{qgwlgg@5T9&Nu?@_Tjn?6hrN z5_&=IX@%P@g8UgK{|G;EC4kY@P9t^41b3c%mG(u8Ciy?mzHBG+N8#EY_qDh0WLuRU z?duihRLyQN+;X7AHTb;UUc-6CT@2sioA!ytsz2O1XZi$Y+dsV(q1UH|G3Y;Awfy6v zy_$l_t}X$q7Be~=V7}DF5Vdk;{RzAHr6K|B?G@Aimh2CXc{=^qi+@`J9ps)r=>PFK S|GR7Hlt2eokw6Fe|2F~Yw}yED diff --git a/clashroyalebuildabot/images/digits/9.jpg b/clashroyalebuildabot/images/digits/9.jpg deleted file mode 100644 index a8210b6b5524b8534f700c12dc45a0ecba87c1ee..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1374 zcmex=^(PF6}rMnOeST|r4lSw=>~TvNxu(8R<c1}I=;VrF4wW9Q)H;sz?% zD!{d!pzFb!U9xX3zTPI5o8roG<0MW4oqZMDikqloVbuf*=gfJ(V&YTRE(2~ znmD<{#3dx9RMpfqG__1j&CD$#!|Qz}H7%&c=B%gts#`=6nI z`g*$syqPtDk2wD`T+iM$Xa4)UC+cS|vKRT$rvJ6-+lu+`?s?d+Ew|^d4*x6Z6(dXk%tc3N1x^3OW=qxECh=SO^VQ_~BVIj8BS8a=c0&QnQV zC=-@)pLwHMnx z*#8CJdpBO@0{i7#>)(n#%ytO(+jvF)PKj!mihZZbe}>0fAJ+@ksmK3uo^&yN zL({2i7k0bKtyf?4Z*KeK7HRr7 zPa=4anMQ2?AKnJ$Po{7F34I7_e=wU<*CaZv$H&=Mr!V%Ya)aj|e`e-c47Ya!)1T#k ohS#&}wSKODSpVz9zb%0d@?N*=k8g>8*EOw6gJDsZ2J`=$0B=r7Q~&?~ diff --git a/clashroyalebuildabot/namespaces/cards.py b/clashroyalebuildabot/namespaces/cards.py index d665beb..0f3d2f8 100644 --- a/clashroyalebuildabot/namespaces/cards.py +++ b/clashroyalebuildabot/namespaces/cards.py @@ -22,6 +22,7 @@ class _CardsNamespace: ARCHER_QUEEN: Card = Card("archer_queen", False, 5, [Units.ARCHER_QUEEN]) ARCHERS: Card = Card("archers", False, 3, [Units.ARCHER]) ARROWS: Card = Card("arrows", True, 3) + BABY_DRAGON: Card = Card("baby_dragon", False, 4, [Units.BABY_DRAGON]) BALLOON: Card = Card("balloon", False, 5, [Units.BALLOON]) BANDIT: Card = Card("bandit", False, 3, [Units.BANDIT]) BARBARIAN_BARREL: Card = Card( @@ -112,9 +113,6 @@ class _CardsNamespace: GUARDS: Card = Card("guards", False, 3, [Units.GUARD]) HEAL_SPIRIT: Card = Card("heal_spirit", False, 1, [Units.HEAL_SPIRIT]) HOG_RIDER: Card = Card("hog_rider", False, 4, [Units.HOG_RIDER]) - HUNGRY_DRAGON: Card = Card( - "hungry_dragon", False, 4, [Units.HUNGRY_DRAGON] - ) HUNTER: Card = Card("hunter", False, 4, [Units.HUNTER]) ICE_GOLEM: Card = Card("ice_golem", False, 2, [Units.ICE_GOLEM]) ICE_SPIRIT: Card = Card("ice_spirit", False, 1, [Units.ICE_SPIRIT]) diff --git a/clashroyalebuildabot/namespaces/units.py b/clashroyalebuildabot/namespaces/units.py index a170c9d..157e86d 100644 --- a/clashroyalebuildabot/namespaces/units.py +++ b/clashroyalebuildabot/namespaces/units.py @@ -53,6 +53,9 @@ class _UnitsNamespace: ARCHER_QUEEN: Unit = Unit( "archer_queen", UnitCategory.TROOP, Target.ALL, Transport.GROUND ) + BABY_DRAGON: Unit = Unit( + "baby_dragon", UnitCategory.TROOP, Target.ALL, Transport.AIR + ) BALLOON: Unit = Unit( "balloon", UnitCategory.TROOP, Target.BUILDINGS, Transport.AIR ) @@ -190,9 +193,6 @@ class _UnitsNamespace: HOG_RIDER: Unit = Unit( "hog_rider", UnitCategory.TROOP, Target.BUILDINGS, Transport.GROUND ) - HUNGRY_DRAGON: Unit = Unit( - "hungry_dragon", UnitCategory.TROOP, Target.ALL, Transport.AIR - ) HUNTER: Unit = Unit( "hunter", UnitCategory.TROOP, Target.ALL, Transport.GROUND ) diff --git a/main.py b/main.py index 04d8e86..d2c16eb 100644 --- a/main.py +++ b/main.py @@ -7,9 +7,9 @@ from loguru import logger from clashroyalebuildabot.actions import ArchersAction +from clashroyalebuildabot.actions import BabyDragonAction from clashroyalebuildabot.actions import CannonAction from clashroyalebuildabot.actions import GoblinBarrelAction -from clashroyalebuildabot.actions import HungryDragonAction from clashroyalebuildabot.actions import KnightAction from clashroyalebuildabot.actions import MinipekkaAction from clashroyalebuildabot.actions import MusketeerAction @@ -41,10 +41,10 @@ def update_terminal_title(): def main(): actions = { ArchersAction, + BabyDragonAction, CannonAction, GoblinBarrelAction, KnightAction, - HungryDragonAction, MinipekkaAction, MusketeerAction, WitchAction,