茶服加密更新

This commit is contained in:
2025-12-23 14:19:04 +08:00
parent 326149ba8d
commit 3afd68ea59
4 changed files with 15 additions and 8 deletions

View File

@@ -465,7 +465,7 @@ function setCustomData_po_summoners(obj, receiveData)
case 1:
//?嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭
local totalDamage = receiveData.readDword();
sq_SetCurrentAttackInfo(obj, sq_GetCustomAttackInfo(obj, 26));
sq_SetCurrentAttackInfo(obj, sq_GetCustomAttackInfo(obj, 27));
sq_SetCurrentAttackBonusRate(sq_GetCurrentAttackInfo(obj), totalDamage);
//?嚙踝蕭ANI
local ani = sq_CreateAnimation("","passiveobject/madeby_k_k/animation/spikeking/attack.ani");
@@ -474,7 +474,7 @@ function setCustomData_po_summoners(obj, receiveData)
case 2:
//?嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭
local totalDamage = receiveData.readDword();
sq_SetCurrentAttackInfo(obj, sq_GetCustomAttackInfo(obj, 29));
sq_SetCurrentAttackInfo(obj, sq_GetCustomAttackInfo(obj, 30));
sq_SetCurrentAttackBonusRate(sq_GetCurrentAttackInfo(obj), totalDamage);
//?嚙踝蕭ANI
local ani = sq_CreateAnimation("","passiveobject/madeby_k_k/animation/spikeking/grandwave1.ani");
@@ -495,7 +495,7 @@ function setCustomData_po_summoners(obj, receiveData)
case 5:
//?嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭
local totalDamage = receiveData.readDword();
sq_SetCurrentAttackInfo(obj, sq_GetCustomAttackInfo(obj, 30));
sq_SetCurrentAttackInfo(obj, sq_GetCustomAttackInfo(obj, 31));
sq_SetCurrentAttackBonusRate(sq_GetCurrentAttackInfo(obj), totalDamage);
//?嚙踝蕭ANI
local ani = sq_CreateAnimation("","passiveobject/madeby_k_k/animation/spikeking/dummy2.ani");
@@ -543,14 +543,14 @@ function setCustomData_po_summoners(obj, receiveData)
//?嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭
local eclipsehive_bonus = sqrChr.getVar("eclipsehive_bonus").getInt(10).tofloat() / 100.0;
local totalDamage = sq_GetBonusRateWithPassive(sqrChr, 47, 47, 11, eclipsehive_bonus) + 100;
sq_SetCurrentAttackInfo(obj, sq_GetCustomAttackInfo(obj, 28));
sq_SetCurrentAttackInfo(obj, sq_GetCustomAttackInfo(obj, 29));
sq_SetCurrentAttackBonusRate(sq_GetCurrentAttackInfo(obj), totalDamage);
obj.addSetStatePacket(20, null, STATE_PRIORITY_AUTO, false, "");
break;
case 51:
//?嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭
local totalDamage = receiveData.readDword();
sq_SetCurrentAttackInfo(obj, sq_GetCustomAttackInfo(obj, 30));
sq_SetCurrentAttackInfo(obj, sq_GetCustomAttackInfo(obj, 31));
sq_SetCurrentAttackBonusRate(sq_GetCurrentAttackInfo(obj), totalDamage);
//?嚙踝蕭ANI
local ani = sq_CreateAnimation("","passiveobject/madeby_k_k/animation/spikeking/newlaser/uhdlaserbombmagicsquare.ani");