Bonus

From Hercules Wiki
Revision as of 07:08, 9 June 2013 by Via (Talk | contribs)

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

Contents

Syntax

  • bonus <bonus type>,<val1>;
  • bonus2 <bonus type>,<val1>,<val2>;
  • bonus3 <bonus type>,<val1>,<val2>,<val3>;
  • bonus4 <bonus type>,<val1>,<val2>,<val3>,<val4>;
  • bonus5 <bonus type>,<val1>,<val2>,<val3>,<val4>,<val5>;

Description

These commands are meant to be used in item scripts. They will probably work outside item scripts, but the bonus will not persist for long. They, as expected, refer only to an invoking character.

Parameters

Bonus Type

You can find the full list of possible bonuses types and which values to use for each kind in doc/item_bonus.txt.