Hello, I want to write a Script, where each Actor can equip a familiar. The familiar will change the Actor Stats.
So for example you can predefine some familiars like this:
FAMILIAR = { :name => [atk: 20, def: 20] :name2 )=>[p_def: 5]}So if an Actor "equips" the familiar with :name his atk and def stats will be boosted by 20 absolute.
If the actor "equips" :name2 his defense will be boosted by 5 percent.
This is the theory, now Iam wondering what is the best way to change the parameters from an actor?
I think if you can guide me where to look how the states work in the Vanilla Script I can figure It out myself.
Thanks for every help.
So for example you can predefine some familiars like this:
FAMILIAR = { :name => [atk: 20, def: 20] :name2 )=>[p_def: 5]}So if an Actor "equips" the familiar with :name his atk and def stats will be boosted by 20 absolute.
If the actor "equips" :name2 his defense will be boosted by 5 percent.
This is the theory, now Iam wondering what is the best way to change the parameters from an actor?
I think if you can guide me where to look how the states work in the Vanilla Script I can figure It out myself.
Thanks for every help.