summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorMichieru <michieru@0-mail.com>2014-03-01 02:10:14 -0800
committerMichieru <michieru@0-mail.com>2014-03-01 02:10:14 -0800
commit15a4395a2f2de8629a21b08ac6b9ec363ad94de3 (patch)
tree8058916b2337d2ced9f9122075d2b41e1ef6f878 /src/map
parentc5030d3869c8f469c97e0521778ebb93196149fa (diff)
downloadhercules-15a4395a2f2de8629a21b08ac6b9ec363ad94de3.tar.gz
hercules-15a4395a2f2de8629a21b08ac6b9ec363ad94de3.tar.bz2
hercules-15a4395a2f2de8629a21b08ac6b9ec363ad94de3.tar.xz
hercules-15a4395a2f2de8629a21b08ac6b9ec363ad94de3.zip
Fix Bug 8029
http://hercules.ws/board/tracker/issue-8029-after-svn-update-my-db-skill-becomes-500-2k-damage/
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c2
-rw-r--r--src/map/status.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 064b18bdf..9f03fcd20 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4029,7 +4029,7 @@ int skill_castend_damage_id(struct block_list* src, struct block_list *bl, uint1
if( (tsc = status->get_sc(bl)) && (tsc->data[SC_HIDING] )) {
clif->skill_nodamage(src,src,skill_id,skill_lv,1);
} else
- skill->attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,flag);
+ skill->attack(BF_MISC,src,src,bl,skill_id,skill_lv,tick,flag);
}
break;
case NPC_SELFDESTRUCTION: {
diff --git a/src/map/status.c b/src/map/status.c
index f4991cff2..6b8282a4e 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -525,7 +525,7 @@ void initChangeTables(void) {
set_sc( RK_DRAGONHOWLING , SC_FEAR , SI_BLANK , SCB_FLEE|SCB_HIT );
set_sc( RK_DEATHBOUND , SC_DEATHBOUND , SI_DEATHBOUND , SCB_NONE );
set_sc( RK_WINDCUTTER , SC_FEAR , SI_BLANK , SCB_FLEE|SCB_HIT );
- set_sc( RK_DRAGONBREATH , SC_BURNING , SI_BLANK , SCB_MDEF );
+ add_sc( RK_DRAGONBREATH , SC_BURNING );
set_sc( RK_MILLENNIUMSHIELD , SC_MILLENNIUMSHIELD , SI_BLANK , SCB_NONE );
set_sc( RK_REFRESH , SC_REFRESH , SI_REFRESH , SCB_NONE );
set_sc( RK_GIANTGROWTH , SC_GIANTGROWTH , SI_GIANTGROWTH , SCB_STR );