Thanks again, Kerberus.
I finally got around to doing some more work tonight and basically just had to copy and paste what you provided me with plus a few variable changes per weapon type and all that. Seems to work fine. I have to rework the final hit message a little though, I think I might need to incorporate a third message to account for what a witness would see once i add some of the verbose attacks. That's just a variable away though.
Since I'm new at C, I'm still not precisely sure what MSL is...but what it does is apparent. The ability to use a switch like that in the code is fantastic and could allow me to come up with some really awesome combat messages "on the fly".
I was wondering about the weapon types though. When I did an oset weapontype, it only displayed
none, lightsaber, vibro-blade, blaster, force pike, bowcaster, bludgeon, dualsaber
but in the code there is also "talonous arms" and "flexible arms" listed in the weapon procifiency bonus check which I used to check for the types originally.
Is there anything that incorporates those weapon types or is it limited to unarmed mobs? Would I need to to use something along the lines of wield->value == WEAPON_TALONOUS_ARMS to check for it? I searched around in some of the code and couldn't find much of anything referencing it thereafter.