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

NAME

Games::Framework::RCP::Database::Result::CombatantStatus - The status effects that the combatants are inflicted with.

VERSION

0.22

DESCRIPTION

The combatant status table keeps track of all of the different status effects that the combatants may have, and for how long.

DATABASE TABLE

The status effects that the combatants are inflicted with.

id_combatant_status

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

fkey_combatant

This ID points to the Combatant table in a many to one mapping. Each combatant can have many status effects simultaneously.

fkey_status_effect

This ID points to the Status Effects table in a many to one mapping. The same status effect can be applied to many combatants.

length

This indicates the length of the status effect. A convention is used internally to represent many different possibilities.

  • If the length is considered less than or equal to -10000, then the status effect is in play indefinitely.

  • If the length is considered greater than or equal to 10000, then the status effect is in play permamently.

  • If the length is between -10000 and 10000, then the status effect ticks down normally.

In general, when a status effect hits 0, it is the Game Master's job to remove the effect. There are no triggers to do that automatically.

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

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.