Is there a script that lets you have a weapon or armor that can also be used as an item during battle? (i.e. instead of using it to attack you can use its skill) I looked over the master list of scripts and, while I found a lot of interesting things, I didn't see anything like that.
Weapons and armor that have a skill to use?
● ARCHIVED · READ-ONLY
-
-
If you're not picky about how it's executed, you can give a weapon a trait that that adds a specific skill while it's equipped. Just edit the weapon trait straight from the features section of the database entry. You can even have the skill show up on the base actor command window with this script: http://victorscripts.wordpress.com/rpg-maker-vx-ace/gameplay-scripts/direct-command/
-
Yea, that's true, but I mean that the skill would be executed from the weapon or armor itself, like in Final Fantasy (e.g. you attack with the Heal Rod, or you can use it as an item to execute a free Heal spell).
-
That's what I thought you meant. I'm not aware of script like that but if I come across it I will be sure to post a link here.
-
Oh okay. I kinda thought so.
-
If I were to implement it, I would do something like
1: tag your weapon/armor with something like "use: skill_id"
2: indicate that the weapon/armor is actually "usable"
3: update the item list to enable weapons/armors that have valid "use" effects
4: on_item_ok, if the selected item is a weapon/armor, you would grab the skill ID and set that as the actor's input.