作者laechan (小太保)
看板mud_sanc
标题Re: [wizs]问题请教(二十)
时间Sun Oct 7 20:02:02 2007
※ 引述《amosdeus (幽素)》之铭言:
: 问题一:
: 请问要怎样让玩家不会使用普攻,不是指 en
: 而是 force slash blade fire cast spell 这类之外的攻击。
可在房间设 set("no_skill",1);
若是要设在怪物身上, 很简单..
add_action("no_skill",({"force","slash","blade","fire","cast","spell"}));
然後...
int no_skill(string str)
{
write("你现在无法使用这个指令喔!\n");
return 1;
}
: 问题二:
: 请问怎怎样让玩家使用两次的法术,
: 比如 玩家使用一次 spell fire
: 某样装备 会自动在使用一次 spell fire
: 类似双重施法。
: 以上
: 谢谢
: Plain@Sanc
这个改 spell 指令档比较简单,也比较不会有 bug。
Laechan
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 125.231.235.243