Compare commits
No commits in common. "ed783309e20607d8b4ba1fb1fa9bcecc6b3b7bbb" and "fd1be5530c0361a7b0daccf5f24b9e5b11c36960" have entirely different histories.
ed783309e2
...
fd1be5530c
@ -452,12 +452,6 @@ var data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
|
||||
"_type": "textarea",
|
||||
"_docs": "绿宝石值",
|
||||
},
|
||||
"yellowGem": {
|
||||
"_leaf": true,
|
||||
"_type": "textarea",
|
||||
"_docs": "黄宝石值",
|
||||
},
|
||||
|
||||
"redPotion": {
|
||||
"_leaf": true,
|
||||
"_type": "textarea",
|
||||
|
@ -35,9 +35,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"guangchang3",
|
||||
"guangchang4",
|
||||
"guangchang6",
|
||||
"guangchang5",
|
||||
"jiaocheng01",
|
||||
"jiaocheng02"
|
||||
"guangchang5"
|
||||
],
|
||||
"floorPartitions": [],
|
||||
"images": [
|
||||
@ -460,7 +458,6 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"r.webp",
|
||||
"sound.webp",
|
||||
"status.webp",
|
||||
"statusBackground.webp",
|
||||
"suiji.webp",
|
||||
"tati_020101.webp",
|
||||
"tati_020101a.webp",
|
||||
@ -1522,8 +1519,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"title": "秽翼的尤斯蒂娅",
|
||||
"name": "Eustia",
|
||||
"version": "鸽子窝造塔小队",
|
||||
"floorId": "jiaocheng01",
|
||||
"floorId": "jiaocheng01",
|
||||
"floorId": "guangchang",
|
||||
"hero": {
|
||||
"image": "hero.webp",
|
||||
"animate": false,
|
||||
@ -1533,13 +1529,10 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"hp": 1000,
|
||||
"manamax": -1,
|
||||
"mana": 0,
|
||||
"atk": 30,
|
||||
"def": 20,
|
||||
"atk": 30,
|
||||
"def": 20,
|
||||
"atk": 10,
|
||||
"def": 10,
|
||||
"mdef": 100,
|
||||
"speed": 20,
|
||||
"speed": 20,
|
||||
"speed": 10,
|
||||
"money": 0,
|
||||
"exp": 0,
|
||||
"equipment": [],
|
||||
@ -1551,8 +1544,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"loc": {
|
||||
"direction": "up",
|
||||
"x": 6,
|
||||
"y": 12
|
||||
"y": 12
|
||||
"y": 10
|
||||
},
|
||||
"flags": {
|
||||
"itemDetail": true,
|
||||
@ -1563,10 +1555,9 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"followers": [],
|
||||
"steps": 0,
|
||||
"matk": 0,
|
||||
"spell": 10,
|
||||
"spell": 0,
|
||||
"spelldef": 0,
|
||||
"mhp": 100
|
||||
"mhp": 100
|
||||
"mhp": 0
|
||||
},
|
||||
"startCanvas": [
|
||||
{
|
||||
@ -1922,28 +1913,22 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
],
|
||||
"startText": [
|
||||
{
|
||||
"type": "if",
|
||||
"condition": "false",
|
||||
"true": [
|
||||
{
|
||||
"type": "setText"
|
||||
},
|
||||
{
|
||||
"type": "setHeroOpacity",
|
||||
"opacity": 0
|
||||
},
|
||||
{
|
||||
"type": "setCurtain",
|
||||
"color": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"time": 500,
|
||||
"keep": true
|
||||
}
|
||||
]
|
||||
"type": "setText"
|
||||
},
|
||||
{
|
||||
"type": "setHeroOpacity",
|
||||
"opacity": 0
|
||||
},
|
||||
{
|
||||
"type": "setCurtain",
|
||||
"color": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"time": 500,
|
||||
"keep": true
|
||||
},
|
||||
{
|
||||
"type": "function",
|
||||
@ -1958,14 +1943,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"name": "强制横屏"
|
||||
},
|
||||
{
|
||||
"type": "if",
|
||||
"condition": "false",
|
||||
"true": [
|
||||
{
|
||||
"type": "insert",
|
||||
"name": "chapter0"
|
||||
}
|
||||
]
|
||||
"type": "insert",
|
||||
"name": "chapter0"
|
||||
}
|
||||
],
|
||||
"shops": [
|
||||
@ -2134,14 +2113,13 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"lavaDamage": 100,
|
||||
"poisonDamage": 10,
|
||||
"weakValue": 20,
|
||||
"redGem": 2,
|
||||
"blueGem": 2,
|
||||
"redGem": 3,
|
||||
"blueGem": 3,
|
||||
"greenGem": 5,
|
||||
"redPotion": 100,
|
||||
"bluePotion": 250,
|
||||
"yellowPotion": 500,
|
||||
"greenPotion": 900,
|
||||
"greenPotion": 900,
|
||||
"greenPotion": 800,
|
||||
"breakArmor": 0.9,
|
||||
"counterAttack": 0.1,
|
||||
"purify": 3,
|
||||
@ -2149,10 +2127,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"animateSpeed": 300,
|
||||
"moveSpeed": 100,
|
||||
"statusCanvasRowsOnMobile": 3,
|
||||
"floorChangeTime": 500,
|
||||
"yellowGem": 2
|
||||
"floorChangeTime": 500,
|
||||
"yellowGem": 2
|
||||
"floorChangeTime": 500
|
||||
},
|
||||
"flags": {
|
||||
"statusBarItems": [
|
||||
|
@ -3,7 +3,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
|
||||
"greenSlime": {"name":"绿头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
|
||||
"redSlime": {"name":"红头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"value":10,"mdef":0,"spell":0,"speed":1},
|
||||
"blackSlime": {"name":"青头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
|
||||
"slimelord": {"name":"怪王","hp":790,"atk":48,"def":8,"money":10,"exp":0,"point":0,"special":[],"mdef":0,"spell":0,"speed":20},
|
||||
"slimelord": {"name":"怪王","hp":100,"atk":120,"def":0,"money":10,"exp":0,"point":0,"special":[1,9],"mdef":0,"spell":0,"speed":1},
|
||||
"bat": {"name":"小蝙蝠","hp":100,"atk":50,"def":30,"money":2,"exp":0,"point":0,"special":[1],"mdef":0,"speed":15,"spell":0},
|
||||
"bigBat": {"name":"大蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
|
||||
"redBat": {"name":"红蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"mdef":0,"spell":0,"speed":1},
|
||||
@ -14,8 +14,8 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
|
||||
"zombieKnight": {"name":"兽人武士","hp":10000,"atk":100,"def":100,"money":0,"exp":0,"point":0,"special":[22],"speed":10,"mdef":0,"damage2":20,"spell":0},
|
||||
"rock": {"name":"石头人","hp":50,"atk":50,"def":0,"money":3,"exp":0,"point":0,"special":3,"damage2":15,"mdef":0,"spell":0,"speed":1},
|
||||
"bluePriest": {"name":"初级法师","hp":100,"atk":120,"def":0,"money":3,"exp":0,"point":1,"special":[9],"mdef":0,"spell":0,"speed":1},
|
||||
"redPriest": {"name":"高级法师","hp":162,"atk":0,"def":1,"money":0,"exp":0,"point":0,"special":[1],"mdef":0,"spell":308,"speed":14},
|
||||
"brownWizard": {"name":"初级巫师","hp":162,"atk":120,"def":1,"money":16,"exp":0,"point":0,"special":[],"value":null,"range":2,"mdef":0,"spell":66,"speed":14},
|
||||
"redPriest": {"name":"高级法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
|
||||
"brownWizard": {"name":"初级巫师","hp":100,"atk":120,"def":0,"money":16,"exp":0,"point":0,"special":15,"value":100,"range":2,"mdef":0,"spell":0,"speed":1},
|
||||
"redWizard": {"name":"高级巫师","hp":1000,"atk":1200,"def":0,"money":160,"exp":0,"point":0,"special":15,"value":200,"zoneSquare":true,"mdef":0,"spell":0,"speed":1},
|
||||
"swordsman": {"name":"双手剑士","hp":100,"atk":120,"def":0,"money":6,"exp":3,"point":0,"special":4,"mdef":0,"spell":0,"speed":1},
|
||||
"soldier": {"name":"冥战士","hp":120,"atk":50,"def":8,"money":10,"exp":7,"point":0,"special":0,"mdef":0,"spell":0,"speed":8},
|
||||
@ -53,9 +53,9 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
|
||||
"devilWarrior": {"name":"魔神武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
|
||||
"fairyEnemy": {"name":"仙子","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
|
||||
"dragon": {"name":"魔龙","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"bigImage":null,"mdef":0,"spell":0,"speed":1},
|
||||
"skeletonKnight": {"name":"骷髅武士","hp":330,"atk":113,"def":2,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":20},
|
||||
"skeletonKnight": {"name":"骷髅武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
|
||||
"skeletonPresbyter": {"name":"骷髅巫师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
|
||||
"ironRock": {"name":"铁面人","hp":111,"atk":97,"def":37,"money":0,"exp":0,"point":0,"special":[3],"mdef":0,"spell":0,"speed":14},
|
||||
"ironRock": {"name":"铁面人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
|
||||
"grayRock": {"name":"灰色石头人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
|
||||
"yellowPriest": {"name":"中级法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
|
||||
"evilPrincess": {"name":"痛苦魔女","hp":1000,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[10],"mdef":0,"spell":0,"speed":1},
|
||||
|
@ -1,77 +0,0 @@
|
||||
main.floors.jiaocheng01=
|
||||
{
|
||||
"floorId": "jiaocheng01",
|
||||
"title": "广场",
|
||||
"name": "1",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "X90078",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"0,11": [
|
||||
"宝石介绍:攻防法速\n加点量:2/2/5/2"
|
||||
],
|
||||
"12,11": [
|
||||
"血瓶介绍:不同大小"
|
||||
]
|
||||
},
|
||||
"changeFloor": {
|
||||
"6,0": {
|
||||
"floorId": "jiaocheng02",
|
||||
"loc": [
|
||||
6,
|
||||
12
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {
|
||||
"6,9": [
|
||||
"\t[黄钥匙,yellowKey]可以打开一扇黄门,使用后会消失"
|
||||
]
|
||||
},
|
||||
"afterOpenDoor": {
|
||||
"8,10": [
|
||||
"\t[黄门,yellowDoor]消耗一把黄钥匙"
|
||||
]
|
||||
},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 1, 1, 1, 1, 1, 1, 91, 1, 1, 1, 1, 1, 1],
|
||||
[ 1, 22, 0, 1, 22, 1, 0, 1, 0, 0, 23, 22, 1],
|
||||
[ 1, 21, 0, 1, 81, 1, 84, 1, 83, 1, 1, 1, 1],
|
||||
[ 1, 82, 1, 1, 0, 0, 0, 81, 0, 83, 0, 24, 1],
|
||||
[ 1, 0, 0, 82, 0, 1, 81, 1, 82, 1, 1, 1, 1],
|
||||
[ 1, 21, 1, 1, 0, 1, 22, 1, 0, 0, 21, 23, 1],
|
||||
[ 1, 1, 1, 1, 83, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||
[ 27, 0, 28, 1, 0, 0, 82, 0, 22, 1, 31, 0, 32],
|
||||
[ 0, 0, 0, 1, 21, 1, 1, 1, 0, 1, 0, 0, 0],
|
||||
[ 29, 0, 30, 1, 23, 1, 21, 1, 0, 1, 34, 0, 33],
|
||||
[ 1, 1, 1, 1, 1, 1, 0, 1, 81, 1, 1, 1, 1],
|
||||
[129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,129],
|
||||
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1]
|
||||
],
|
||||
"areas": "牢狱",
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
main.floors.jiaocheng02=
|
||||
{
|
||||
"floorId": "jiaocheng02",
|
||||
"title": "广场",
|
||||
"name": "1",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "X90078",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"5,11": [
|
||||
"教程初始属性:\n1000HP,30攻击,20防御,20速度,10法强(*100%=10护盾)\n绿血瓶此处900,红血瓶100"
|
||||
],
|
||||
"0,0": [
|
||||
"匕首:速度+20"
|
||||
],
|
||||
"12,0": [
|
||||
"法杖:魔攻比例10%,魔防比例0%"
|
||||
]
|
||||
},
|
||||
"changeFloor": {
|
||||
"6,12": {
|
||||
"floorId": "jiaocheng01",
|
||||
"loc": [
|
||||
6,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[129, 1, 27, 1, 28, 1, 91, 1, 29, 1, 30, 1,129],
|
||||
[ 70, 1, 82, 1, 82, 1,236, 1, 82, 1, 82, 1,375],
|
||||
[ 0, 83, 0, 29, 0, 33, 0, 31, 0, 23, 0, 83, 0],
|
||||
[ 1, 1, 1, 1, 1, 1,219, 1, 1, 1, 1, 1, 1],
|
||||
[ 0, 22, 0, 31, 0, 31, 0, 1, 27, 1, 30, 1, 30],
|
||||
[ 81, 1, 81, 1, 81, 1, 22, 1, 27, 1, 30, 1, 27],
|
||||
[ 29, 1, 31, 1, 31, 1,218, 1, 82, 1, 82, 1, 82],
|
||||
[ 28, 1, 28, 1, 29, 1, 0, 81, 0, 33, 0, 21, 0],
|
||||
[ 1, 1, 1, 1, 1, 1,240, 1, 1, 1, 1, 1, 1],
|
||||
[ 0, 33, 0, 21, 0, 29, 0, 1, 27, 1, 28, 1, 31],
|
||||
[ 83, 1, 83, 1, 83, 1,204, 1, 81, 1, 81, 1, 81],
|
||||
[ 28, 1, 30, 1, 27,129, 0,204, 0, 33, 0, 23, 0],
|
||||
[ 1, 1, 1, 1, 1, 1, 93, 1, 1, 1, 1, 1, 1]
|
||||
],
|
||||
"areas": "牢狱",
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
@ -308,12 +308,14 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
}
|
||||
// 获得战斗伤害信息
|
||||
var damageInfo = core.getDamageInfo(enemyId, null, x, y) || {};
|
||||
|
||||
if (!core.getFlag("noAnimate")) await core.attackAnimate(
|
||||
enemyId,
|
||||
damageInfo.start[0],
|
||||
damageInfo.start[1],
|
||||
damageInfo.start[2],
|
||||
damageInfo.start[3],
|
||||
damageInfo.start[4],
|
||||
damageInfo.heroDiffList,
|
||||
damageInfo.enemyDiffList,
|
||||
damageInfo.heroanimateList,
|
||||
@ -790,6 +792,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
}
|
||||
|
||||
var guards = [];
|
||||
|
||||
// 光环和支援检查
|
||||
if (!core.status.checkBlock) core.status.checkBlock = {};
|
||||
|
||||
@ -1044,7 +1047,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
enemyinfo.now = oneTurn
|
||||
enemyinfo.onAttack = true
|
||||
}
|
||||
const start = [core.clone(heroinfo), core.clone(enemyinfo), core.clone(equipInfo), oneTurn] //记录开始战斗时的属性并转发
|
||||
const start = [core.clone(heroinfo), core.clone(enemyinfo), core.clone(equipInfo), oneTurn, onegcd] //记录开始战斗时的属性并转发
|
||||
//---第三部分:递归开始---
|
||||
|
||||
const heroDiffList = [],
|
||||
@ -1061,6 +1064,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
enemy_diff = {},
|
||||
hero_animate = [],
|
||||
enemy_animate = [];
|
||||
|
||||
if (enemyinfo.onAttack) { //怪物先攻的场合
|
||||
//这里计算怪物攻击时发生的各种变化,同时计入enemy_diff
|
||||
let mon_damage = 0
|
||||
@ -1093,7 +1097,6 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
enemyinfo.onAttack = false
|
||||
enemyinfo.now = 0
|
||||
onattack = true
|
||||
|
||||
}
|
||||
equipInfo.forEach(v => {
|
||||
if (v.onAttack) {
|
||||
@ -1201,26 +1204,25 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
}
|
||||
|
||||
})
|
||||
if (onattack) {
|
||||
//处理完毕后的数据处理
|
||||
heroDiffList.push(hero_diff)
|
||||
enemyDiffList.push(enemy_diff)
|
||||
heroanimateList.push(hero_animate)
|
||||
enemyanimateList.push(enemy_animate)
|
||||
//处理属性变化
|
||||
for (let v in hero_diff) {
|
||||
heroinfo[v] += hero_diff[v]
|
||||
}
|
||||
for (let v in enemy_diff) {
|
||||
enemyinfo[v] += enemy_diff[v]
|
||||
}
|
||||
|
||||
//出手50回合怪物生命未降低直接判负,避免死循环
|
||||
if (hero_turn === 50) {
|
||||
//处理完毕后的数据处理
|
||||
heroDiffList.push(hero_diff)
|
||||
enemyDiffList.push(enemy_diff)
|
||||
heroanimateList.push(hero_animate)
|
||||
enemyanimateList.push(enemy_animate)
|
||||
//处理属性变化
|
||||
for (let v in hero_diff) {
|
||||
heroinfo[v] += hero_diff[v]
|
||||
}
|
||||
for (let v in enemy_diff) {
|
||||
enemyinfo[v] += enemy_diff[v]
|
||||
}
|
||||
|
||||
if (enemyinfo.hp >= beforehp) {
|
||||
return null
|
||||
}
|
||||
//出手50回合怪物生命未降低直接判负,避免死循环
|
||||
if (hero_turn === 50) {
|
||||
|
||||
if (enemyinfo.hp >= beforehp) {
|
||||
return null
|
||||
}
|
||||
}
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 5.8 KiB |
@ -37,23 +37,61 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
"canUseItemEffect": "true"
|
||||
},
|
||||
"greenGem": {
|
||||
"cls": "items",
|
||||
"cls": "tools",
|
||||
"name": "绿宝石",
|
||||
"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",
|
||||
"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",
|
||||
"canUseItemEffect": "true"
|
||||
},
|
||||
"yellowGem": {
|
||||
"cls": "items",
|
||||
"name": "黄宝石",
|
||||
"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"
|
||||
"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"
|
||||
},
|
||||
"redPotion": {
|
||||
"cls": "items",
|
||||
@ -92,20 +130,18 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
"canUseItemEffect": "true"
|
||||
},
|
||||
"sword0": {
|
||||
"cls": "equips",
|
||||
"cls": "items",
|
||||
"name": "破旧的剑",
|
||||
"text": "一把已经生锈的剑",
|
||||
"equip": {
|
||||
"type": 0,
|
||||
"animate": "sword",
|
||||
"value": {
|
||||
"speed": 20
|
||||
},
|
||||
"percentage": {}
|
||||
"atk": 0
|
||||
}
|
||||
},
|
||||
"itemEffect": "core.status.hero.atk += 0",
|
||||
"itemEffectTip": ",攻击+0",
|
||||
"equipCls": "匕首"
|
||||
"itemEffectTip": ",攻击+0"
|
||||
},
|
||||
"sword1": {
|
||||
"cls": "equips",
|
||||
@ -559,15 +595,9 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
"canUseItemEffect": "true"
|
||||
},
|
||||
"I375": {
|
||||
"cls": "equips",
|
||||
"cls": "items",
|
||||
"name": "新物品",
|
||||
"canUseItemEffect": "true",
|
||||
"equipCls": "法杖",
|
||||
"equip": {
|
||||
"type": 0,
|
||||
"value": {},
|
||||
"percentage": {}
|
||||
}
|
||||
"canUseItemEffect": "true"
|
||||
},
|
||||
"I396": {
|
||||
"cls": "items",
|
||||
|
1038
project/plugins.js
1038
project/plugins.js
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user