diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-30 06:01:16 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-30 06:01:16 +0000 |
commit | f11d79e00eeeffc1a7be0d75b78f580e396b2e7a (patch) | |
tree | c849129758118b86221ba09ec6b5832ad46b5354 /src/map/battle.c | |
parent | cafe5e222686411dbfd080eb1efa1083850e60c2 (diff) | |
download | hercules-f11d79e00eeeffc1a7be0d75b78f580e396b2e7a.tar.gz hercules-f11d79e00eeeffc1a7be0d75b78f580e396b2e7a.tar.bz2 hercules-f11d79e00eeeffc1a7be0d75b78f580e396b2e7a.tar.xz hercules-f11d79e00eeeffc1a7be0d75b78f580e396b2e7a.zip |
- Removed attack_type from sd->state structure (it's only use was for soul-drain!)
- Moved the soul-drain code to skill_counter_additionaleffect
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6392 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index cf1d06a7f..521753a25 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1050,7 +1050,6 @@ static struct Damage battle_calc_weapon_attack( }
if(sd) {
- sd->state.attack_type = BF_WEAPON;
if (sd->skillblown[0].id != 0)
{ //Apply the bonus blewcount. [Skotlex]
for (i = 0; i < 5 && sd->skillblown[i].id != 0 && sd->skillblown[i].id != skill_num; i++);
@@ -2385,7 +2384,6 @@ struct Damage battle_calc_magic_attack( //Set miscellaneous data that needs be filled
if(sd) {
- sd->state.attack_type = BF_MAGIC;
sd->state.arrow_atk = 0;
if (sd->skillblown[0].id != 0)
{ //Apply the bonus blewcount. [Skotlex]
@@ -2762,7 +2760,6 @@ struct Damage battle_calc_misc_attack( md.dmg_lv=ATK_DEF;
if( bl->type == BL_PC && (sd=(struct map_session_data *)bl) ) {
- sd->state.attack_type = BF_MISC;
sd->state.arrow_atk = 0;
if (sd->skillblown[0].id != 0)
{ //Apply the bonus blewcount. [Skotlex]
|