Find
You are looking at a manaring
wear the manaring
Created by
a lost object #0
, last updated 18 Apr 2008
Code
##tickloc:runsub ticked;
##ticked:
runsub checkhost/10;
##checkhost:
$host = $actor's host;
if $host > 0 then ch2;
##ch2:
if $host's material like living then ch3;
##ch3:
$mana = $host's mana;
if $mana < $host's manamax then gain1;
##gain1:
add 1 to $mana;
set $host's mana to $mana;
$class to $actor's class;
$verb = (glows,brightens,sparkles,flashes);
say 'msg',"[$host]'s $class $verb for a moment, then fades.";