diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-30 04:07:27 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-30 04:07:27 +0000 |
commit | 6343274ad8e270888df854926bc47a0bc5713f47 (patch) | |
tree | c33b3baa689b1f352ed75fc57ba7645bd1edce78 /src/map/battle.h | |
parent | cf4023f83aa1e2f5ed3009f0e7d020e387d6ef57 (diff) | |
download | hercules-6343274ad8e270888df854926bc47a0bc5713f47.tar.gz hercules-6343274ad8e270888df854926bc47a0bc5713f47.tar.bz2 hercules-6343274ad8e270888df854926bc47a0bc5713f47.tar.xz hercules-6343274ad8e270888df854926bc47a0bc5713f47.zip |
- 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
Diffstat (limited to 'src/map/battle.h')
-rw-r--r-- | src/map/battle.h | 2 |
1 files changed, 1 insertions, 1 deletions
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で使用)
|