annnnnd if you put this in your global_npc.pl
Code:
*Mob::Blast = sub {
my $self = shift;
$self->SetMana($self->GetMaxMana());
$self->Emote("shimmers slightly.");
};
you can do this
when you want the equivalent of this for mana
which is currently this
Code:
$mob->SetMana($mob->GetMaxMana())
it will work for any object that is derived from the Mob class.