┌──────────────────────────────────┐
│操作環境:MUSHclient 4.73(較舊版本不保證能夠正常運行)使用語言:Lua│
└──────────────────────────────────┘
說明:Enable 技能升級時自動 en 該技能
(技能名稱取自精華區 z-15-46 hmml 前輩之文章)
使用說明:
1、到 https://www.dropbox.com/s/dzfbcrki9vphykx/sanc_auto_enable.zip
下載 Plugin (2013.05.11 更新)
解壓縮後置於 worlds\plugins\ 底下
2、遊戲視窗「File」→「Plugins」,點選「Add」
選擇下載的 sanc_auto_enable.xml 檔並開啟,之後關閉 Plugins 視窗就完成了
★ 若上述下載連結失效,複製下面紅色虛線內的文字並另存為 *.xml 檔案即可
(下載的檔案和下方虛線內的內容唯一差別在於,下面的沒有排版...)
----------------------------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on 星期日, 十二月 11, 2011, 3:11 下午 -->
<!-- MuClient version 4.73 -->
<!-- Plugin "sanc_auto_enable" generated by Plugin Wizard -->
<muclient>
<plugin
name="Sanc_AutoEn"
author="Hamano"
id="f03d055d6b0f642be3444e24"
language="Lua"
purpose="當en技能升級時自動enable"
date_written="2011-12-11 15:07:33"
requires="4.00"
version="1.0"
>
</plugin>
<!-- Triggers -->
<triggers>
<trigger
enabled="y"
keep_evaluating="y"
match="^[> ]*你的技能,『(.+)』進步了\((\d+)00\)!$"
regexp="y"
send_to="12"
sequence="100"
>
<send>auto_en_skill("%1")</send>
</trigger>
</triggers>
<!-- Script -->
<script>
<![CDATA[
enskillchlist = {"迴槍刺擊","焚城槍法","打狗棒法",
"百花棍法","小醉拳","佛山無影腳",
"美女拳法","如來神掌","黯然銷魂掌",
"閃華裂光拳","太極拳","少林拳法",
"六脈神劍","飄雲杖法","冰燄杖法",
"星光杖法","半月斬","傲寒六訣",
"牙突","落日刀法","王者之路",
"刃擊術","闇影之牙","舞燄之斧",
"戰龍之斧","焚鋒之章","飄零之卷",
"彩虹七色劍","水蓮劍法","武當劍法",
"騎士風斬法","*自創技能*","2-sword-as-1",
}
enskillenlist = {"return lance","burn-city lance","pkdog rod",
"flower rod","drink fist","fosan foot",
"girl fist","zulai fist","shadow fist",
"sankalekouken","taichi fist","soulin fist",
"6-vessels swordray","fly-cloud wand","icefire wand",
"starlight wand","hafe blade","6-cold blade",
"toothstab","sunset blade","king-road",
"battle dagger","shadow teeth","fire axe",
"war-dragon axe","burnedge chapter","drift volume",
"rainbow slash","water-lotus slash","wudon slash",
"knight slash","myskill","2-sword-as-1",
}
function auto_en_skill(skillchname)
for k, v in pairs(enskillchlist) do
if skillchname == v then
Send ("en " .. enskillenlist[k])
end -- if
end -- for
end
]]>
</script>
</muclient>
----------------------------------------
--
※ 發信站: 批踢踢實業坊(ptt.cc)