Change Log
-
5/16/2008 - Version .22:
-
Added max_level, description, genre, and type to Item class.
Each variable can be returned (initialized to false) by calling
$item->get_(variable_name). - Added variable in drcsl.php to change where the data comes from. Allows for seperate PTS and Live feeds to be tracked.
-
Added PVPRating and PowerLevel to Character class. Can be found with:
$billy->get_char_info('PVPRating');and$billy->get_char_info('PowerLevel');.
-
Added max_level, description, genre, and type to Item class.
Each variable can be returned (initialized to false) by calling
-
Unreleased - MWE Version .2 - Major Changes:
- Redesigned Character Sheet. Added images.
-
Unreleased - Version .21:
- Changed get_char_info to allow for HP and Mana, as well as fixed it to work for PlayedTime, PVPWins.
-
Added
char_get_attributes()to return an array that is the result of callingchar_get_attribute()on each attribute.
-
3/26/08 - Version .2 - Major changes:
-
Added item class. This is created for every Item a Character
has, and stored in an Items array (indexed by SlotID) in
the Character. Calling
$billy->get_char_items()now returns the array of Items. Calling$billy->get_char_item($slot)now returns the Item in that index, or false if its empty. -
Added Skill class. This is created for every Skill the Character
has, and is stored in a Skills array (indexed by SlotID) in
the Character. Calling
$billy->get_char_skills()now returns the array of Skills. Calling$billy->get_char_skill($slot)now returns the Skill in that index, or false if its empty. -
Added the
$billy->get_char_mods()function. This returns an array of all the modifications involved in a Character's stats. The structure is:
$mods[mod_type][item_name] = amount
For example:
$mods["Movement Speed"]["Multi-Faceted Scrap Metal Splint Spaulders of the Greyhound"] = "-1%" -
Added DPS calculations... finally. This is a very basic
version of DPS calculation, and should be taken as a base
value for melee damage. Spell damage is not taken into
account, nor is critical hit chance. However that means
you know you'll be dealing at least this amount.
DPS for a weapon is included in the data you get when you call$billy->get_char_weapon('primary');and you can get overall DPS through$billy->get_char_dps(). - Changed how Characters are fetched. This is significant, as my library now requires cURL. Howver cURL is fairly often installed with a default php, or rather can be found on most php installs, even though its added seperately. If libcURL is not available, it'll try a raw socket transfer, and if that doesn't work you're (currently) out of luck. I will be adding a wget feature back in, but this system is fairly redundant enough to not require it.
-
Added item class. This is created for every Item a Character
has, and stored in an Items array (indexed by SlotID) in
the Character. Calling
-
3/15/2008 - MediaWiki Extension Version .1 - Initial development of MediaWiki extension.
-
3/14/2008 - Version .11 - Changed default location of temp files. Added error messages (get_error()). Added drcsl.php as single file to include.
-
3/13/2008 - Version .1 - Initial release of DRCSL.