zarqon
Well-known member
In the "classskills.txt" data file, one of the fields (an integer) contains an integer identifying the skill category:
The above is from my comments in a mana-burning routine. Such a script would generally want to include types 1, 3, and 4, but exclude types 0, 2, and 5.
Here are the available fields:
We have fields to identify types 0, 4, and 5 but not to identify types 1, 2, and 3. Thus, at present I still need to parse the data file.
I'd like to request that all of the above info be available somehow. Whether that takes the form of more boolean fields for "summon", "restore", and "self", or an integer field "skilltype" or somesuch that simply returns the above number -- so long as that info is available in the proxy record fields I'm happy.
Code:
// int: skill type
// 0 - passive not castable
// 1 - summon castable, oft limited, 1st pref
// 2 - restore not used here
// 3 - self-only buff castable, 2nd pref
// 4 - buff castable, 3rd pref
// 5 - combat not castable
The above is from my comments in a mana-burning routine. Such a script would generally want to include types 1, 3, and 4, but exclude types 0, 2, and 5.
Here are the available fields:
> ash $skill[timberwolf]
Returned: Snarl of the Timberwolf
level => -1
traincost => 0
class => Seal Clubber
libram => false
passive => false
buff => false
combat => false
permable => true
We have fields to identify types 0, 4, and 5 but not to identify types 1, 2, and 3. Thus, at present I still need to parse the data file.
I'd like to request that all of the above info be available somehow. Whether that takes the form of more boolean fields for "summon", "restore", and "self", or an integer field "skilltype" or somesuch that simply returns the above number -- so long as that info is available in the proxy record fields I'm happy.
