Attack script

I don't know if this falls under scripting or if this needs a scripting or not, but I am looking for a skill that will pick a random weapon from any skill of the lvl of the character and use it in battle.

I am also seeking script that allows weapon to lvl up with the character as well.
The script here allows weapons to level up.

http://cobbtocs.co.uk/wp/?p=155
I don't really understand the first request. Example?
Well, say your character is using a lvl 45 sword. a skill that when use it, it will randomly use a lvl 45 mace,great sword, or any weapon you have listed for that rpg... Im getting the Idea from Hero's king from Fate/stay night.
Best option, skill. Since I'm asuming damage type is a factor. Make a skill that has the same formula as the weapons available.

Then in formula maybe something like this might work

$game_variables[y] = b.index

Have the skill call a common event and inside do something like the following

if Y = 1

Change Variable X (random 1...3)

if x = 1

force action actor/target/skill

end bracnch

if x = 2

force action actor/target/skill

end bracnch

if x = 3

force action actor/target/skill

end bracnch

end branch

This is, of course, actor specific, so you need a common event and skill for each specific actor, and a Y statement for up to 8 enemies.

if you really wanted to get more detailed, you can set a variable for a.index in the formula as well

Original thread: https://forums.rpgmakerweb.com/threads/attack-script.3874/