DynRPG v0.32 Unofficial
Plugin SDK
|
Used for the default data of monsters which is defined in the database. More...
#include <DBMonster.h>
Public Attributes | |
int | id |
ID of the monster. | |
DStringPtr | name |
Monster's name. | |
DStringPtr | filename |
Monster's filename. | |
unsigned int | colorAlteration |
The color hue of the monster graphic. 0 represents the center of the slider. 0-180 is the right side, while 180-350 is the left side. | |
int | maxHp |
The monster's Maximum HP. | |
int | maxMp |
The monster's Maximum MP. | |
int | attack |
The monster's attack value. | |
int | defense |
The monster's defense value. | |
int | intelligence |
The monster's intelligence value. | |
int | agility |
The monster's agility value. | |
bool | isTransparent |
Is the monster partially transparent? | |
int | exp |
The amount of experience rewarded. | |
int | gold |
The amount of gold rewarded. | |
int | itemId |
The ID of the item rewarded (0 = no item) | |
int | itemProbability |
The probability of getting the item (percentage) (0-100) | |
bool | critFlag |
Can the monster perform a critical hit? | |
int | critPercentage |
The probability of getting the critical hit (percentage) (0-100) | |
bool | oftenMiss |
Does the monster often miss? | |
bool | isFlying |
Is the monster flying? | |
DArray< DamageMultiplier_T, 1, 2 > | conditions |
Condition Resistance Array (See RPG::DamageMultiplier) | |
DArray< DamageMultiplier_T, 1, 2 > | attributes |
Attribute Resistance Array (See RPG::DamageMultiplier) | |
CatalogPtr< MonsterBehavior * > | behavior |
Behavior Array (See RPG::MonsterBehavior) | |
Used for the default data of monsters which is defined in the database.
DArray<DamageMultiplier_T, 1, 2> RPG::DBMonster::attributes |
Attribute Resistance Array (See RPG::DamageMultiplier)
If at a certain point, the resistance of an attribute and all attributes higher than it are C, the attributes.size will equal the number of the highest non-C attribute.
Example:
Attr1: A Attr2: B Attr3: C Attr4: C Attr5: C
Because Attr3 is C, and those above it are C, attributes.size will be 2, because Attr2 is the last non-C attribute.
DArray<DamageMultiplier_T, 1, 2> RPG::DBMonster::conditions |
Condition Resistance Array (See RPG::DamageMultiplier)
If at a certain point, the resistance of a condition and all conditions higher than it are C, the conditions.size will equal the number of the highest non-C condition.
Example:
Cond1: A Cond2: B Cond3: C Cond4: C Cond5: C
Because Cond3 is C, and those above it are C, conditions.size will be 2, because Cond2 is the last non-C condition.