From 890930b7296683744525d43f8a914f20704c461a Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Tue, 17 Aug 2010 00:48:37 +0000 Subject: * Attempting to tackle, and fix some simple errors in skills. - Stormgust hit counter no longer resets under new casts of stormgust. - RG_STEALCOIN will now cause the monster to aggro player on success. (bugreport:3547) - SL_WIZARD will now consume one crystal fragement per reflected hit. (bugreport:3603) - WZ_FROSTNOVA will now ignore targets in area that are already frozen. (bugreport:3980) - SL_KAAHI will no longer uses SP if player has full health already. (bugreport:3918) - CG_TAROTCARD "The Lovers" will heal source player instead of target. (bugreport:4171) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14378 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 3ed1aa33c..0f800b759 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3052,7 +3052,7 @@ enum damage_lv battle_weapon_attack(struct block_list* src, struct block_list* t return (damage_lv)skill_attack(BF_MAGIC,src,src,target,NPC_MAGICALATTACK,sc->data[SC_MAGICALATTACK]->val1,tick,0); } - if(tsc && tsc->data[SC_KAAHI] && tsc->data[SC_KAAHI]->val4 == -1) + if(tsc && tsc->data[SC_KAAHI] && tsc->data[SC_KAAHI]->val4 == -1 && tstatus->hp < tstatus->max_hp) tsc->data[SC_KAAHI]->val4 = add_timer(tick + skill_get_time2(SL_KAAHI,tsc->data[SC_KAAHI]->val1), kaahi_heal_timer, target->id, SC_KAAHI); //Activate heal. wd = battle_calc_attack(BF_WEAPON, src, target, 0, 0, flag); -- cgit v1.2.3-60-g2f50