台服dnf吧 关注:125,145贴子:2,083,395
  • 0回复贴,共1

【求助】为什么这个GetLevelData会Get不到啊!

只看楼主收藏回复

为什么这个BurstMana的计算结果会是1啊,28号技能编号没错,1列动态数据没错,为什么啊
function onKeyFrameFlag_atmage_elementalfield(B74PVUwp1h, Wp5xWEER1lYn77EGo1qZc1yH)
{
if(!B74PVUwp1h) return;
local Pu4_oeBhaVMEmOM5 = B74PVUwp1h.getSkillSubState();
switch(Pu4_oeBhaVMEmOM5)
{
case 0:
switch(Wp5xWEER1lYn77EGo1qZc1yH)
{
case 1:
if(B74PVUwp1h.sq_IsMyControlObject())
sq_flashScreen(B74PVUwp1h, 100, 250, 0, 127, sq_RGB(0, 0, 0), GRAPHICEFFECT_NONE, ENUM_DRAWLAYER_BOTTOM);
break;
case 2:
sq_SetMyShake(B74PVUwp1h, 3, 160);
if(B74PVUwp1h.sq_IsMyControlObject())
{
local BurstMana = (100 + B74PVUwp1h.sq_GetLevelData(28, 3, sq_GetSkillLevel(B74PVUwp1h, 28) ) ) / 100;
local BmumNWaLZiLblx4u3Vd = B74PVUwp1h.sq_GetIntData(243, 0);
local UAuP9GeRePaeGL5UmK = BmumNWaLZiLblx4u3Vd/400.0;
local OA8hC4ZLkCdvFEb1epnj = sq_GetSkillLevel(B74PVUwp1h, 243);
local bonusRate = B74PVUwp1h.sq_GetBonusRateWithPassive(243, 243, 2, 1.0) * BurstMana;
B74PVUwp1h.sq_StartWrite();
B74PVUwp1h.sq_WriteDword(243);
B74PVUwp1h.sq_WriteDword(1);
B74PVUwp1h.sq_WriteDword(bonusRate);
B74PVUwp1h.sq_WriteFloat(UAuP9GeRePaeGL5UmK);
B74PVUwp1h.sq_WriteDword(B74PVUwp1h.sq_GetLevelData(243, 0, OA8hC4ZLkCdvFEb1epnj));
B74PVUwp1h.sq_SendCreatePassiveObjectPacket(24379, 0, 0, 0, 0);
B74PVUwp1h.sq_StartWrite();
B74PVUwp1h.sq_WriteWord(1);
sq_SendChangeSkillEffectPacket(B74PVUwp1h, 243);
}
break;
}
break;
}
return true;
} ;


IP属地:广东1楼2025-12-29 11:10回复