Hello. Sorry if this has already been posted but I have been looking for the past few days and found nothing.
gmcp.Char.Skills
- keeps a list of ALL skills but in other muds I have played it only
keeps the skills you have rather then ALL skills for that skillset.
I have a script to capture what skills are in GMCP Currently (lets say for weaponry has I have 0 skills in it), it shows
weaponry = {
"Proficiencies",
"Targeting",
"Weaponprobe",
"Parrying",
"Decapitate",
"Envenom",
"Throw",
"Targetthrow",
"Shatter",
"Behead"
}, - shows as trans
Does anyone know how to cancel out the skills you DONT have?
function parse_skillsets()
charskills = {}
charskills.list = {}
for _, set in ipairs(gmcp.Char.Skills.Groups) do
local skills = string.format("Char.Skills.Get %s", yajl.to_string({ group = set.name }))
sendGMCP(skills)
end
send("\n")
end
With the event handler set to ' gmcp.Char.Skills.Groups ' I've never had this before in the other IRE muds,
the feed back I get from that mud is
Weaponry = {
"Proficiencies",
"WeaponProbe",
"Weaponbelts",
"Targeting",
"Quickwield",
"Armaments",
"Parrying"
} -- not trans
0
Comments
If you want to do that, you'll have to individually parse the skills to determine the ones you don't have. The way wundersys does it is like so:
That'll tell GMCP to check the skill you want. From there it uses another function that does the following to determine whether or not you have it.
Oh found it <
Thank you so much for helping