Hi everyone,
been thinking about adding a mechanic where the number of bullets left in the chamber would affect the skills available, but at the same time I'd like to keep using stamina as my main feature.
I came up with the idea of having MaxMP of every character set to 0, rename mana ''Ammo'', have each gun +X MaxMP. Then set each fight to heal full MP for each character at the beginning of every fight to represent a full magazine. Then each ''shooting'' skill would use up X MP and once MP hits 0 the character needs to ''reload'' for one turn to regain full MP the next turn.
I thought that I may check all actors for MP at the beginning of each turn, if it's equal to 0% then apply a state called ''Reloading''. That would limit the´skills available by locking some types. Then as the state goes away automatically at the start of next turn, I'd set MP to 100%.
I'm not sure how I'd implement i though, how do I apply the state at 0% MP? How do I heal MP when the state goes away? Also, is there a way to change the duration of the ''reloading'' state depending on the weapon type? As in minigun 2 turns, pistol 1 turn, etc.
Thanks in advance.
been thinking about adding a mechanic where the number of bullets left in the chamber would affect the skills available, but at the same time I'd like to keep using stamina as my main feature.
I came up with the idea of having MaxMP of every character set to 0, rename mana ''Ammo'', have each gun +X MaxMP. Then set each fight to heal full MP for each character at the beginning of every fight to represent a full magazine. Then each ''shooting'' skill would use up X MP and once MP hits 0 the character needs to ''reload'' for one turn to regain full MP the next turn.
I thought that I may check all actors for MP at the beginning of each turn, if it's equal to 0% then apply a state called ''Reloading''. That would limit the´skills available by locking some types. Then as the state goes away automatically at the start of next turn, I'd set MP to 100%.
I'm not sure how I'd implement i though, how do I apply the state at 0% MP? How do I heal MP when the state goes away? Also, is there a way to change the duration of the ''reloading'' state depending on the weapon type? As in minigun 2 turns, pistol 1 turn, etc.
Thanks in advance.