Difference between revisions of "Bonus"
From Hercules Wiki
(Created page with "Category:Script_Command ==Syntax== * bonus <bonus type>,<val1>; * bonus2 <bonus type>,<val1>,<val2>; * bonus3 <bonus type>,<val1>,<val2>,<val3>; * bonus4 <...") |
|||
(One intermediate revision by one user not shown) | |||
Line 12: | Line 12: | ||
==Parameters== | ==Parameters== | ||
===Bonus Type=== | ===Bonus Type=== | ||
− | You can find the full list of possible bonuses types and which values to use for each kind in {{ | + | You can find the full list of possible bonuses types and which values to use for each kind in {{git|doc/item_bonus.txt}}. |
Latest revision as of 07:08, 9 June 2013
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.