DynRPG
v0.32 Unofficial
Plugin SDK
|
Used for the data of items which can be accessed or changed in-game. More...
Public Attributes | |
int | id |
ID of the item. More... | |
DStringPtr | name |
The name of the item. More... | |
DStringPtr | description |
The description of the item. More... | |
ItemType | type |
The item's type as defined in the database (see RPG::ItemType) More... | |
int | price |
Price. More... | |
int | numUses |
Number of uses (0 = unlimited) More... | |
int | str |
Attack. More... | |
int | def |
Defense. More... | |
int | intl |
Intelligence. More... | |
int | agl |
Agility. More... | |
bool | twoHanded |
Is it two-handed? (Hands Required) More... | |
int | mpCost |
Agility. More... | |
int | hitProb |
Hit Probability. More... | |
int | critBonus |
Critical Bonus. More... | |
int | battleAnimId |
Battle Animation ID. More... | |
bool | alwaysAttackFirst |
Always attack first? More... | |
bool | attackTwice |
Attack twice? More... | |
bool | attackAll |
Attack all enemies? More... | |
bool | ignoreEvasion |
Ignore evasion? More... | |
bool | preventCrit |
Prevent critical hits? More... | |
bool | increaseEvasion |
Increased evasion? More... | |
bool | halfMpCost |
Half MP Consumption? More... | |
bool | noTerrainDmg |
No Terrain Damage? More... | |
ItemTarget | target |
Does the item target a single hero or all? (see RPG::ItemTarget) More... | |
int | hpRestorePercent |
% of Max HP to restore More... | |
int | hpRestoreUnits |
Amount of HP to restore. More... | |
int | mpRestorePercent |
% of Max MP to restore More... | |
int | mpRestoreUnits |
Amount of MP to restore. More... | |
bool | onlyInField |
Only usable on the field map? More... | |
bool | onlyOnDead |
Only usable on dead characters? More... | |
int | addMaxHp |
Max HP to add. More... | |
int | addMaxMp |
Max MP to add. More... | |
int | addStr |
STR to add. More... | |
int | addDef |
DEF to add. More... | |
int | addInt |
INT to add. More... | |
int | addAgl |
AGL to add. More... | |
ItemScrollMsgShown | messageShown |
Message Shown When Used (see RPG::ItemScrollMsgShown) More... | |
int | skillId |
Skill Id. More... | |
int | switchId |
Switch Id. More... | |
bool | useInField |
Activation in field? More... | |
bool | useInBattle |
Activation in battle? More... | |
DArray< bool > | usableByHero |
Usable By Hero Array. More... | |
DArray< bool > | conditions |
Array of Conditions. size = highest condition that is checked off. More... | |
DArray< bool > | attributes |
Array of Attributes. size = highest attribute that is checked off. More... | |
int | conditionPercentage |
Inflict/Resist Condition %. More... | |
NamedCatalogPtr< AnimationWeapon * > | weaponAnims |
Pointer to the RPG::AnimationWeapon array. More... | |
bool | invokeSkill |
Does the item invoke a skill (set skill with skillId) More... | |
DArray< bool > | usableByClass |
Usable By Class Array. More... | |
bool | isCursed |
Is the item cursed? More... | |
ItemConditionFlag | conditionFlag |
Does the item remove the condition instead of inflict? (see RPG::ItemConditionFlag) More... | |
WeaponRangedTrajectory | weaponTrajectory |
If a ranged weapon, the weapons' trajectory (see RPG::WeaponRangedTrajectory) More... | |
WeaponRangedTargetting | weaponTargetting |
If a ranged weapon, the weapons' target(s) (see RPG::WeaponRangedTargetting) More... | |
Used for the data of items which can be accessed or changed in-game.
DStringPtr RPG::Item::name |
DStringPtr RPG::Item::description |
ItemType RPG::Item::type |
The item's type as defined in the database (see RPG::ItemType)
int RPG::Item::str |
int RPG::Item::def |
int RPG::Item::intl |
int RPG::Item::agl |
bool RPG::Item::twoHanded |
int RPG::Item::mpCost |
int RPG::Item::hitProb |
int RPG::Item::critBonus |
int RPG::Item::battleAnimId |
bool RPG::Item::alwaysAttackFirst |
bool RPG::Item::attackTwice |
bool RPG::Item::attackAll |
bool RPG::Item::ignoreEvasion |
bool RPG::Item::preventCrit |
bool RPG::Item::increaseEvasion |
bool RPG::Item::halfMpCost |
bool RPG::Item::noTerrainDmg |
ItemTarget RPG::Item::target |
Does the item target a single hero or all? (see RPG::ItemTarget)
int RPG::Item::hpRestorePercent |
int RPG::Item::hpRestoreUnits |
int RPG::Item::mpRestorePercent |
int RPG::Item::mpRestoreUnits |
bool RPG::Item::onlyInField |
bool RPG::Item::onlyOnDead |
int RPG::Item::addMaxHp |
int RPG::Item::addMaxMp |
int RPG::Item::addStr |
int RPG::Item::addDef |
int RPG::Item::addInt |
int RPG::Item::addAgl |
ItemScrollMsgShown RPG::Item::messageShown |
Message Shown When Used (see RPG::ItemScrollMsgShown)
int RPG::Item::skillId |
int RPG::Item::switchId |
bool RPG::Item::useInField |
bool RPG::Item::useInBattle |
DArray<bool> RPG::Item::conditions |
DArray<bool> RPG::Item::attributes |
int RPG::Item::conditionPercentage |
NamedCatalogPtr<AnimationWeapon *> RPG::Item::weaponAnims |
Pointer to the RPG::AnimationWeapon array.
bool RPG::Item::invokeSkill |
ItemConditionFlag RPG::Item::conditionFlag |
Does the item remove the condition instead of inflict? (see RPG::ItemConditionFlag)
WeaponRangedTrajectory RPG::Item::weaponTrajectory |
If a ranged weapon, the weapons' trajectory (see RPG::WeaponRangedTrajectory)
WeaponRangedTargetting RPG::Item::weaponTargetting |
If a ranged weapon, the weapons' target(s) (see RPG::WeaponRangedTargetting)