Games::SMTNocturne::Demons::Demon - an individual demon
version 0.02
use Games::SMTNocturne::Demons 'demon'; my $pixie = demon('Pixie'); say $pixie->name # 'Pixie' say $pixie->level # 2 say $pixie->type # 'Fairy'
This class represents an individual demon. You typically create instances of this class via the functions in the Games::SMTNocturne::Demons package, and you can then look up various data using the accessors here. This class also includes a stringification overload to display the information about the demon in a readable form.
True if the demon is a boss (meaning that fusing it will not be possible until it has been defeated).
How this demon can be created. Can be normal for demons that can be fused normally, evolve for demons that must be evolved, special for demons that require special fusions, and deathstone for demons that require a deathstone in order to fuse.
normal
evolve
special
deathstone
The base level of the demon. This level is what is used in the fusion process, regardless of the experience level of the actual demon in your party.
The name of the demon.
The type of the demon (Fairy, Yoma, etc).
Fairy
Yoma
Jesse Luehrs <doy@tozt.net>
This software is Copyright (c) 2014 by Jesse Luehrs.
This is free software, licensed under:
The MIT (X11) License
To install Games::SMTNocturne::Demons, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::SMTNocturne::Demons
CPAN shell
perl -MCPAN -e shell install Games::SMTNocturne::Demons
For more information on module installation, please visit the detailed CPAN module installation guide.