Skip to content

Character Plugin#1

Open
AbdSab wants to merge 3 commits intodifysjs:masterfrom
AbdSab:master
Open

Character Plugin#1
AbdSab wants to merge 3 commits intodifysjs:masterfrom
AbdSab:master

Conversation

@AbdSab
Copy link
Copy Markdown

@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
Copy Markdown
Member

@alaadotsol alaadotsol 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

@alaadotsol alaadotsol added the enhancement New feature or request label Aug 1, 2019
Comment thread CharactersManager/Character.js Outdated
Comment thread CharactersManager/Character.js
Comment thread CharactersManager/CharactersManager.js Outdated
mount(connections){
this.connections = connections;
for(let username in connection){
this.character[username] = new Character(username);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

typo ?

Copy link
Copy Markdown
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
Copy Markdown
Member

Choose a reason for hiding this comment

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

and this.character ?

Comment thread CharactersManager/CharactersManager.js Outdated
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