Games::Framework::RCP::Database::Result::Hazard - The big list of hazards.
The hazards table contains a list of every unique hazard. Hazards are random elements that can cause a battle to take a different turn. Not all battles will use hazards, but it is provided for convenience.
For those that have played Super Smash Bros, the items that drop at regular intervals are a form of hazard. The items that drop can change the face of the battle, depending on how useful the item is.
The big list of hazards.
This is the primary key of the table, using the traditional auto incrementing.
This accepts 64 characters to identify the name of the hazard. Needless to say, this is unique.
This accepts 256 characters to add some flavortext to the hazard. Such text can be humurous, or it could indicate what the hazard is generally about.
This ID points to the Color table in a one to one mapping. A color given to a status effect may make it easier to identify.
Every hazard has a certain chance to be chosen. By default, all hazards have a weight of 1, showing equal chance. Game Masters can change the weight of hazards so that certain ones show up more than others.
sqlt_deploy_hook is used to define the table settings for the various databases.
weight returns the row's weight times a random number. weight by itself is pointless.
<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-Hazard.
I will be notified,
and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
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.