The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Games::SMTNocturne::Demons::Fusion - represents the results of a fusion

VERSION

version 0.02

SYNOPSIS

  use Games::SMTNocturne::Demons 'fusions_for';

  my @fusions = fusions_for('Jack Frost');

  say $fusions[0]->demons->[0]; # <Divine Angel (11)>
  say $fusions[0]->demons->[1]; # <Foul Will o' Wisp (1)>
  say $fusions[0]->result;      # <Fairy Jack Frost (7)>
  say $fusions[0];              # Fuse <Divine Angel (11)> with <Foul Will o' Wisp (1)> resulting in <Fairy Jack Frost (7)>

DESCRIPTION

This class represents the result of a demon fusion which was calculated by the fusions_for function in Games::SMTNocturne::Demons. It includes various accessor methods to get information about the generated fusion, as well as a stringification overload to produce a readable summary.

METHODS

demons

An arrayref containing the two demons to be fused.

sacrifice

An optional third demon to be sacrificed (at full Kagutsuchi).

deathstone

True if this fusion requires a deathstone.

kagutsuchi

An optional arrayref containing the Kagutsuchi phases during which this fusion may take place.

result

The demon that will be created by the fusion.

AUTHOR

Jesse Luehrs <doy@tozt.net>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by Jesse Luehrs.

This is free software, licensed under:

  The MIT (X11) License