Initial commit
This commit is contained in:
55
app/plugins/dnd/classes/character.php
Normal file
55
app/plugins/dnd/classes/character.php
Normal file
@ -0,0 +1,55 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// The intent here is that this class will load all the various thing that will adjust the character overall
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// features() - returns an array of all the feats the character has
|
||||
// traits() - returns an array of all the traits the character has
|
||||
// skills() - returns an array of all the skills the character has
|
||||
// proficiencies() - returns an array of all the proficiencies the character has
|
||||
// addProficiency() - adds a proficiency to the character
|
||||
// race() - returns the race object for the character
|
||||
// class() - returns the class object for the character
|
||||
// spells() - returns an array of all the spells the character can "EVER" have access to IE: level too high for the current level
|
||||
// spellSlots() - returns an array of all the spell slots the character has, what's in them
|
||||
// items() - returns an array of all the items the character has
|
||||
// equipment() - returns an array of all the equipment the character has
|
||||
|
||||
|
||||
// resistances() - returns an array of all the resistances the character has
|
||||
// addResistance() - adds a resistance to the character
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user