From 6343274ad8e270888df854926bc47a0bc5713f47 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 30 May 2006 04:07:27 +0000 Subject: - Changed status_heal and status_damage to receive signed int values. They will invoke each other as needed when the passed values are negative. - Updated battle_calc_attack to set atk type to ATK_FLEE and dmotion to 0 when the damage is less than 1 (missed or absorbed) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6832 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battle.h') diff --git a/src/map/battle.h b/src/map/battle.h index 2b5da6f0a..3b386b42e 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -11,7 +11,7 @@ struct Damage { int amotion,dmotion; int blewcount; int flag; - int dmg_lv; //囲まれ減算計算用 0:スキル攻撃 ATK_LUCKY,ATK_FLEE,ATK_DEF + int dmg_lv; //ATK_LUCKY,ATK_FLEE,ATK_DEF }; // 属性表(読み込みはpc.c、battle_attr_fixで使用) -- cgit v1.2.3-60-g2f50