Skill: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Aventuristo
Replaced redirect with skill content
imported>Aventuristo
Add to Data Types category
 
Line 115: Line 115:
|}
|}


[[Category:Scripting]]
[[Category:Scripting]] [[Category:Data Types]]

Latest revision as of 00:49, 30 September 2017


This datatype represents any skill you can have in KoL, whether permable or not, granted by items, etc.

The full range, besides $skill[ none ], is too much to list and keep up with here: please see the Wiki Skills page for more information.

Related Functions

int adv_cost( skill )

boolean have_skill( skill )

boolean is_trendy( item/familiar/skill/string )

boolean is_unrestricted( item/familiar/skill/string )

string last_skill_message()

int mp_cost( skill )

float numeric_modifier( skill, string )

int rain_cost( skill )

int soulsauce_cost( skill )

skill stun_skill()

int thunder_cost( skill )

effect to_effect( skill )

skill to_skill( effect )

skill to_skill( int )

skill to_skill( strict_string )

skill to_slot( strict_string )

int turns_per_cast( skill )

boolean use_skill( int, skill, [string] )

buffer use_skill( skill )


Proxy Record Fields

Here are the proxy record fields for skills. Proxy records are discussed in more detail here.

Field Data type Default value ASH Accessor Function / Notes
level int -1
image string none
traincost int 0
class class none
libram boolean false
passive boolean false
buff boolean false
combat boolean false
song boolean false Avatar of Boris song
expression boolean false
summon boolean false
permable boolean true
dailylimit int -1
timescast int 0