#SPECIALS 設定的是需要執行 special function 的怪物。如果你並沒有使用到 special function,請直接省略本段,以免發生其他問題。#SPECIALS 和 #RESETS 一樣都是單行指令,句末可加註解。本段最後以 S 結尾。
#SPECIALS
{
* <comment_to_eol>
}
{
M <mob-vnum:number> <spec-fun:word> <comment:to_eol>
}
S
基本設定
M | 宣告為怪物 |
<mob-vnum:number> | 怪物的 vnum |
<spec-fun:word> | 要設定哪個 special function |
<comment:to_eol> | 註解 |
範例
M 3134 spec_guard * cityguard
為 mob #3134 (cityguard)
加入 spec_guard 功能
常用的 special function 和其功能如下:
spec_guard | 衛兵,會攻擊兇手、小偷、惡魔等 |
spec_janitor | 工友,會撿東西兼清理 |
spec_thief | 小偷,會偷玩家的錢 |
spec_poison | 戰鬥中會讓對方中毒(非法術,適合毒蛇等) |
spec_cast_cleric | 戰鬥中會使用牧師系法術 |
spec_cast_mage | 戰鬥中會使用法師系法術 |
spec_cast_adept | 會幫玩家施法,如 Lact 和 Isho |
spec_breath_any | 全都會噴 |
spec_breath_acid | 會噴酸 |
spec_breath_fire | 會噴火 |
spec_breath_frost | 會噴冰 |
spec_breath_gas | 會噴氣 |
spec_breath_lightning | 會噴電 |