Show flower when using visual buffs

Fixes #7133
Closes #7604
This commit is contained in:
MathWhiz 2016-05-31 18:39:06 -04:00 committed by Blade Barringer
parent 5ee28eabb5
commit a973db29f4
2 changed files with 4 additions and 1 deletions

View file

@ -15,6 +15,10 @@ mixin avatar(opts)
each klass, item in visualBuffs
span(ng-if='profile.stats.buffs.#{item}', class='#{klass}')
// Show flower ALL THE TIME!!!
// See https://github.com/HabitRPG/habitrpg/issues/7133
span(class='hair_flower_{{profile.preferences.hair.flower}}')
// Show avatar only if not currently affected by visual buff
- var buffs = '!profile.stats.buffs'
span(ng-if='#{buffs}.snowball && #{buffs}.spookySparkles && #{buffs}.shinySeed && #{buffs}.seafoam')

View file

@ -23,6 +23,5 @@ mixin generatedAvatar(options)
+costumeSetting('eyewear')
+costumeSetting('head')
+costumeSetting('headAccessory')
span(class='hair_flower_{{profile.preferences.hair.flower}}')
+costumeSetting('shield')
+costumeSetting('weapon')