速度宝石

This commit is contained in:
草莓 2025-03-10 22:18:51 +08:00
parent cb2a2791b6
commit 171f0b5d1f
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",
"_docs": "绿宝石值",
},
"yellowGem": {
"_leaf": true,
"_type": "textarea",
"_docs": "黄宝石值",
},
"redPotion": {
"_leaf": true,
"_type": "textarea",

View File

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

View File

@ -39,59 +39,21 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"greenGem": {
"cls": "tools",
"name": "绿宝石",
"text": "护盾+${core.values.greenGem}",
"itemEffect": "core.status.hero.mdef += core.values.greenGem * core.status.thisMap.ratio",
"itemEffectTip": "护盾+${core.values.greenGem * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.mdef += core.values.greenGem",
"text": "法强+${core.values.greenGem}",
"itemEffect": "core.status.hero.spell += core.values.greenGem * core.status.thisMap.ratio",
"itemEffectTip": "法强+${core.values.greenGem * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.spell += core.values.greenGem",
"canUseItemEffect": "true"
},
"yellowGem": {
"cls": "items",
"name": "黄宝石",
"text": "可以进行加点",
"itemEffect": "core.status.hero.hp+=1000;core.status.hero.atk+=6;core.status.hero.def+=6;core.status.hero.mdef+=10;",
"itemEffectTip": ",全属性提升",
"useItemEvent": [
{
"type": "choices",
"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"
"text": ",速度+${core.values.yellowGem}",
"itemEffect": "core.status.hero.speed += core.values.yellowGem * core.status.thisMap.ratio",
"itemEffectTip": ",速度+${core.values.yellowGem * core.status.thisMap.ratio}",
"useItemEvent": null,
"canUseItemEffect": "true",
"useItemEffect": "core.status.hero.spell += core.values.yellowGem"
},
"redPotion": {
"cls": "items",