Difference between revisions of "Bonus"

From Hercules Wiki
Jump to: navigation, search
(Created page with "Category:Script_Command ==Syntax== * bonus <bonus type>,<val1>; * bonus2 <bonus type>,<val1>,<val2>; * bonus3 <bonus type>,<val1>,<val2>,<val3>; * bonus4 <...")
 
Line 10: Line 10:
 
outside item scripts, but the bonus will not persist for long. They, as  
 
outside item scripts, but the bonus will not persist for long. They, as  
 
expected, refer only to an invoking character.
 
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 {{svn|trunk/doc/item_bonus.txt}}.
 

Revision as of 12:24, 29 May 2013

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.