How can I find an actor's weapon type?

I am creating from scratch a Dungeons and Dragons core rules engine.  I have experience with Java and C++ but just learned Ruby recently.  I ran into an issue when calculating critical hit multipliers by weapon type.  There doesn''t appear to be a valid method that is capable of returning a weapon type.  The sole one I located in BattlerBase references "wtype_id" which doesn't exist.  There is an array constant containing types, but it's only for types an actor may equip.  It's important that critical hits be multiplied by the correct damage multiplier depending on the user's weapon.  How can I retrieve that information during Battler scripting processes?
Assuming you have a reference to a Game_Actor object

Code:
ACTOR.weapons.collect {|wep| wep.wtype_id }
This will return an array of weapon types corresponding to each weapon.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-find-an-actors-weapon-type.22452/