%skillGetId()

Aliases%skillGetId( )
Parametersstring @skillName

    This function can be used to get the internal ID associated with a skill.
This can be useful when manipulating the affects on items or mobiles. When
possible it is better to use the skill name, but at times accessing its
internal ID can be useful.

Example:

if( %isValid( (@buff = %buffGetByLabel( @item, "skillBonus" )) ) )
{
@skillId = %skillGetId( "lightning bolt" )
@buff->typeExtra = @skillId
}
endif