Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character Plugin #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Character Plugin #1

wants to merge 3 commits into from

Conversation

AbdSab
Copy link

@AbdSab AbdSab commented Aug 1, 2019

Character plugin to manage characters:

  • Api to get characters data by username (Kamas, Level, Stats, Xp, ...)
  • Add element points to a character
  • Upgrade spells (WIP)

Copy link
Member

@AlaaZorkane AlaaZorkane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good as a first version of the character plugin, good job!
Still, there are some stuff we should address, first of all make sure that the class's name is the same as the folder name.
Other points are going to be addressed in the plugins-roadmap discord channel before we can fully push it to master

@AlaaZorkane AlaaZorkane added the enhancement New feature or request label Aug 1, 2019
mount(connections){
this.connections = connections;
for(let username in connection){
this.character[username] = new Character(username);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes typo it should be connections

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this.character ?

CharactersManager/CharactersManager.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants