diff options
author | Haru <haru@dotalux.com> | 2015-01-21 13:35:59 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-01-23 03:53:38 +0100 |
commit | 5e4e0603799f170dcf985a57933110cd6ba3017a (patch) | |
tree | f334cbaf77b5cc54059c37f1a1b4463197682c5b /doc | |
parent | 69c90e54ae1ee7374c59d65c91f0d20ce628ec9e (diff) | |
download | hercules-5e4e0603799f170dcf985a57933110cd6ba3017a.tar.gz hercules-5e4e0603799f170dcf985a57933110cd6ba3017a.tar.bz2 hercules-5e4e0603799f170dcf985a57933110cd6ba3017a.tar.xz hercules-5e4e0603799f170dcf985a57933110cd6ba3017a.zip |
Merged petskillattack and petskillattack2.
Existing custom scripts will need edits. In a nutshell:
- Existing calls to `petskillattack` should be changed to specify an
extra <number of attacks> argument (after <skill level>), set to 0.
- Existing calls to `petskillattack2` should be changed to
`petskillattack`, keeping the same arguments.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 90452751a..028c12791 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -8024,8 +8024,8 @@ meant to be executed from pet scripts. They will modify the pet AI decision-making for the current pet of the invoking character, and will NOT have any independent effect by themselves, which is why only one of them each may be in effect at any time for a specific pet. A pet may -have 'petloot', 'petskillbonus', 'petskillattack' OR 'petpetskillattack2' -and 'petskillsupport' at the same time. +have 'petloot', 'petskillbonus', 'petskillattack' and 'petskillsupport' at the +same time. *petskillbonus <bonus type>,<value>,<duration>,<delay>; @@ -8056,16 +8056,14 @@ time between activations. The skill numbers are as per It's not quite certain who's stats will be used for the skills cast, the character's or the pets. Probably, Skotlex can answer that question. -*petskillattack <skill id>,<skill level>,<rate>,<bonusrate>; -*petskillattack "<skill name>",<skill level>,<rate>,<bonusrate>; -*petskillattack2 <skill id>,<damage>,<number of attacks>,<rate>,<bonusrate>; -*petskillattack2 "<skill name>",<damage>,<number of attacks>,<rate>,<bonusrate>; +*petskillattack <skill id>,<damage>,<number of attacks>,<rate>,<bonusrate>; +*petskillattack "<skill name>",<damage>,<number of attacks>,<rate>,<bonusrate>; -These two commands will make the pet cast an attack skill on the enemy the -pet's owner is currently fighting. Skill IDs and levels are as per -'petskillsupport'. -'petskillattack2' will make the pet cast the skill with a fixed amount of -damage inflicted and the specified number of attacks. +This command will make the pet cast an attack skill on the enemy the pet's +owner is currently fighting. Skill IDs and levels are as per 'petskillsupport'. +If <number of attacks> is specified different than 0, it will make the pet cast +the skill with a fixed amount of damage inflicted and the specified number of +attacks. A value of zero uses the skill's defaults. All commands with delays and durations will only make the behavior active for the specified duration of seconds, with a delay of the specified |