#Reload calc

1 messages ยท Page 1 of 1 (latest)

warm scroll
#

I'll make a thread to no longer clog the channel with this

#

I gotta eat now tho

waxen wasp
vale fjord
warm scroll
#

Man I hope renhex hasn't been typing since I left

waxen wasp
#

ok i found it
at the very least i understand how it works for kaza partially

#

i was typing since u left coz i forgot to send lol

warm scroll
#

Or rather I would understand if it always jumped

#

But non jump on Hood while jump on Kaza makes no sense to me

waxen wasp
#

kaza is BattleSkillManualWeaponReloadBoost
what is hood ?

warm scroll
#

AddAttrRatio

#

with attr: loadSpeed

#

But the buff itself doesn't rly do anything other than update the reload stat of the ship

waxen wasp
#

hmm i see

warm scroll
#

So bruh why can't you reply to the first message in a thread?

waxen wasp
#

lol

#

airstrikes are battleallinstrike
and mg are battleweaponunit ?

warm scroll
#

Hmm

#

They're battlepointhitweaponunit

waxen wasp
#

oh weaponunit is the interface

warm scroll
#

Idk if that's the proper name but yes

waxen wasp
#

well base class or w.e

warm scroll
#

Ye

#

So basically the thing that ends up in a call to RefreshReloadingCall is FlushReloadRequire

waxen wasp
#

i can see kazas skill appendingreloadboost but when does hoods happen

warm scroll
#

(Which is from FlushWeaponReloadRequire which is from FlushReloadingWeapon which is called in AddAttr)

waxen wasp
warm scroll
#

So tbh I'd think they should either both jump or neither

waxen wasp
warm scroll
waxen wasp
#

yea

warm scroll
#

As AddAttrRatio inherits from AddAttr

#

Well whatever, ig I can just use the logic and it should work for the final reload times

#

I'll just assume Hood jumps

waxen wasp
#

time to lvl my hoods skill

warm scroll
#

I mean Howe works too

waxen wasp
#

oh ye

hollow lodge
warm scroll
#

Alright time to note the general timetable (first for BB guns)
At first there is the start of the battle which so far I have happily neglected cuz it's kinda cursed (I think, anyway, largely tried to ignore it). Let's just say it's a 1.5s delay for now. (Is 1.5s a good value?)
During this time all the queues get set up and all the weapons get added in a specific order that is important and I have yet to work out. Anyway main fleet weapons are added together with the ships in order flag>top>bot
Yeah ok so everything except preloads gets added to overheatqueue
Then the entries from the overheatqueue are taken and put into the cooldownqueue, but only as many as the ship can reload in parallel
During this step the initial cd is added, based purely on the weapon, not any preloads of the ship
Adding initial cd also triggers overheat state if not a preloaded (vg) weapon
The rest is sent into overheat state and queue

warm scroll
#

These different queue handlers are killing me, there's playerweaponvo with weaponList, readyList, overHeatList and chargingList and manualweaponqueue with weaponList, overheatList and cooldownList and somehow they're the same but at the same time they're not

waxen wasp
waxen wasp
#

ill have to start from the beginning to make sense

#

once COMMON_DATA_INIT_FINISH event fires battle starts right ?

hollow lodge
waxen wasp
#

wdym F MutsukiHyperStare

hollow lodge
#

i recommend not starting from the beginning because you don't know if the beginning is really the beginning

waxen wasp
#

since theres a queue there must be event handlers for firing and what not

#

and to get to event handlers how else but from battle handler

hollow lodge
#

i don't know what the goal is anyways ๐Ÿƒโ€โ™‚๏ธ

#

but battlestate.lua may be helpful

warm scroll
#

Yeah the beginning is like really annoying, but yeah the main overhead is battlestate/facade
Everyone I knoe that tried to get agrasp of the entire beginning gave up tho

#

Battledataproxy is also quite important

warm scroll
#

And then add skills into the mix