I need to add a new feature to a battle script, but it will be hard to rewrite the behavior of all the 25 options it have now. They add effets to battle, like attacking to all enemies, attack onlt to flying ones,etc
These new feature is the hability to set any config value with a event variable.
As im using a Hash constant to configurate things i thing the more quick method willl be creating a new hash class and rewriting the method that gives the value in a normal way, creating a condition to check if the hash have to return the event variable code or not.
The idea will be to check for a code like traditional '\v[id]'.
This its possible?
These new feature is the hability to set any config value with a event variable.
As im using a Hash constant to configurate things i thing the more quick method willl be creating a new hash class and rewriting the method that gives the value in a normal way, creating a condition to check if the hash have to return the event variable code or not.
The idea will be to check for a code like traditional '\v[id]'.
This its possible?