OK論壇

 找回密碼
 註冊
查看: 1351|回復: 2

Hercules itemeffect 用法問題 想裝上指定 卡片效果

[複製鏈接]
  • TA的每日心情
    奮斗
    2016-9-7 09:54 PM
  • 簽到天數: 158 天

    連續簽到: 1 天

    [LV.7]常住居民III

    發表於 2016-1-3 17:48:30 | 顯示全部樓層 |閱讀模式
    EA
    私服版號: Hercules 21872
    問題內容: 腳本問題
    本帖最後由 claymoreaki 於 2016-1-3 10:03 PM 編輯

    我想製作一個腳本 就是可以暫時裝上 該卡片效果

    Hercules DOC 有段是 itemeffect  <<=== 請問這段是 可以暫時裝上 該卡片效果嗎?

    *itemeffect <item id>;
    *itemeffect "<item name>";
    *consumeitem is an alias of itemeffect (added for compatibility)

    This command will run the item script of the specified item on the
    invoking character. The character does not need to posess the item, and
    the item will not be deleted. While this command is intended for usable
    items, it will run for any item type.



    下面是 目前執行的腳本 但是沒有效果 MAP 也沒有報錯 請問是其他的 腳本指令 才是嗎?



    1. ape,156,205,4        script        測試        4_F_KAFRA6,{




    2.         mes "[測試]";
    3.         next;
    4.                 menu
    5.                 "TEST",yy1,
    6.                 "結束對話",Exit_System;

    7. yy1:
    8.         mes "[yy1]";
    9.         itemeffect 4010;
    10.         close;





    11. Exit_System:
    12.         close;



    13.         

    14. OnInit:
    15.         waitingroom "  TEST",0;
    16.         end;

    17. }
    複製代碼
    回復

    使用道具 舉報

    freero2013 該用戶已被刪除
    發表於 2016-1-3 20:00:32 | 顯示全部樓層
    提示: 作者被禁止或刪除 內容自動屏蔽
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    奮斗
    2016-9-7 09:54 PM
  • 簽到天數: 158 天

    連續簽到: 1 天

    [LV.7]常住居民III

     樓主| 發表於 2016-1-3 22:02:48 | 顯示全部樓層
    freero2013 發表於 2016-1-3 08:00 PM
    itemeffect 非使用類道具的都無法用喔
    就像 bonus 不能用在腳本一樣 (但有些模擬器會打開這功能)
    因為腳本 ...

    原來如此 我知道了 感謝你的解答
    回復 支持 反對

    使用道具 舉報

    您需要登錄後才可以回帖 登錄 | 註冊

    本版積分規則

    Archiver|手機版|小黑屋|OK討論區

    GMT+8, 2024-4-16 01:26 PM , Processed in 0.047992 second(s), 22 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回復 返回頂部 返回列表