This commit is contained in:
QuincyAlter 2025-03-10 22:21:23 +08:00
commit 079e37506f
3 changed files with 18 additions and 50 deletions

View File

@ -452,6 +452,12 @@ var data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
"_type": "textarea", "_type": "textarea",
"_docs": "绿宝石值", "_docs": "绿宝石值",
}, },
"yellowGem": {
"_leaf": true,
"_type": "textarea",
"_docs": "黄宝石值",
},
"redPotion": { "redPotion": {
"_leaf": true, "_leaf": true,
"_type": "textarea", "_type": "textarea",

View File

@ -2115,8 +2115,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"lavaDamage": 100, "lavaDamage": 100,
"poisonDamage": 10, "poisonDamage": 10,
"weakValue": 20, "weakValue": 20,
"redGem": 3, "redGem": 2,
"blueGem": 3, "blueGem": 2,
"greenGem": 5, "greenGem": 5,
"redPotion": 100, "redPotion": 100,
"bluePotion": 250, "bluePotion": 250,

View File

@ -39,59 +39,21 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"greenGem": { "greenGem": {
"cls": "tools", "cls": "tools",
"name": "绿宝石", "name": "绿宝石",
"text": "护盾+${core.values.greenGem}", "text": "法强+${core.values.greenGem}",
"itemEffect": "core.status.hero.mdef += core.values.greenGem * core.status.thisMap.ratio", "itemEffect": "core.status.hero.spell += core.values.greenGem * core.status.thisMap.ratio",
"itemEffectTip": "护盾+${core.values.greenGem * core.status.thisMap.ratio}", "itemEffectTip": "法强+${core.values.greenGem * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.mdef += core.values.greenGem", "useItemEffect": "core.status.hero.spell += core.values.greenGem",
"canUseItemEffect": "true" "canUseItemEffect": "true"
}, },
"yellowGem": { "yellowGem": {
"cls": "items", "cls": "items",
"name": "黄宝石", "name": "黄宝石",
"text": "可以进行加点", "text": ",速度+${core.values.yellowGem}",
"itemEffect": "core.status.hero.hp+=1000;core.status.hero.atk+=6;core.status.hero.def+=6;core.status.hero.mdef+=10;", "itemEffect": "core.status.hero.speed += core.values.yellowGem * core.status.thisMap.ratio",
"itemEffectTip": ",全属性提升", "itemEffectTip": ",速度+${core.values.yellowGem * core.status.thisMap.ratio}",
"useItemEvent": [ "useItemEvent": null,
{ "canUseItemEffect": "true",
"type": "choices", "useItemEffect": "core.status.hero.spell += core.values.yellowGem"
"choices": [
{
"text": "攻击+1",
"action": [
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "防御+2",
"action": [
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "2"
}
]
},
{
"text": "生命+200",
"action": [
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "200"
}
]
}
]
}
],
"canUseItemEffect": "true"
}, },
"redPotion": { "redPotion": {
"cls": "items", "cls": "items",