feat(valentine): remove valentine event

This commit is contained in:
Tyler Renelle 2014-02-18 11:20:15 -07:00
parent 9ba3362642
commit 55782512bf
2 changed files with 0 additions and 16 deletions

View file

@ -200,10 +200,6 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
$scope.castStart = function(spell) {
if (User.user.stats.mp < spell.mana) return Notification.text(window.env.t('notEnoughMana'));
// Temporary for valentine's day, remove after event
if (spell.key == 'valentine' && User.user.stats.gp < spell.value)
return Notification.text('Not enough gold.');
$rootScope.applyingAction = true;
$scope.spell = spell;
if (spell.target == 'self') {

View file

@ -86,18 +86,6 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
span.shop_salt.shop-sprite.item-img
p.task-text {{Content.spells.special.salt.text}}
li.task.reward-item(popover-trigger='mouseenter', popover-placement='top', popover='{{Content.spells.special.valentine.notes}}')
.task-meta-controls
span.task-notes
span.glyphicon.glyphicon-comment
//left-hand size commands
.task-controls
a.money.btn-buy.item-btn(ng-click='castStart(Content.spells.special.valentine)')
span.reward-cost {{Content.spells.special.valentine.value}}
span.shop_gold
span.inventory_special_valentine.shop-sprite.item-img
p.task-text {{Content.spells.special.valentine.text}}
// Spells
ul.items(ng-if='main && list.type=="reward" && user.stats.class && !user.preferences.disableClasses')
li.task.reward-item(ng-repeat='(k,spell) in Content.spells[user.stats.class]', ng-if='user.stats.lvl >= spell.lvl',popover-trigger='mouseenter', popover-placement='top', popover='{{spell.notes}}')