Skip to content

Commit 601f678

Browse files
committed
detect nobility
1 parent d9bacaf commit 601f678

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

root.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3506,7 +3506,7 @@ def detect(self,uid,enemy_id,type):#对外接口,侦察
35063506
m=random.randint(1,100)
35073507
if type<=2 and scout[type]-6<0:
35083508
return dict(id=0)
3509-
if type==3 and u.cae-2*(u.nobility+1)<0:
3509+
if type==3 and u.cae-(u.nobility+1)<0:
35103510
return dict(id=0)
35113511
if type==4 and u.cae-1<0:
35123512
return dict(id=0)
@@ -3541,7 +3541,7 @@ def detect(self,uid,enemy_id,type):#对外接口,侦察
35413541
return dict(dead=killed,won=v.won,total=v.lost+v.won,power=uv.infantrypower+uv.cavalrypower,allynum=allypower)
35423542
elif type==3:
35433543
cb=u.cae
3544-
u.cae=u.cae-2*(u.nobility+1)
3544+
u.cae=u.cae-(u.nobility+1)
35453545
ca=u.cae
35463546
caelog(cb,ca)
35473547
uv=checkopdata(enemy_id)#cache

0 commit comments

Comments
 (0)