From 2348e3da1ee409878dae0f29c09731d20d89fc4c Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Mon, 18 Dec 2017 15:13:39 +0800 Subject: [PATCH] Fix data.js item --- libs/data.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/data.js b/libs/data.js index 7916671f..f298e063 100644 --- a/libs/data.js +++ b/libs/data.js @@ -56,11 +56,11 @@ data.prototype.init = function() { {"text": "攻击+4", "effect": "status:atk+=4"}, {"text": "防御+4", "effect": "status:def+=4"}, {"text": "魔防+10", "effect": "status:mdef+=10"} - // effect只能对status和items进行操作,不能修改flag值。 + // effect只能对status和item进行操作,不能修改flag值。 // 中间只能用+=符号(也就是只能增加某个属性或道具) // 其他effect样例: - // "items:yellowKey+=1" 黄钥匙+1 - // "items:pickaxe+=3" 破墙镐+3 + // "item:yellowKey+=1" 黄钥匙+1 + // "item:pickaxe+=3" 破墙镐+3 ] }, "expShop1": { // 商店唯一ID