返回列表 发布新帖
查看: 12|回复: 0

套装的两种写法

2

听众

405

主题

4万

积分

名望
8796
贡献
8796
学分
8681

最佳新人活跃会员热心会员推广达人宣传达人灌水之王

学无止境发表于 2024-8-21 07:27:14 | 查看全部 |阅读模式
套装两种写法.txt - 文本阅读 解放双眼,用手机听书


写法1:
1.在单件装备上写套装代码
[part set index]
    180101
2.写好套装列表
etc/equipmentpartset.etc
[equipment part set]
    180101
    `character/partset2/180101.equ`
    `人王之怒 · 千城暮雪胸甲`
    `[coat]`    2   0
    `人王之怒 · 千城暮雪戰靴`
    `[shoes]`   2   0
    `人王之怒 · 千城暮雪護肩`
    `[shoulder]`    2   0
    `人王之怒 · 千城暮雪護腿`
    `[pants]`   2   0
    `人王之怒 · 千城暮雪腰帶`
    `[waist]`   2   0
[/equipment part set]

首先五件装备都写好指向
180101是代码
character/partset2/180101.equ是套装属性的路径



写法2:新增装备不建议这么写
把套装属性写到组成套装的一件装备上
[set item master]
    820162731
820162731是这一套装备中的某件装备的代码,套装属性就写到这个代码上

[set name]
    `黑洞演滅 套裝`

[set item]
    820162729   820162730   820162731   820162732   820162733
[t item]

[set ability]
    [fullset basic explain]
        `攻擊時,以 10%%對所有敵人發動波塞冬之怒。
攻擊時,可召喚壹只魔獸怪物協助作戰,最多可存在3只。
進入地下城後呈現光環特效。
攻擊時,減少敵人80%%的防禦。
攻擊時,附加200%%傷害。
攻擊時,有幾率減少敵人20%%的HP。
攻擊時,有100%的幾率對敵人造成100萬點致命傷害。
所有技能CD-70%%。
力量/智力各增加30%%。`
    [physical attack]
        1305
    [magical attack]
        1315
    [equipment physical attack]
        1300    1400
    [equipment magical attack]
        1300    1400
    [separate attack]
        1300    1400
    [move speed]
        180
    [attack speed]
        180
    [cast speed]
        180
    [physical critical hit]
        80
    [magical critical hit]
        80
    [all elemental attack]
        350
    [room list move speed rate]
        1.0
    [if]
        [cooltime]
            4000
        [attack success]
            1
    [/if]
    [then]
        [target]
            `all enemy` -1
        [probability]
            10
        [passive object]
            10574   0   0   0   100 0
            ``
        [/passive object]
    [/then]
    [if]
        [cooltime]
            130000
        [attack success]
            1
    [/if]
    [then]
        [target]
            `myself`    -1
        [duration]
            100000
        [reduce duration at pvp module]
            75
        [probability]
            10
        [summon monster]
            692801523   110 3
    [/then]
    [command]
        {6=`(UP)`}
        {8=`,`}
        {6=`(DOWN)`}
        {8=`,`}
        {6=`(CREATURE)`}
    [/command]
    [if]
        [change status]
            `hp`
            `>`
            `%` 0
            `end`
        [cooltime]
            47000
    [/if]
    [then]
        [target]
            `myself`    -1
        [passive object]
            990009  0   0   0   0   -1
            ``
        [/passive object]
    [/then]
    [if]
     
        [if]
            [start cooltime]
                47000
            [change status]
                `hp`
                `>`
                `%` 0
                `end`
            [cooltime]
                47000
        [/if]
    [then]
        [target]
            `myself`    -1
        [equipment duration]
            600000
        [appendage]
            712
        [appendage]
            713
        [appendage]
            714
        [appendage]
            715
        [appendage]
            716
        [appendage]
            717
    [/then]
    [if]
        [attack success]
            1
    [/if]
    [then]
        [target]
            `enemy` -1
        [probability]
            100
        [add absolute damage]
            `all`
            `+` 1000000
    [/then]
    [if]
        [change status]
            `hp`
            `>`
            `%` 0
            `end`
    [/if]
    [then]
        [target]
            `myself`    -1
        [stat by condition]
            `physical attack`
            `%` 30
        [stat by condition]
            `magical attack`
            `%` 30
    [/then]
    [if]
        [attack success]
            1
    [/if]
    [then]
        [target]
            `enemy` -1
        [add absolute damage]
            `all`
            `%` 10
    [/then]
    [if]
        [change status]
            `hp`
            `>`
            `%` 0
            `end`
    [/if]
    [then]
        [target]
            `myself`    -1
        [stat by condition]
            `skill cool time`
            `%` -70
    [/then]
[t ability]

[icon mark]
    `item/iconmark.img` 0

[possible kiri protect]


学无止境社区免责声明
1 本社区名称:学无止境
2 永久网址: bbs.chaobaindnf.cn
3 本社区提供的一切软件、教程和内容信息仅限用于学习和研究目的;
4 不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。
5 本社区信息来自网络收集整理,版权争议与本站无关。
6 通过使用本站内容随之而来的风险与本站无关,您必须在下载后的24个小时之内,从您的电脑/手机中彻底删除上述内容。
7 本如果您喜欢该程序和内容,请支持正版,购买注册,得到更好的正版服务。
8 我们非常重视版权问题,如有侵权请与我们联系删除。敬请谅解!联系邮箱:849991827@qq.com或者QQ:849991827

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

投诉/建议联系

admin@chaobaindnf.cn

未经授权禁止转载,复制和建立镜像,
如有违反,追究法律责任
  • 加入Q群
  • 添加微信客服
Copyright © 2001-2024 学无止境技术分享 版权所有 All Rights Reserved. 皖ICP备2024057715号
Copyright 2024 bbs.chaobaindnf.cn 版权所有 作者:学无止境技术分享 皖ICP备2024057715号|皖ICP备2024057715号
关灯 在本版发帖
扫一扫添加微信客服
返回顶部
快速回复 返回顶部 返回列表