NAME

Games::Framework::RCP::Database::Result::Class

VERSION

0.20

DESCRIPTION

The classes table contains the list of every single class in the system. Each class has its own statistics and rules that players must follow.

Note that not every stat has to be used. Many games only use magic power and not physical/technique power, and vice~versa. Add columns as required for your own home game.

DATABASE TABLE

Simple listing of all jobs and their stats.

id_class

This is the primary key of the table, using the traditional auto incrementing.

name

This is the name of the class. Names MUST be unique.

description

This accepts 256 characters to add some flavortext to the class. Such text can be humurous, or it could indicate what the class will do when summoned.

fkey_kind

This ID points to the ClassKind table in a one to one mapping. This determines who can play the class.

hp

This is the class's starting health and max health.

mp

This is the class's starting magic power and max magic power.

pp

This is the class's starting physical power and max physical power.

spd

This is the class's starting speed.

patk

This is the class's starting physical attack.

matk

This is the class's starting magical attack.

pdef

This is the class's starting physical defense.

mdef

This is the class's starting magical defense.

pacc

This is the class's starting physical accuracy.

macc

This is the class's starting magical accuracy.

pevd

This is the class's starting physical evade.

mevd

This is the class's starting magical evade.

SUBROUTINES/METHODS

sqlt_deploy_hook()

sqlt_deploy_hook is used to define the table settings for the various databases.

AUTHOR

Jason Felds, <wolfman.ncsu2000 at gmail.com>

BUGS AND LIMITATIONS

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-Class. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Games::Framework::RCP::Database::Result::Class

You can also look for information at:

ACKNOWLEDGEMENTS

See Games::Framework::RCP for all acknowledgements.

LICENSE AND COPYRIGHT

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.