|
这是我自己写的[wiki]ERM[/wiki],拿出来给些对ERM不懂的人.顺便请高手改正不合理之处.
1本ERM是用领导术招枪兵.低级为10%,高级为20%,专家级为30%.
2只有战胜方能招.
3对方无损状态下逃跑或者投降也能找到一个.
4战胜后根据对方每一队兵的伤亡数来招.每个兵的HP×招兵百分比×该队兵的伤忙数量,每10hp算一个枪兵,但不会超过该队兵的总伤亡数.
5该[wiki]英雄[/wiki]如果拥有招魂术,则领导术招兵失效.
ZVSE
!?BA0;
!!VRv9140:C0/0/0/0/0/0/0; [no creatures to resurrect after battle attacker]
!!VRv9147:C0/0/0/0/0/0/0; [no creatures to resurrect after battle defender]
!!BA:M0/0/?v9101/?v9140; [save qty in each of attacking hero's slots for after battle]
!!BA:M0/1/?v9102/?v9141; [to determine qty lost for first aid skill]
!!BA:M0/2/?v9103/?v9142; // new by Thomas Franz: save creature type in v9101-v9114
!!BA:M0/3/?v9104/?v9143;
!!BA:M0/4/?v9105/?v9144;
!!BA:M0/5/?v9106/?v9145;
!!BA:M0/6/?v9107/?v9146;
!!BA:M1/0/?v9108/?v9147; [save qty in each of defending hero's slots for after battle]
!!BA:M1/1/?v9109/?v9148; [to determine qty lost for first aid skill]
!!BA:M1/2/?v9110/?v9149;
!!BA:M1/3/?v9111/?v9150;
!!BA:M1/4/?v9112/?v9151;
!!BA:M1/5/?v9113/?v9152;
!!BA:M1/6/?v9114/?v9153;
!!BA:H0/?v9902; [get attacking hero #]
!!BA:H1/?v9903; [get defending hero #]
!?BA1;
!!HEv9902&v9902>-1:O?y20; [get attacking hero's owner]
!!HEv9903&v9903>-1:O?y30; [get defending hero owner]
!!BA:M0/0/?y11/?y21; [save qty in each of attacking hero's slots for after battle]
!!BA:M0/1/?y12/?y22; [to determine qty lost for first aid skill]
!!BA:M0/2/?y13/?y23; // new by Thomas Franz: save creature type in v9101-v9114
!!BA:M0/3/?y14/?y24;
!!BA:M0/4/?y15/?y25;
!!BA:M0/5/?y16/?y26;
!!BA:M0/6/?y17/?y27;
!!BA:M1/0/?y31/?y41; [save qty in each of defending hero's slots for after battle]
!!BA:M1/1/?y32/?y42; [to determine qty lost for first aid skill]
!!BA:M1/2/?y33/?y43;
!!BA:M1/3/?y34/?y44;
!!BA:M1/4/?y35/?y45;
!!BA:M1/5/?y36/?y46;
!!BA:M1/6/?y37/?y47;
!!VRy51&v9902>-1/y20>-1/v9108<>-1:Sv9147-y41;
!!VRy52&v9902>-1/y20>-1/v9109<>-1:Sv9148-y42;
!!VRy53&v9902>-1/y20>-1/v9110<>-1:Sv9149-y43;
!!VRy54&v9902>-1/y20>-1/v9111<>-1:Sv9150-y44;
!!VRy55&v9902>-1/y20>-1/v9112<>-1:Sv9151-y45;
!!VRy56&v9902>-1/y20>-1/v9113<>-1:Sv9152-y46;
!!VRy57&v9902>-1/y20>-1/v9114<>-1:Sv9153-y47;
!!VRy51&v9903>-1/y30>-1/v9101<>-1:Sv9140-y21;
!!VRy52&v9903>-1/y30>-1/v9102<>-1:Sv9141-y22;
!!VRy53&v9903>-1/y30>-1/v9103<>-1:Sv9142-y23;
!!VRy54&v9903>-1/y30>-1/v9104<>-1:Sv9143-y24;
!!VRy55&v9903>-1/y30>-1/v9105<>-1:Sv9144-y25;
!!VRy56&v9903>-1/y30>-1/v9106<>-1:Sv9145-y26;
!!VRy57&v9903>-1/y30>-1/v9107<>-1:Sv9146-y27;
!!MA&v9902>-1/y20>-1/v9108<>-1:Pv9108/?y61;
!!MA&v9902>-1/y20>-1/v9109<>-1:Pv9109/?y62;
!!MA&v9902>-1/y20>-1/v9110<>-1:Pv9110/?y63;
!!MA&v9902>-1/y20>-1/v9111<>-1:Pv9111/?y64;
!!MA&v9902>-1/y20>-1/v9112<>-1:Pv9112/?y65;
!!MA&v9902>-1/y20>-1/v9113<>-1:Pv9113/?y66;
!!MA&v9902>-1/y20>-1/v9114<>-1:Pv9114/?y67;
!!MA&v9903>-1/y30>-1/v9101<>-1:Pv9101/?y61;
!!MA&v9903>-1/y30>-1/v9102<>-1:Pv9102/?y62;
!!MA&v9903>-1/y30>-1/v9103<>-1:Pv9103/?y63;
!!MA&v9903>-1/y30>-1/v9104<>-1:Pv9104/?y64;
!!MA&v9903>-1/y30>-1/v9105<>-1:Pv9105/?y65;
!!MA&v9903>-1/y30>-1/v9106<>-1:Pv9106/?y66;
!!MA&v9903>-1/y30>-1/v9107<>-1:Pv9107/?y67;
!!HEv9902&v9902>-1/y20>-1:S6/?y40;
!!HEv9903&v9903>-1/y30>-1:S6/?y40;
!!HEv9902&v9902>-1/y20>-1:S12/?y50;
!!HEv9903&v9903>-1/y30>-1:S12/?y50;
!!FU&y40<1:E;
!!FU&y50<>0:E;
!!VRy71:Sy61*y51*y40;
!!VRy72:Sy62*y52*y40;
!!VRy73:Sy63*y53*y40;
!!VRy74:Sy64*y54*y40;
!!VRy75:Sy65*y55*y40;
!!VRy76:Sy66*y56*y40;
!!VRy77:Sy67*y57*y40;
!!VRy81:Sy71:100;
!!VRy82:Sy72:100;
!!VRy83:Sy73:100;
!!VRy84:Sy74:100;
!!VRy85:Sy75:100;
!!VRy86:Sy76:100;
!!VRy87:Sy77:100;
!!VRy1&y81>=y51:Sy51;
!!VRy2&y82>=y52:Sy52;
!!VRy3&y83>=y53:Sy53;
!!VRy4&y84>=y54:Sy54;
!!VRy5&y85>=y55:Sy55;
!!VRy6&y86>=y56:Sy56;
!!VRy7&y87>=y57:Sy57;
!!VRy1&y81<y51:Sy81;
!!VRy2&y82<y52:Sy82;
!!VRy3&y83<y53:Sy83;
!!VRy4&y84<y54:Sy84;
!!VRy5&y85<y55:Sy85;
!!VRy6&y86<y56:Sy86;
!!VRy7&y87<y57:Sy87;
!!VRv9901:Sy1+y2+y3+y4+y5+y6+y7;
!!VRv9901&v9901<1:S1;
!!OW:Iy20/?y95/?y96;
!!OW:Iy30/?y97/?y98;
!!UN:N3/1/0/0; 获取枪兵的怪物名称
!!IF&v9902>-1/y20>-1/y95=0/y96=0:Q446/21/0/1^{The BT Necromancy Skill}
Your hero raised {%V9901} {%Z1} after the battle by your {Leadership} skill^; 玩家攻方英雄战后招枪兵说明
!!IF&v9903>-1/y30>-1/y97=0/y98=0:Q446/21/0/1^{The BT Necromancy Skill}
Your hero raised {%V9901} {%Z1} after the battle by your {Leadership} skill^; 玩家防方英雄战后招枪兵说明
!!HEv9902&v9902>-1/y20>-1/y95=1/y96=0:C2/0/v9901/0; 没有空格时AI自动决定
!!HEv9903&v9903>-1/y30>-1/y97=1/y98=0:C2/0/v9901/0;
!!HEv9902&v9902>-1/y20>-1/y95=0/y96=0:C2/0/v9901/1; 没有空格时询问玩家
!!HEv9903&v9903>-1/y30>-1/y97=0/y98=0:C2/0/v9901/1;
!!UN:R1;
!!VRv9901:S0;
!!VRv9902:S0;
!!VRv9903:S0;
[ 本帖最后由 yjwlhy 于 2009-10-22 09:15 编辑 ] |
评分
-
1
查看全部评分
-
|