- 积分
- 574
- 威望
- 1
- 魅力
- 0
- 经验
- 189
- 热心度
- 0
- 注册时间
- 2007-2-23
- 最后登录
- 2020-3-11
- 主题
- 43
- 回帖
- 197
- 精华
- 0
- 阅读权限
- 30
TA的每日心情 | 衰 2015-9-5 22:11 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]投石矮人
3级 Known Hero
- 积分
- 574
|
楼主 |
发表于 2014-3-3 20:12:33
|
显示全部楼层
本帖最后由 qq420533851 于 2014-3-3 20:13 编辑
非常感谢 找到了
但是尝试改了一下 貌似没有作用
[Loop through all creature banks]
[x1=type of bank, x2=number of banks]
!?FU5405;
!!UN:Ux1/-1/-1/1; [Creature Bank coordinates in v1/v2/v3]
!!CBv1/v2/v3:T?y1; [Check if Creature Bank already Taken: y1=1 if Taken]
!!DO5406/0/6/1&y1=0/$weekday$=$monday$:P-1; [Loop through guard slots and resources in creature bank each week]
!!CBv1/v2/v3&y1=0/$weekday$=$monday$:M?y30/?y31; [Number of Bonus Creatures, Type=y30, Number=y31]
!!VRy31&y1=0/$weekday$=$monday$/y30>=0/y31>0/y31<127/y-10=1:+1; [Every 3rd week, add 1 bonus creature: y31 (maximum 127)]
!!CBv1/v2/v3&y1=0/$weekday$=$monday$/y30>=0/y31>0/y31<128/y-10=1:My30/y31; [Set new number of bonus creatures: y31]
!!POv1/v2/v3&y1=1:S?y18; [Read PO:S number for Creature Bank square: y18]
!!POv1/v2/v3&y1=1/y18=0:S28; [Set PO:S number for Creature Bank square to 28: y18]
!!VRy18&y1=1/y18>0:-1; [Subtract one from PO:S number: y18]
!!POv1/v2/v3&y1=1/y18>0:Sy18; [Write new PO:S number: y18]
!!FU|y1<>1/y18<>1:E; [Exit if bank not taken or y18<>1]
[Reset/Restock taken creature banks after 28 days] ;*********
!!POv1/v2/v3:S0; [Reset Creature Bank's PO:S number to 0]
!!OBv1/v2/v3&x1=16:U?y2; [Subtype of type 16 creature bank: y2]
!!FU&x1=16/y2>=13/y2<=16:E; [Exit if it's an Emissary building]
!!CBv1/v2/v3:T0 V0; [Reset creature bank to "not taken"] |
|