Getting battlers attack speed.

I want to know how can I put in a formula the battlers attack speed. (Like in agility we use a.agi, defense a.def, etc...)
What exactly do you mean with attack speed? Because the agitility is an enemy value as well.

And the turn order of actions depends on battler agility plus skill speed (and a bit randomness) and is only calculated before any action takes place.
Oh no, it`s not about turn order.
Theres a Trait in the Trait box called "attack speed", I know thats the number added with agi + random number to determine turn order.
So what im basically looking for is the "agi + attack/skill speed + random number" but I want to know if theres a way that I could use that number on a formula for example (just the attack speed itself)

English is hard, bare with me.
look into the functions makeActions, makeActionTimes, makeSpeed and actionPlusSet, in Game_Battler

actionPlusSet is an array of possible actions.
during each battler's turn, they get filled up with actual actions.
when the turn is processed, makeSpeed determines which battler and action goes first.

attack speed is not a parameter by itself, it depends on the current action.

Original thread: https://forums.rpgmakerweb.com/threads/getting-battlers-attack-speed.77360/