#first delay
1 messages · Page 1 of 1 (latest)
slot1 = nil
if ((slot0._seniorCounter ~= 0 or slot0._barrageTemp.first_delay) and slot0._barrageTemp.senior_delay) > 0 then
slot0._timerList[uv0.TimeMgr.GetInstance():AddBattleTimer("spawnBullet", -1, slot1, slot0.timerCb, true)] = slot0.DelaySeniorFunc
else
slot0:PrimalIteration()
end```
does first delay even work when senior delay is 0
ors and ands can't be trusted in the lua files
What other ship skill has senior delay 0 and different first delay between bullets
Uhh Kaga BB? Also Guichen AoA
Yeah I think this should be
if ((slot0._seniorCounter == 0 and slot0._barrageTemp.first_delay) or slot0._barrageTemp.senior_delay) > 0 then
slot0._timerList[uv0.TimeMgr.GetInstance():AddBattleTimer("spawnBullet", -1, slot1, slot0.timerCb, true)] = slot0.DelaySeniorFunc
else
slot0:PrimalIteration()
end
It's like this for a lot of these logic chains for some reason, they all make no sense until you invert all the ands and ors and put in some nots too
Guichen AoA is a pretty good example where it's rather clear that first delay does something even when senior delay is 0