- UID
- 31551294
- 主题
- 0
- 阅读权限
- 20
- 帖子
- 20
- 精华
- 0
- 积分
- 10
- 金钱
- 99
- 荣誉
- 0
- 人气
- 0
- 在线时间
- 34 小时
- 评议
- 0
- 帖子
- 20
- 精华
- 0
- 积分
- 10
- 金钱
- 99
- 荣誉
- 0
- 人气
- 0
- 评议
- 0
|
diwuzhang2 发表于 2023-6-21 23:41 
我试了,还是不好使我的版本是1.0.26457
哥们你能把你修改的发给我吗?我看看是怎么修改的
...
我前天才买的游戏阿,也不是很会啊。。。注意看紫色标注
版主教程图
"id": "Punch",
"name": "Coup de poing",
"desc": "Inflige [DMG] à la cible.",
"mode": 0,
"range": {},
"props": {
"useWithoutWeapon": true,
"temporaryUsage": true,
"specialAnim": "Punch",
"dmgAttribute": 0,
"isAttack": true, ⬅新版这里没有逗号 你要加一下。
"defaultAction": true, ⬅这一句新版没有了,请无视。 (其他的按版主教程图正常修改就行)
"vars": {
"allowed": true
}
},
"script": "function onPostSkill() {\n\tfor( t in skill.getTargets() ) {\n\t\tif( t.target.isAlive() ) {\n\t\t\tvar p = 100 * (t.target.health / t.target.stats.health);\n\t\t\tif( p <= 10 ) {\n\t\t\t\tcaptureTarget(t);\n\t\t\t}\n\t\t}\n\t}\n}",
"notes": "",
"icon": {
"file": "ui/Icons/BattleIcons96PX.png",
"size": 96,
"x": 13,
"y": 1
},
"minDmg": 3,
"maxDmg": 5,
"iconeDone": true,
"group": 3,
"done": 2
},
|
|