From a1590f7f3e094490db606067ea5f2ee9ae230df4 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Mon, 16 Dec 2013 13:03:33 -0700 Subject: [PATCH] classes: update some classes wording --- src/middleware.js | 2 +- src/models/user.js | 1 + views/options/profile.jade | 8 ++++---- views/shared/modals/classes.jade | 8 ++++---- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/middleware.js b/src/middleware.js index e03f08a88f..68fa4be14f 100644 --- a/src/middleware.js +++ b/src/middleware.js @@ -23,7 +23,7 @@ module.exports.cors = function(req, res, next) { return next(); }; -var siteVersion = 0; +var siteVersion = 1; module.exports.forceRefresh = function(req, res, next){ if(req.query.siteVersion && req.query.siteVersion != siteVersion){ diff --git a/src/models/user.js b/src/models/user.js index bc99fa8565..6567148c50 100644 --- a/src/models/user.js +++ b/src/models/user.js @@ -241,6 +241,7 @@ var UserSchema = new Schema({ str: Number, def: Number, per: Number, + con: Number, stealth: Number } }, diff --git a/views/options/profile.jade b/views/options/profile.jade index 9591623871..5be7059436 100644 --- a/views/options/profile.jade +++ b/views/options/profile.jade @@ -138,25 +138,25 @@ script(id='partials/options.profile.stats.html', type='text/ng-template') table.table.table-striped tr td - i.icon-question-sign(popover-title='Strength', popover='Strength increases damage you inflict to tasks, reducing their redness', popover-trigger='mouseenter') + i.icon-question-sign(popover-title='Strength', popover='Strength increases damage you inflict to tasks (reducing redness), and increases critical hit chance.', popover-trigger='mouseenter') |  STR: {{user.stats.str}} td a.btn.btn-primary(ng-show='user.stats.points', ng-click='allocate("str")') + tr td - i.icon-question-sign(popover-title='Constitution', popover='Constitution decreases damage inflicted by tasks, and increases the effectiveness of healing and buff spells', popover-trigger='mouseenter') + i.icon-question-sign(popover-title='Constitution', popover='Constitution decreases damage inflicted by tasks, and increases the effectiveness of healing and buff spells.', popover-trigger='mouseenter') |  CON: {{user.stats.con}} td a.btn.btn-primary(ng-show='user.stats.points', ng-click='allocate("con")') + tr td - i.icon-question-sign(popover-title='Perception', popover='Perception increases the likelihood of drops, Gold bonuses, and critical hit chances', popover-trigger='mouseenter') + i.icon-question-sign(popover-title='Perception', popover='Perception increases drops and gold, and can help with critical hits by spells.', popover-trigger='mouseenter') |  PER: {{user.stats.per}} td a.btn.btn-primary(ng-show='user.stats.points', ng-click='allocate("per")') + tr td - i.icon-question-sign(popover-title='Intelligence', popover='Intelligence increases your overall mana, allowing you to cast more spells', popover-trigger='mouseenter') + i.icon-question-sign(popover-title='Intelligence', popover='Intelligence increases your overall mana, spell effectiveness, and experience gain.', popover-trigger='mouseenter') |  INT: {{user.stats.int}} td a.btn.btn-primary(ng-show='user.stats.points', ng-click='allocate("int")') + diff --git a/views/shared/modals/classes.jade b/views/shared/modals/classes.jade index 2b7ccf9716..5fa1c58803 100644 --- a/views/shared/modals/classes.jade +++ b/views/shared/modals/classes.jade @@ -2,7 +2,7 @@ .modal-header h3 Class System Unlocked! .modal-body.select-class - p Select your class. Upon level-up, you will now be able to allocate points to various stats. Alternatively, you can choose which stat your tasks represent (physical, mental, social, or "other") and drive your class automatically. + p Select your class. Click each class for more information. See Wikia for thorough details. .row-fluid .span3(ng-click='selectedClass = "warrior"') h5 Warrior @@ -61,9 +61,9 @@ span(class='shield_healer_5') span(class='weapon_healer_6') br - .well(ng-show='selectedClass=="warrior"') Warriors deal moderate damage to tasks and have moderate defense against tasks. - .well(ng-show='selectedClass=="wizard"') Wizards deal high damage to task, and can cast debuff spells on multiple tasks. - .well(ng-show='selectedClass=="rogue"') Rogues finds more drops, Gold, and have a high chance of dealing "critical hits," which grant large GP & Exp bonuses. Rogues can also "go stealth" to avoid and entire day of dailies. + .well(ng-show='selectedClass=="warrior"') Warriors deal damage to tasks (reducing redness), have moderate defense, and improved critical hits. + .well(ng-show='selectedClass=="wizard"') Wizards deal damage to tasks (reducing redness), can debuff tasks, and they gain experience rapidly. + .well(ng-show='selectedClass=="rogue"') Rogues finds more drops and gold. They can also "go stealth" to avoid damage at the end of a day. .well(ng-show='selectedClass=="healer"') Healers have high defense against damage, and can heal themselves and other players in the party, as well as buff players. .modal-footer