mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-18 20:04:38 +00:00
parent
5ee28eabb5
commit
a973db29f4
2 changed files with 4 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue