Itemskill

From Hercules Wiki
Revision as of 12:49, 22 June 2013 by Via (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.