Battle.UseTech
Battle.UseTech(CharIndex, SkillSlot, TechSlot, Target)
函數功能
讓對象執行指定的戰鬥技能釋放,必須在對象Battle.IsWaitingCommand(index)返回值爲1時纔可以有效使用。
參數說明
返回值
0 失敗, 1 成功
範例
if( Battle.IsWaitingCommand(index) == 1) then
Battle.UseTech(index, 0, 0, 11);
print("offline player use tech");
end
HourGlass