- 积分
- 9
- 威望
- 0
- 魅力
- 0
- 经验
- 0
- 热心度
- 0
- 注册时间
- 2007-5-17
- 最后登录
- 2009-5-21
- 主题
- 2
- 回帖
- 5
- 精华
- 0
- 阅读权限
- 10
该用户从未签到
1级 Hired Hero
- 积分
- 9
|
如何修改指挥官释放的魔法啊?
比如说人族指挥官就是释放“治疗+祝福”
我在脚本51里面找到如下代码,这是不是设置指挥官能够释放的魔法啊。但是我修改以后不起作用啊。
但是在这个脚本里面修改指挥官初始技能是有用的。
** function to cast spell x1=acting stack x2=type x3=rank x4=power x5=no retaliation flag
* x1=spell x2=position x3=rank x4=power
!?FU7071;
!!BMv7082&v7082>-1:P?y8; [get position of target creature stack]
!!HE-1:N?y5; [get hero's (commander's) number]
!!COy5:P4/?y6; [get power]
!!BMv7082|x2=174/x2=183:V36 M41/y6/2; [apply bless - paladin]
!!BMv7082|x2=175/x2=184:V20 M49/y6/2; [apply mirth - heirophant]
*!BMv7082|x2=176/x2=185:V0 M48/y6/2; [apply prayer - temple guardian]
!!BMv7082|x2=177/x2=186:V51 M43/y6/2; [apply bloodlust - succubus]
*!BMv7082|x2=178/x2=187:V M51/y6/2; [apply *** - soul eater]
!!BMv7082|x2=179/x2=188:V54 M46/y6/2; [apply stoneskin - brute]
!!BMv7082|x2=180/x2=189:V7 M58/y6/2; [apply counterstrike - ogre leader]
!!BMv7082|x2=181/x2=190:V18 M51/y6/2; [apply fortune - shaman]
*!BMv7082|x2=182/x2=191:V28 M55/y6/3; [apply slayer (expert) - astral spirit]
*!BMv7082|x2=182/x2=191:V34 M30/y6/2 M31/y6/2 M32/y6/2 M33/y6/2; [apply protections - astral spirit]
** end of function ** |
|