Itemskill

From Hercules Wiki
Jump to: navigation, search
This article may need to be updated. Please update this article to reflect recent events or newly available information, and remove this template when finished. Please see the talk page for more information.

Syntax

  • itemskill <skill id>, <skill level>;
  • itemskill <"skill name">, <skill level>;

Description

This command meant for item scripts to replicate single-use skills in usable items. It will not work properly, if there is a visible dialog window or menu. If the skill is self or auto-targeting, it will be used immediately otherwise a target cursor is shown.

Examples

605,Anodyne,Anodyne,11,2000,0,100,,,,,10477567,2,,,,,{ itemskill 8,1; },{}

When Anodyne is used, it will cast Endure (8), Level 1, as if the actual skill has been used from skill tree.