- 积分
- 1308
- 威望
- 0
- 魅力
- 0
- 经验
- 292
- 热心度
- 0
- 注册时间
- 2006-3-15
- 最后登录
- 2024-3-7
- 主题
- 69
- 回帖
- 496
- 精华
- 1
- 阅读权限
- 40
成长值: 445 TA的每日心情 | 慵懒 2024-3-7 15:26 |
---|
签到天数: 96 天 连续签到: 1 天 [LV.6]地狱战马
4级 Famous Hero
- 积分
- 1308
|
写了一个小[wiki]ERM[/wiki],功能是让马克希姆(特长速度+2)能够拥有格鲁的特长。结果实现以后发现马克希姆本来的特长消失了……高手帮看看,哪里出的问题?
ZVSE
[Hero screen mouse click]
!?CM2;
!!HE-1:N?v1; [Get current hero #]
!!FU&v1<>144:E;
!!VRz1:S^Can upgrade Archers or Marksmen,Wood Elves or Grand Elves,Gog or Magog,Beholder or Evil Eye,Medusa or Medusa Queen,Orcs or Orc Chieftains and Lizardmen or Lizard Warriors to Sharpshooters.
Sharpshooters may be further upgraded to Lava Sharpshooters.^;
!!UN:G2/144/2/1; 4
!!FU29750&v1=144:P; 4
----------------------------------------------------------------------------------------------------------------
!?FU29750;
!!CM:I?y1; [Get click location]
!!VRy2:S-1; [Set y2 to -1]
!!VRy3:S-1; [Set y3 to -1]
!!VRy2&y1>=68/y1<=74:Sy1 -68; [If clicked, set troop slot #: y2]
!!HE144&y2>=0:C0/y2/?y3/d; [Type of monster: y3]
!!HE144&y2>=0:X6/2/18/137; [Standard archers/elves to Sharpshooters]
!!HE144|y3=44/y3=45/y3=74/y3=75:X6/44/74/137; [Gog/Magog/Beholder/Evil Eye to Sharpshooters]
!!HE144|y3=76/y3=77/y3=88/y3=89:X6/76/88/137; [Medusa/Medusa Queen/Orcs/Chieftains to Sharpshooters]
!!HE144|y3=100/y3=101:X6/100/101/137; [Lizardmen/Lizard Warriors to Sharpshooters]
!!HE144&y3=137:X6/137/137/171; [Sharpshooters to Lava Sharpshooters] |
|