From f53414bdbfa5f1364aec6a9ddbef8287e544aad9 Mon Sep 17 00:00:00 2001 From: Inkfish Date: Mon, 29 Jun 2009 12:47:21 +0000 Subject: * Fixed attack not counted as connect when dodged and got damage from skill bonus like Weaponry Research. * Corrected the description for vit_penalty_type. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13918 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 505d37373..3e0a9556e 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2790,6 +2790,8 @@ struct Damage battle_calc_attack(int attack_type,struct block_list *bl,struct bl d.dmg_lv = ATK_MISS; d.dmotion = 0; } + else // Some skills like Weaponry Research will cause damage even if attack is dodged + d.dmg_lv = ATK_DEF; return d; } -- cgit v1.2.3-70-g09d2