StendhalRefactoringCreatures: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>MiguelAngelBlanchLardin
imported>MiguelAngelBlanchLardin
Line 92: Line 92:
== Properties ==
== Properties ==
We have several common attributes for all the items. Mainly:
We have several common attributes for all the items. Mainly:
* Type<br>This is going to be always ''creature''
* Type
* Class<br>This is the main class. ie, ''elf'', ''kobold'', ...
* Class
* Subclass<br>This is the subclass, ie, ''elf warrior''
* Subclass
* XP value<br>Value of the creature when killed

* Attack<br>Attack RP attribute
And some attributes that objects may or many not have:
* Defense<br>Defense RP attribute
* XP value
* Attack
* Defense
* Dropped items
* Dropped items
** Item
** Item