API:GetPlayerAbility

Returns the ability values associated to Character information window in RoM.

Arguments

 * string
 * string = one of the below (possibly more?)

MELEE_MAIN_DAMAGE

MELEE_ATTACK

MELEE_CRITICAL

MELEE_OFF_CRITICAL

MELEE_MAIN_CRITICAL

PHYSICAL_HIT

PHYSICAL_HIT_RATE

PHYSICAL_OFF_HIT

PHYSICAL_MAIN_HIT

RANGE_DAMAGE

RANGE_ATTACK

RANGE_CRITICAL

RANGE_HIT

PHYSICAL_DEFENCE

PHYSICAL_SHIELDBLOCK

PHYSICAL_PARRY

PHYSICAL_DODGE

PHYSICAL_RESIST_CRITICAL

MAGIC_DAMAGE

MAGIC_ATTACK

MAGIC_CRITICAL

MAGIC_HEAL

MAGIC_HIT

MAGIC_HIT_RATE

MAGIC_DEFENCE

MAGIC_DODGE

MAGIC_RESIST_CRITICAL

DPS

STR

AGI (Dexterity)

STA

INT

MND (Wisdom)

Returns

 * num_attrib_value
 * int = The attribute value.
 * num_enchanted_value
 * int = the enchantment value, the + value of enchants and what not.
 * num_percentage_value
 * float = the percentage value of for instance, critical hit chance.