on mm denizen mechanic: - if == "reinvigorate-targeter" { - if != "ENTITY" { - determine false } - if { - determine false } - if ]> > 20 { - determine false } # - narrate "Target name: " targets: # - narrate "Is not player: " targets: # - narrate "Distance between caster and target: ]>" targets: # - heal 30 - narrate "<&a>You imbue <&b><&a> with a surge of healing magic!" targets: # - narrate "mmskillcast caster: target: skill:Reinvigorate-Heal" targets: - define reinvigorate-particle-count 40 - repeat 40 { - playeffect ,0]> effect:VILLAGER_HAPPY visibility:500 quantity:4 offset:0.4,0,0.4 - define reinvigorate-particle-count - if == 0 { - wait 1t } - if == 0 { - mmcastplayer "caster:" "target:" "skill:Reinvigorate-Heal" } } - define reinvigorate-particle-count 0 - repeat 160 { - playeffect ,0]> effect:VILLAGER_HAPPY visibility:500 quantity:8 offset:0.8,0,0.8 - playeffect effect:VILLAGER_HAPPY visibility:500 quantity:10 offset:,, - define reinvigorate-particle-count } }