请选择 进入手机版 | 继续访问电脑版

传奇服务端

 找回密码
 立即注册
趣思论坛
查看: 503|回复: 0

GOM引擎衣服通灵脚本教程,冰雪传奇服务端已经破碎.灵符扣除500示例

[复制链接]
  • TA的每日心情
    奋斗
    2020-3-7 21:56
  • 签到天数: 162 天

    [LV.7]常住居民III

    1226

    主题

    1504

    帖子

    5万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    54232
    发表于 2019-11-16 16:33:03 | 显示全部楼层 |阅读模式
    现金奖励计划
    gom引擎衣服通灵脚本教程,冰雪传奇服务端已经破碎.灵符扣除500示例

    00379.png
    [@main]
    #IF
    #SAY
     \ \
      成品衣服 需要 装备一件加100万元宝或者100灵符 <查询淬炼规则/@规则>\ \
      上古衣服 需要 装备一件加500万元宝或者500灵符 <查询淬炼规则/@规则>\ \
    #ACT
    OPENUPGRADEDLG 衣服通灵(衣服通灵)



    [@规则]
    成品流云   基础攻魔道加5   额外属性 HP   MP  加百分之5 \
    成品鬼衣   基础攻魔道加5   额外属性 HP   MP  加百分之5 \
    上古衣服   基础攻魔道加10  额外属性 HP   MP  加百分之10 \


    [@UpgradeDlgItem]
    #OR
    CheckContainsTextList ..\QuestDiary\火星\衣服.txt <$DLGITEM.NAME>
    CheckContainsTextList ..\QuestDiary\火星\衣服1.txt <$DLGITEM.NAME>
    #SAY
     \
    您当前淬炼物品名称:<$DLGITEM.NAME>\
    <元宝淬炼/@元宝淬炼>    <灵符淬炼/@灵符淬炼>
    #ACT
    #ELSEACT
    RECLAIMITEM
    MESSAGEBOX 错误\\当前物品禁止淬炼!


    [@元宝淬炼]
    #OR
    CHECKCUSTOMITEMVALUE -1 9 = 5
    CHECKCUSTOMITEMVALUE -1 9 = 10
    #ACT
    MESSAGEBOX 当前装备已经淬炼完成无须继续淬炼
    RECLAIMITEM
    GOTO @MAIN
    BREAK

    #IF
    CheckContainsTextList ..\QuestDiary\火星\衣服.txt <$DLGITEM.NAME>
    CHECKGAMEGOLD < 999999
    #ACT
    MESSAGEBOX 您的元宝不足无法淬炼
    RECLAIMITEM
    GOTO @MAIN
    BREAK

    #IF
    CheckContainsTextList ..\QuestDiary\火星\衣服1.txt <$DLGITEM.NAME>
    CHECKGAMEGOLD < 4999999
    #ACT
    MESSAGEBOX 您的元宝不足无法淬炼
    RECLAIMITEM
    GOTO @MAIN
    BREAK



    #IF
    CheckContainsTextList ..\QuestDiary\火星\衣服.txt <$DLGITEM.NAME>
    CHECKGAMEGOLD > 999999
    RANDOM 3
    #act
    GuildNoticeMsg 251 0 玩家『<$USERNAME>』淬炼『<$DLGITEM.NAME>』装备成功!!
    gamegold - 1000000
    CHANGECUSTOMITEMTEXT -1 [通灵属性]:
    CHANGECUSTOMITEMTEXTCOLOR -1 251
    CHANGECUSTOMITEMABIL -1 0 1 3
    CHANGECUSTOMITEMABIL -1 1 1 4
    CHANGECUSTOMITEMABIL -1 2 1 5
    CHANGECUSTOMITEMABIL -1 8 1 6
    CHANGECUSTOMITEMABIL -1 9 1 7
    CHANGECUSTOMITEMABIL -1 0 2 0
    CHANGECUSTOMITEMABIL -1 1 2 1
    CHANGECUSTOMITEMABIL -1 2 2 2
    CHANGECUSTOMITEMABIL -1 8 2 8
    CHANGECUSTOMITEMABIL -1 9 2 9
    CHANGECUSTOMITEMABIL -1 0 3 0
    CHANGECUSTOMITEMABIL -1 1 3 0
    CHANGECUSTOMITEMABIL -1 2 3 0
    CHANGECUSTOMITEMABIL -1 8 3 1
    CHANGECUSTOMITEMABIL -1 9 3 1
    CHANGECUSTOMITEMVALUE -1 0 = 5
    CHANGECUSTOMITEMVALUE -1 1 = 5
    CHANGECUSTOMITEMVALUE -1 2 = 5
    CHANGECUSTOMITEMVALUE -1 8 = 5
    CHANGECUSTOMITEMVALUE -1 9 = 5
    CHANGECUSTOMITEMABIL -1 0 0 243
    CHANGECUSTOMITEMABIL -1 1 0 243
    CHANGECUSTOMITEMABIL -1 2 0 243
    CHANGECUSTOMITEMABIL -1 8 0 254
    CHANGECUSTOMITEMABIL -1 9 0 254
    ChangeItemName -1 <$DLGITEM.NAME>【通灵】
    RECLAIMITEM
    GOTO @MAIN
    BREAK

    #IF
    CheckContainsTextList ..\QuestDiary\火星\衣服1.txt <$DLGITEM.NAME>
    CHECKGAMEGOLD > 4999999
    RANDOM 3
    #act
    GuildNoticeMsg 251 0 玩家『<$USERNAME>』淬炼『<$DLGITEM.NAME>』装备成功!!
    gamegold - 5000000
    CHANGECUSTOMITEMTEXT -1 [通灵属性]:
    CHANGECUSTOMITEMTEXTCOLOR -1 251
    CHANGECUSTOMITEMABIL -1 0 1 3
    CHANGECUSTOMITEMABIL -1 1 1 4
    CHANGECUSTOMITEMABIL -1 2 1 5
    CHANGECUSTOMITEMABIL -1 8 1 6
    CHANGECUSTOMITEMABIL -1 9 1 7
    CHANGECUSTOMITEMABIL -1 0 2 0
    CHANGECUSTOMITEMABIL -1 1 2 1
    CHANGECUSTOMITEMABIL -1 2 2 2
    CHANGECUSTOMITEMABIL -1 8 2 8
    CHANGECUSTOMITEMABIL -1 9 2 9
    CHANGECUSTOMITEMABIL -1 0 3 0
    CHANGECUSTOMITEMABIL -1 1 3 0
    CHANGECUSTOMITEMABIL -1 2 3 0
    CHANGECUSTOMITEMABIL -1 8 3 1
    CHANGECUSTOMITEMABIL -1 9 3 1
    CHANGECUSTOMITEMVALUE -1 0 = 10
    CHANGECUSTOMITEMVALUE -1 1 = 10
    CHANGECUSTOMITEMVALUE -1 2 = 10
    CHANGECUSTOMITEMVALUE -1 8 = 10
    CHANGECUSTOMITEMVALUE -1 9 = 10
    CHANGECUSTOMITEMABIL -1 0 0 243
    CHANGECUSTOMITEMABIL -1 1 0 243
    CHANGECUSTOMITEMABIL -1 2 0 243
    CHANGECUSTOMITEMABIL -1 8 0 254
    CHANGECUSTOMITEMABIL -1 9 0 254
    ChangeItemName -1 <$DLGITEM.NAME>【通灵】
    RECLAIMITEM
    GOTO @MAIN
    BREAK
    #elseact
    GOTO @失败检测


    [@失败检测]
    #IF
    CheckContainsTextList ..\QuestDiary\火星\衣服.txt <$DLGITEM.NAME>
    #ACT
    gamegold - 1000000
    MESSAGEBOX 淬炼失败
    ;您的<$DLGITEM.NAME>已经破碎.元宝扣除100万
    RECLAIMITEM
    GOTO @MAIN
    BREAK

    #IF
    CheckContainsTextList ..\QuestDiary\火星\衣服1.txt <$DLGITEM.NAME>
    #ACT
    gamegold - 5000000
    MESSAGEBOX 淬炼失败
    ;您的<$DLGITEM.NAME>已经破碎.元宝扣除500万
    RECLAIMITEM
    GOTO @MAIN
    BREAK


























    [@灵符淬炼]
    #OR
    CHECKCUSTOMITEMVALUE -1 9 = 5
    CHECKCUSTOMITEMVALUE -1 9 = 10
    #ACT
    MESSAGEBOX 当前装备已经淬炼完成无须继续淬炼
    RECLAIMITEM
    GOTO @MAIN
    BREAK

    #IF
    CheckContainsTextList ..\QuestDiary\火星\衣服.txt <$DLGITEM.NAME>
    CHECKGAMEGIRD < 99
    #ACT
    MESSAGEBOX 您的灵符不足无法淬炼
    RECLAIMITEM
    GOTO @MAIN
    BREAK

    #IF
    CheckContainsTextList ..\QuestDiary\火星\衣服1.txt <$DLGITEM.NAME>
    CHECKGAMEGIRD < 499
    #ACT
    MESSAGEBOX 您的灵符不足无法淬炼
    RECLAIMITEM
    GOTO @MAIN
    BREAK



    #IF
    CheckContainsTextList ..\QuestDiary\火星\衣服.txt <$DLGITEM.NAME>
    CHECKGAMEGIRD > 99
    RANDOM 3
    #act
    GuildNoticeMsg 251 0 玩家『<$USERNAME>』淬炼『<$DLGITEM.NAME>』装备成功!!
    GAMEGIRD - 100
    CHANGECUSTOMITEMTEXT -1 [通灵属性]:
    CHANGECUSTOMITEMTEXTCOLOR -1 251
    CHANGECUSTOMITEMABIL -1 0 1 3
    CHANGECUSTOMITEMABIL -1 1 1 4
    CHANGECUSTOMITEMABIL -1 2 1 5
    CHANGECUSTOMITEMABIL -1 8 1 6
    CHANGECUSTOMITEMABIL -1 9 1 7
    CHANGECUSTOMITEMABIL -1 0 2 0
    CHANGECUSTOMITEMABIL -1 1 2 1
    CHANGECUSTOMITEMABIL -1 2 2 2
    CHANGECUSTOMITEMABIL -1 8 2 8
    CHANGECUSTOMITEMABIL -1 9 2 9
    CHANGECUSTOMITEMABIL -1 0 3 0
    CHANGECUSTOMITEMABIL -1 1 3 0
    CHANGECUSTOMITEMABIL -1 2 3 0
    CHANGECUSTOMITEMABIL -1 8 3 1
    CHANGECUSTOMITEMABIL -1 9 3 1
    CHANGECUSTOMITEMVALUE -1 0 = 5
    CHANGECUSTOMITEMVALUE -1 1 = 5
    CHANGECUSTOMITEMVALUE -1 2 = 5
    CHANGECUSTOMITEMVALUE -1 8 = 5
    CHANGECUSTOMITEMVALUE -1 9 = 5
    CHANGECUSTOMITEMABIL -1 0 0 243
    CHANGECUSTOMITEMABIL -1 1 0 243
    CHANGECUSTOMITEMABIL -1 2 0 243
    CHANGECUSTOMITEMABIL -1 8 0 254
    CHANGECUSTOMITEMABIL -1 9 0 254
    ChangeItemName -1 <$DLGITEM.NAME>【通灵】
    RECLAIMITEM
    GOTO @MAIN
    BREAK

    #IF
    CheckContainsTextList ..\QuestDiary\火星\衣服1.txt <$DLGITEM.NAME>
    CHECKGAMEGIRD > 499
    RANDOM 3
    #act
    GuildNoticeMsg 251 0 玩家『<$USERNAME>』淬炼『<$DLGITEM.NAME>』装备成功!!
    GAMEGIRD - 500
    CHANGECUSTOMITEMTEXT -1 [通灵属性]:
    CHANGECUSTOMITEMTEXTCOLOR -1 251
    CHANGECUSTOMITEMABIL -1 0 1 3
    CHANGECUSTOMITEMABIL -1 1 1 4
    CHANGECUSTOMITEMABIL -1 2 1 5
    CHANGECUSTOMITEMABIL -1 8 1 6
    CHANGECUSTOMITEMABIL -1 9 1 7
    CHANGECUSTOMITEMABIL -1 0 2 0
    CHANGECUSTOMITEMABIL -1 1 2 1
    CHANGECUSTOMITEMABIL -1 2 2 2
    CHANGECUSTOMITEMABIL -1 8 2 8
    CHANGECUSTOMITEMABIL -1 9 2 9
    CHANGECUSTOMITEMABIL -1 0 3 0
    CHANGECUSTOMITEMABIL -1 1 3 0
    CHANGECUSTOMITEMABIL -1 2 3 0
    CHANGECUSTOMITEMABIL -1 8 3 1
    CHANGECUSTOMITEMABIL -1 9 3 1
    CHANGECUSTOMITEMVALUE -1 0 = 10
    CHANGECUSTOMITEMVALUE -1 1 = 10
    CHANGECUSTOMITEMVALUE -1 2 = 10
    CHANGECUSTOMITEMVALUE -1 8 = 10
    CHANGECUSTOMITEMVALUE -1 9 = 10
    CHANGECUSTOMITEMABIL -1 0 0 243
    CHANGECUSTOMITEMABIL -1 1 0 243
    CHANGECUSTOMITEMABIL -1 2 0 243
    CHANGECUSTOMITEMABIL -1 8 0 254
    CHANGECUSTOMITEMABIL -1 9 0 254
    ChangeItemName -1 <$DLGITEM.NAME>【通灵】
    RECLAIMITEM
    GOTO @MAIN
    BREAK
    #elseact
    GOTO @失败检测1


    [@失败检测1]
    #IF
    CheckContainsTextList ..\QuestDiary\火星\衣服.txt <$DLGITEM.NAME>
    #ACT
    GAMEGIRD - 100
    MESSAGEBOX 淬炼失败
    ;您的<$DLGITEM.NAME>已经破碎.灵符扣除100
    RECLAIMITEM
    GOTO @MAIN
    BREAK

    #IF
    CheckContainsTextList ..\QuestDiary\火星\衣服1.txt <$DLGITEM.NAME>
    #ACT
    GAMEGIRD - 500
    MESSAGEBOX 淬炼失败
    ;您的<$DLGITEM.NAME>已经破碎.灵符扣除500
    RECLAIMITEM
    GOTO @MAIN
    BREAK






    上一篇:GOM引擎新手指南NPC教程,告诉你写出一个漂亮的游戏攻略对话框
    下一篇:BLUE引擎添加买药NPC脚本,合击传奇服务端药铺设置老板教程
    温馨提示:
    1、在论坛里发表的文章仅代表作者本人的观点,与本网站立场无关。
    2、论坛的所有内容都不保证其准确性,有效性,时间性。阅读本站内容因误导等因素而造成的损失本站不承担连带责任。
    3、当政府机关依照法定程序要求披露信息时,论坛均得免责。
    4、若因线路及非本站所能控制范围的故障导致暂停服务期间造成的一切不便与损失,论坛不负任何责任。
    5、注册会员通过任何手段和方法针对论坛进行破坏,我们有权对其行为作出处理。并保留进一步追究其责任的权利。
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    GM版本库|GM基地|传奇一条龙|小黑屋|趣思论坛 ( 苏ICP备20000882号-4 )PHP/Linux/Java/Discuz!插件|网站地图|意见建议

    GMT+8, 2021-7-30 21:49 , Processed in 0.199116 second(s), 39 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表