summaryrefslogtreecommitdiff
path: root/db/pet_db2.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-01-21 13:35:59 +0100
committerHaru <haru@dotalux.com>2015-01-23 03:53:38 +0100
commit5e4e0603799f170dcf985a57933110cd6ba3017a (patch)
treef334cbaf77b5cc54059c37f1a1b4463197682c5b /db/pet_db2.txt
parent69c90e54ae1ee7374c59d65c91f0d20ce628ec9e (diff)
downloadhercules-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 'db/pet_db2.txt')
-rw-r--r--db/pet_db2.txt14
1 files changed, 6 insertions, 8 deletions
diff --git a/db/pet_db2.txt b/db/pet_db2.txt
index ca5e4e14a..cf2248dc4 100644
--- a/db/pet_db2.txt
+++ b/db/pet_db2.txt
@@ -30,14 +30,12 @@
//In theory you can use any valid script, but it is run only once upon pet
//loading, so it is recommended you use the specific pet scripts:
-//petskillattack skillid, skilllv, rate, bonusrate
+//petskillattack skillid, skilllv, hits, rate, bonusrate
//Skill attack that triggers while the pet is attacking. Rate is the base
//chance of execution per attack. Bonusrate is an additional success rate when
-//intimacy reaches max.
-
-//petskillattack2 skillid, damage, hits, rate, bonusrate
-//Same as petskillattack, but the damage and number of hits is fixed
-//the damage specified is total, not per hit.
+//intimacy reaches max. If hits is specified and different than 0, it will make
+//the pet cast the skill with a fixed amount of damage inflicted and the
+//specified number of hits. A value of zero uses the skill's defaults.
//petskillsupport skillid, skilllv, delay, hp%, sp%
//Casts a support skill when the health levels are below the specified hp% and
@@ -50,6 +48,6 @@
//amount by which it is increased, duration signals how long the bonus lasts
//delay is the time elapsed after the bonus ends and before it starts again.
-//A single pet can have petloot, petskillbonus, petskillattack (or
-//petskillattack2) and petskillsupport at the same time, but only one of each.
+//A single pet can have petloot, petskillbonus, petskillattack and
+//petskillsupport at the same time, but only one of each.