Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
Add section comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thislooksfun committed Sep 10, 2019
1 parent 2134263 commit f54f653
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/store/modules/Characters/currentCharacter/editMode/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export default {

// TODO: Implement Skills

// Creation Wizard
creationWizardFirstStage({ commit }) {
commit("CREATION_WIZARD_FIRST_STAGE", { uuid: routedUUID() });
},
Expand All @@ -71,7 +72,29 @@ export default {
creationWizardClose({ commit }) {
commit("CREATION_WIZARD_CLOSE", { uuid: routedUUID() });
},

// Misc
addEffect({ commit }, { name, value }) {
commit("ADD_EFFECT", { uuid: routedUUID(), name, value });
},
// 'circle' is 1-based
// TODO: Implement this:
// circleUp({ commit, dispatch, state }, { circle }) {
// // const uuid = routedUUID();
// // // NOTE: This creates a CLONE of the character object, so any setters here
// // // won't work (though they shouldn't be used outside of the mutator itself
// // // anyway).
// // const char = decorate(state.characters[uuid]);

// // // Set circle
// // commit("SET_CIRCLE", { uuid, circle });

// // // Create any missing talent slots
// // commit("ADD_TALENT_OPTIONS_UNTIL", { uuid, circle });

// // Assign discipline talents
// // circle index here is 0-based
// const dTalents = char.discipline.circle[circle - 1];
// console.log(dTalents);
// },
};

0 comments on commit f54f653

Please sign in to comment.