Howdy! I'm new to the message boards. Working on a game that I hope to make public or go commercial at some point.
I'm struggling to make something happen that will become a major mechanic in how players learn magic.
Using magic gems the players find, they can temporarily grant themselves magic abilities. The abilities fade in about 30 seconds or after a battle.
Setup: Each magic item grants a state based on that item. While in that state, the character gains access to magic, and a magic spell associated with that item. The items can also be used outside of battle to solve elemental puzzles and/or torment villagers.
If a character levels-up while in a state granted by the magic item, I want that item to have a small chance of teaching the character that magic spell associated with the item permanently. (random number 5% chance?).
To complicate things, my game has lots of playable characters, so doing conditional branches for each character will take months of work.
Many thanks for any input you might have on level events! I would prefer not to use plugins, but am open to them if needed.
I'm struggling to make something happen that will become a major mechanic in how players learn magic.
Using magic gems the players find, they can temporarily grant themselves magic abilities. The abilities fade in about 30 seconds or after a battle.
Setup: Each magic item grants a state based on that item. While in that state, the character gains access to magic, and a magic spell associated with that item. The items can also be used outside of battle to solve elemental puzzles and/or torment villagers.
If a character levels-up while in a state granted by the magic item, I want that item to have a small chance of teaching the character that magic spell associated with the item permanently. (random number 5% chance?).
To complicate things, my game has lots of playable characters, so doing conditional branches for each character will take months of work.
Many thanks for any input you might have on level events! I would prefer not to use plugins, but am open to them if needed.