移除回放动画,增加即死动画

This commit is contained in:
草莓 2025-03-13 11:38:18 +08:00
parent d7b49eb037
commit 8c586f70b0
5 changed files with 264 additions and 268 deletions

View File

@ -1523,7 +1523,6 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"name": "Eustia", "name": "Eustia",
"version": "鸽子窝造塔小队", "version": "鸽子窝造塔小队",
"floorId": "jiaocheng01", "floorId": "jiaocheng01",
"floorId": "jiaocheng01",
"hero": { "hero": {
"image": "hero.webp", "image": "hero.webp",
"animate": false, "animate": false,
@ -1535,11 +1534,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"mana": 0, "mana": 0,
"atk": 30, "atk": 30,
"def": 20, "def": 20,
"atk": 30,
"def": 20,
"mdef": 100, "mdef": 100,
"speed": 20, "speed": 20,
"speed": 20,
"money": 0, "money": 0,
"exp": 0, "exp": 0,
"equipment": [], "equipment": [],
@ -1562,7 +1558,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"followers": [], "followers": [],
"steps": 0, "steps": 0,
"matk": 0, "matk": 0,
"spell": 10, "spell": 20,
"spelldef": 0, "spelldef": 0,
"mhp": 100 "mhp": 100
}, },
@ -2139,7 +2135,6 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"bluePotion": 250, "bluePotion": 250,
"yellowPotion": 500, "yellowPotion": 500,
"greenPotion": 900, "greenPotion": 900,
"greenPotion": 900,
"breakArmor": 0.9, "breakArmor": 0.9,
"counterAttack": 0.1, "counterAttack": 0.1,
"purify": 3, "purify": 3,

View File

@ -16,7 +16,7 @@ main.floors.jiaocheng02=
"parallelDo": "", "parallelDo": "",
"events": { "events": {
"5,11": [ "5,11": [
"教程初始属性:\n1000HP30攻击20防御20速度10法强*100%=10护盾\n绿血瓶此处900红血瓶100" "教程初始属性:\n1000HP30攻击20防御20速度20法强*100%=20护盾\n绿血瓶此处900红血瓶100"
], ],
"0,0": [ "0,0": [
"匕首:速度+20" "匕首:速度+20"

View File

@ -308,7 +308,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
} }
// 获得战斗伤害信息 // 获得战斗伤害信息
var damageInfo = core.getDamageInfo(enemyId, null, x, y) || {}; var damageInfo = core.getDamageInfo(enemyId, null, x, y) || {};
if (!core.getFlag("noAnimate")) await core.attackAnimate( if ((!core.getFlag("noAnimate") || damageInfo.damage >= core.status.hero.hp) && (!main.replayChecking && !core.isReplaying())) await core.attackAnimate(
enemyId, enemyId,
damageInfo.start[0], damageInfo.start[0],
damageInfo.start[1], damageInfo.start[1],

View File

@ -93,7 +93,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
}, },
"sword0": { "sword0": {
"cls": "equips", "cls": "equips",
"name": "破旧的剑", "name": "基础匕首",
"text": "一把已经生锈的剑", "text": "一把已经生锈的剑",
"equip": { "equip": {
"type": 0, "type": 0,
@ -560,12 +560,15 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
}, },
"I375": { "I375": {
"cls": "equips", "cls": "equips",
"name": "新物品", "name": "基础法杖",
"canUseItemEffect": "true", "canUseItemEffect": "true",
"equipCls": "法杖", "equipCls": "法杖",
"equip": { "equip": {
"type": 0, "type": 0,
"value": {}, "value": {
"matk": 10,
"mhp": -100
},
"percentage": {} "percentage": {}
} }
}, },

View File

@ -113,8 +113,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
data.image, data.image,
data.memory, data.memory,
data.hidetime || 30, data.hidetime || 30,
data.list || [ data.list || [{
{
text: "", text: "",
sound: "", sound: "",
time: 50, time: 50,
@ -122,8 +121,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
boldColor: "#000000", boldColor: "#000000",
font: "bold 48px Verdana", font: "bold 48px Verdana",
frame: 0, frame: 0,
}, }, ]
]
); );
} else { } else {
core.doAction(); core.doAction();
@ -204,16 +202,16 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
core.ui.cgText.head = core.clone(data.head); core.ui.cgText.head = core.clone(data.head);
core.ui.cgText.index = data.index; core.ui.cgText.index = data.index;
core.ui.cgText.name = core.ui.cgText.textList[data.index][0]; core.ui.cgText.name = core.ui.cgText.textList[data.index][0];
core.ui.cgText.text = data.text core.ui.cgText.text = data.text ?
? data.text data.text :
: core.ui.cgText.textList[data.index][1]; core.ui.cgText.textList[data.index][1];
core.ui.cgText.time = data.time; core.ui.cgText.time = data.time;
core.ui.cgText.wait = data.wait; core.ui.cgText.wait = data.wait;
core.ui.cgText.WindowSkin = data.WindowSkin; core.ui.cgText.WindowSkin = data.WindowSkin;
core.ui.cgText.sound = core.ui.cgText.sound =
data.sound === "" data.sound === "" ?
? data.sound data.sound :
: core.ui.cgText.textList[data.index][2] || ""; core.ui.cgText.textList[data.index][2] || "";
core.ui.cgText.bodyList = core.clone(data.bodyList); core.ui.cgText.bodyList = core.clone(data.bodyList);
main.dom.cgText.style.display = "block"; main.dom.cgText.style.display = "block";
core.ui.cgText.update(); core.ui.cgText.update();