Page 1 of 1

Memory decomposition of skills

Posted: Sat Sep 12, 2015 8:03 am
by Iyfgf
For those that are interested, attached is a script to read out skills from memory.

For testing try one of the following:

Code: Select all

s = FindSkill(id)
PrintSkill(s)
-or-
s = FindSkill(id)
DumpTableEntry(s)
-or-
PrintMySkills()
Ex:

Code: Select all

Command> s = FindSkill(491142)
Command> PrintSkill(s)
Skill name       : Tactical Attack
Skill type       : Physical
Target type      : Enemy
Attack distance  : 50
Area affected    : 5
Cast time        : 0s
Cooldown         : 5s
Global Cooldown  : 1s

Cost:
        SP_Warrior(15)
Prereq:
        2H_Weapon(0)
Subskills:
        [0, 0]  [501514]
        [1, 0]  [501514] if TargetBuff(100, 'Bleed' [500081])
Command>
regards Iyf

Changes 0.1
Added the DumpSkillXML and PrintMySkills() using the DB XML format.