-
Notifications
You must be signed in to change notification settings - Fork 20
player.skills
Stjepan Bakrac edited this page May 22, 2020
·
3 revisions
Player skills can be indexed by skill id, skill name, or by category name.
great_sword = player.skills["Great Sword"]
print(great_sword.level, great_sword.capped)
magic, combat, and puppet skills return a table containing:
- level : A number repersenting the skills current level.
- capped : A boolean representing the if the skill is capped. true = capped, false = uncapped.
goldsmithing = player.skills.Goldsmithing
print(goldsmithing.level, goldsmithing.rank_id, goldsmithing.capped)
crafting skills return a table containing:
- level : A number repersenting the skills current level.
- rank_id : A number representing the skills current rank id.
- capped : A boolean representing the if the skill is capped. true = capped, false = uncapped.
combat_skills = player.skills.Combat
for id, skill in pairs(combat_skills) do
print("Combat Skill: ", id, skill.level, skill.capped)
end
Indexing the skills table with a category returns a table containing skill matching the category indexed.
The tabel returned can be indexed by skill ID or skill name.
- Background and Architecture
- Windower Data Locations
- Code Standards and Guidelines
- Addon Development
- Windower Commands
- Packet Tutorial
- burdometer
- config
- delay_me_not
- distance
- dress_up
- enternity
- fps
- ime
- logger
- party_time
- paste
- pouches
- send
- shortcuts
- speedometer
- target_info
- terminate
- timestamp
- window_title
- Game
- Windower
- General