Games::Framework::RCP::Database::Result::Combatant - The list of everyone that is fighting currently.
0.22
The combatants table contains who is currently in the battle. Each combatant plays as a job, and may also take a secondary skillset, a support skill, and/or a reaction skill.
Many of you may have noticed that this table includes columns from the Class table. While I could have chosen to just have a straight foreign key to the class table and be done with it, that wouldn't allow for actual stat changes during the fight. While it may seem like repeating data, it almost never stays constant.
The list of everyone that is fighting currently.
This is the primary key of the table, using the traditional auto incrementing.
The time that the combatant entered the battle. Used as a backup method of sorting fighters.
This ID points to the Character table with a one to one mapping. Duplicate characters are not allowed (in this version).
This ID points to the Class table with a many to one mapping. The same class can be used by multiple people. At times, this is encouraged.
For Game Master purposes, this represents the current primary class the combatant is playing as.
This is the same as fkey_class above, with the only difference being that a record of what class a fighter joined as originally is always stored, and should not be changed unless the fighter is forcefully removed from battle.
This accepts 32 characters to represent a job class skillset that a combatant is bringing. It accepts a varchar instead of a foreign key to allow combatants to have a little creative freedom.
See secondary above, only it allows for a support move.
See secondary above, only it allows for a reaction move.
This accepts 32 characters to allow the Character to be called something else as the battle requires. Note that this is NOT unique: if a Game Master wanted, everyone could be "called" the same name.
This is the combatant's health.
This is the combatant's magic power.
This is the combatant's physical power.
This is the combatant's max health.
This is the combatant's max magic power.
This is the combatant's max physical power.
This is the combatant's charge time.
This is the combatant's speed.
This is the combatant's physical attack.
This is the combatant's magical attack.
This is the combatant's physical defense.
This is the combatant's magical defense.
This is the combatant's physical accuracy.
This is the combatant's magical accuracy.
This is the combatant's physical evade.
This is the combatant's magical evade.
sqlt_deploy_hook is used to define the table settings for the various databases.
Jason Felds, <wolfman.ncsu2000 at gmail.com>
<wolfman.ncsu2000 at gmail.com>
Please report any bugs or feature requests to bug-Games-Framework-RCP at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Games-Framework-RCP-Database-Result-Combatant. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-Games-Framework-RCP at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Games::Framework::RCP::Database::Result::Combatant
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Games-Framework-RCP-Database-Result-Combatant
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Games-Framework-RCP-Database-Result-Combatant
CPAN Ratings
http://cpanratings.perl.org/d/Games-Framework-RCP-Database-Result-Combatant
Search CPAN
http://search.cpan.org/dist/Games-Framework-RCP-Database-Result-Combatant/
See Games::Framework::RCP for all acknowledgements.
Copyright 2009 Jason Felds, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Games::Framework::RCP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Framework::RCP
CPAN shell
perl -MCPAN -e shell install Games::Framework::RCP
For more information on module installation, please visit the detailed CPAN module installation guide.