Wrong documentation 4cf7acc65203acef252d6f299ab01e14acf2f007 :P

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
This commit is contained in:
Cydh Ramdh 2015-02-13 16:12:07 +07:00
parent 4cf7acc652
commit ebc009e252

View File

@ -1630,14 +1630,14 @@ int status_heal(struct block_list *bl,int64 hhp,int64 hsp, int flag)
/**
* Applies percentage based damage to a unit.
* If a mob is killed this way and there is no src, no EXP/Drops will be awarded.
* Rate < 0 means adding the the HP/SP
* @param src: Object initiating HP/SP modification [PC|MOB|PET|HOM|MER|ELEM]
* @param target: Object to modify HP/SP
* @param hp_rate: Percentage of HP to modify
* @param sp_rate: Percentage of SP to modify
* @param flag: \n
* 0: Heal target \n
* 2: Target must not die from subtraction
* 1: Use status_damage \n
* 2: Use status_damage and make sure target must not die from subtraction
* @return hp+sp through status_heal()
*/
int status_percent_change(struct block_list *src, struct block_list *target, int8 hp_rate, int8 sp_rate, uint8 flag)