From 8304213efbff057813e058a588cfac7a8168dca1 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 23 Feb 2006 21:33:35 +0000 Subject: - Added mob skill conditions myhpinrate and friendhpinrate for using HP ranges instead of a fixed "less than" condition. - Added mob_ai condition &16, enables skills that are normally used on 'friends' to also pick up caster as target. - Fixed npc_shopid not being reset to 0 when buying/selling. FIXME: The client sends a packet when you cancel? It is required so that npc_shopid will be cleared and prevent the player from being stuck. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5380 54d463be-8e91-2dee-dedb-b68131a5f0ec --- db/mob_skill_db.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'db') diff --git a/db/mob_skill_db.txt b/db/mob_skill_db.txt index b6a231f67..d9618ab9d 100644 --- a/db/mob_skill_db.txt +++ b/db/mob_skill_db.txt @@ -28,9 +28,13 @@ // always unconditional // onspawn when the mob spawns/respawns. // myhpltmaxrate when the mob's hp drops to a certain % +// myhpinrate when the mob's hp is in a certain % range ('a condition value' +// is the lower cap, while 'a value 1' is the upper cap). // mystatuson If the mob has any abnormalities in status (condition value), // mystatusoff If the mob has ended any abnormalities in status (condition value), -// friendhpltmaxrate when the mobs' friend's hp drops to a certain % +// friendhpltmaxrate when the mob's friend's hp drops to a certain % +// friendhpinrate when the mob's friend's hp is in a certain % range (range +// defined the same way as in myhpinrate) // friendstatuson If the friend has any abnormalities in status (condition value), // friendstatusoff If the friend has ended any abnormalities in status (condition value), // attackpcgt Attack PC becomes more than the number of specification -- cgit v1.2.3-70-g09d2