You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.
Actually, hang on: I checked the code, and the attack modes are already static: they are loaded once and stored as a property on the Player object, not on the prototype.
Create an object to hold all attack modes. This should lazy load the attacks from the config file (the alias needs to be added to the config).
It will avoid the attack mode be loaded for each player and it will dynamically be loaded without change the player code.
The text was updated successfully, but these errors were encountered: