From b3ef43eb70539b807362f01648287efb75952dee Mon Sep 17 00:00:00 2001 From: Jacob Date: Sun, 16 Jul 2017 04:27:32 +0100 Subject: [PATCH] Added ability to add/remove basic conditions Conditions are those listed in ./lib/methods/conditions.js --- .../buffs/buffDialog/buffDialog.html | 8 +- .../character/buffs/buffDialog/buffDialog.js | 7 + .../character/buffs/buffView/buffView.html | 7 + .../character/buffs/buffView/buffView.js | 17 ++ .../buffs/buffViewList/buffViewList.html | 17 ++ .../buffs/buffViewList/buffViewList.js | 28 +++ .../conditionLibraryDialog.css | 11 ++ .../conditionLibraryDialog.html | 34 ++++ .../conditionLibraryDialog.js | 166 ++++++++++++++++++ .../inventory/itemDialog/itemDialog.html | 5 +- .../views/character/stats/buff/buff.html | 9 - .../client/views/character/stats/buff/buff.js | 5 - .../stats/buffViewList/buffViewList.html | 14 -- .../stats/buffViewList/buffViewList.js | 12 -- .../client/views/character/stats/stats.html | 2 +- rpg-docs/lib/methods/conditions.js | 28 ++- 16 files changed, 316 insertions(+), 54 deletions(-) create mode 100644 rpg-docs/client/views/character/buffs/buffView/buffView.html create mode 100644 rpg-docs/client/views/character/buffs/buffView/buffView.js create mode 100644 rpg-docs/client/views/character/buffs/buffViewList/buffViewList.html create mode 100644 rpg-docs/client/views/character/buffs/buffViewList/buffViewList.js create mode 100644 rpg-docs/client/views/character/buffs/conditionLibraryDialog/conditionLibraryDialog.css create mode 100644 rpg-docs/client/views/character/buffs/conditionLibraryDialog/conditionLibraryDialog.html create mode 100644 rpg-docs/client/views/character/buffs/conditionLibraryDialog/conditionLibraryDialog.js delete mode 100644 rpg-docs/client/views/character/stats/buff/buff.html delete mode 100644 rpg-docs/client/views/character/stats/buff/buff.js delete mode 100644 rpg-docs/client/views/character/stats/buffViewList/buffViewList.html delete mode 100644 rpg-docs/client/views/character/stats/buffViewList/buffViewList.js diff --git a/rpg-docs/client/views/character/buffs/buffDialog/buffDialog.html b/rpg-docs/client/views/character/buffs/buffDialog/buffDialog.html index 165dd377..5bb63d08 100644 --- a/rpg-docs/client/views/character/buffs/buffDialog/buffDialog.html +++ b/rpg-docs/client/views/character/buffs/buffDialog/buffDialog.html @@ -1,6 +1,8 @@