- 积分
- 16226
- 威望
- 18
- 魅力
- 19
- 经验
- 9933
- 热心度
- 6
- 注册时间
- 2006-3-5
- 最后登录
- 2025-5-3
- 主题
- 38
- 回帖
- 4640
- 精华
- 2
- 阅读权限
- 150
TA的每日心情 | 无聊 2020-12-10 03:20 |
---|
签到天数: 550 天 连续签到: 3 天 [LV.9]龙巫妖

超级版主
一路狂奔
   
- 积分
- 16226

|
发表于 2012-7-17 15:27:46
|
显示全部楼层
[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]
!!OBv1/v2/v3&x1=16:U?y2; [Subtype of type 16 creature bank: y2]
!!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] //一个月恢复生物银行// 这里把S28改成7就行
!!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]
!!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/y2<>13/y2<>14/y2<>15/y2<>16:My30/y31; [Set new number of bonus creatures excluding Emissary buildings: y31]
!!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]
!!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"]
[ 本帖最后由 canary 于 2012-7-17 17:18 编辑 ] |
评分
-
2
查看全部评分
-
|