8 hours ago
(8 hours ago)DerVVulfman Wrote: First, this is affecting the weapon, not the actor. You can, for example, find a +2 Iron Sword... the sword already having been leveled, and have it within your Party's inventory. If you allowed Basil to use swords as well as spears, he too could use it the same as Aluxes. This script affects the weapon itself, not the actor.
What you are considering is actually a Weapon Proficiency system such as either my Adeyemi Armament Proficiency or Adeyemi Armor Proficiency (I made one for ARMOR too) or Leon Westbrooke's Weapon Proficiency script.
...I just had a horrible flashback to the weapon mastery system of Romancing SaGa 1. You learned new skills by leveling up weapon mastery. The issue is that the mastery was tied to that weapon in particular. Therefore, if you wanted to upgrade your old iron sword for a shiny new steel sword, you had to grind for mastery points to regain all the skills again.
That game was a collection several baffling gameplay ideas.
Quote:As to making something like a weapon or piece of armor that could grant (let's say... "Sharpen" or +2 to their strength when having their HP at max is probably not impossible. I would say the latter ( a direct bonus to a Stat) is more plausible than the former (adding/removing a state) given it could merely be a minor addition of...
...tacked to the end of a "base_str" or like method in Game_ActorCode:if actor.hp == actor.maxhp
stat += 5
end
That's just off the top of my head, mind you.
I see. It's far more complicated that I had expected.
On this subject still, I realized what was going wrong on my attempt. I try to make a common event where there were two variables: "Character = HP" and "Character = MaxHP" where the state would be applied or removed depending if the "Character = HP" variable was lower than the "Character = MaxHP" variable.
And that's where the error is: there's no way to update the variable while in battle that I know of. No wonder why I was stumped.


