WIP(greeting-cards): Abandon spell refactor

This commit is contained in:
Sabe Jones
2015-08-13 14:31:34 -05:00
parent 3c8424a83e
commit b2100c2c54
23 changed files with 2903 additions and 2806 deletions
+24
View File
@@ -955,6 +955,30 @@ api.spells =
target.markModified? 'items.special.valentineReceived'
user.stats.gp -= 10
api.cardTypes =
greeting:
key: 'greeting'
text: t('greetingCard')
notes: t('greetingCardNotes')
messageOptions: 4
yearRound: true
nye:
key: 'nye'
text: t('nyeCard')
notes: t('nyeCardNotes')
messageOptions: 5
thankyou:
key: 'thankyou'
text: t('thankyouCard')
notes: t('thankyouCardNotes')
messageOptions: 4
yearRound: true
valentine:
key: 'valentine'
text: t('valentineCard')
notes: t('valentineCardNotes')
messageOptions: 4
# Intercept all spells to reduce user.stats.mp after casting the spell
_.each api.spells, (spellClass) ->
_.each spellClass, (spell, key) ->