Jason Felds > Games-Framework-RCP > Games::Framework::RCP::Database::Result::ItemWithStat

Download:
Games-Framework-RCP-0.04_01.tar.gz

Dependencies

Annotate this POD

Module Version: 0.22   Source  

NAME ^

Games::Framework::RCP::Database::Result::ItemWithStat - Every item that gives a stat change upon using.

VERSION ^

0.22

DESCRIPTION ^

The items with stats table shows what stats are modified by using particular items. Each item can modify a combatant's stats in various ways. Knoweldge of what stats are modified can be useful.

DATABASE TABLE ^

Every item that gives a stat change upon using.

id_item_with_stat

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

fkey_item

This ID points to the Item table in a many to one mapping. Each item can affect many stats.

fkey_item_stat

This ID points to the Item Stats table in a many to one mapping. Each item stat can be affected with many items.

value

This is the value for which a stat is modified. This does not tell the whole story: see the operator column below.

operator

This is the operator that is applied with the value on the stat to get its new value. Examples of some operators could include:

+ adding
− subtracting
× multiplying
÷ dividing
% percentage

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-ItemWithStat. 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::ItemWithStat

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.

syntax highlighting: