diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/battle.c | 2 | ||||
-rw-r--r-- | src/map/skill.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index f05edf291..9976d3d9b 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -245,7 +245,7 @@ int battle_damage(struct block_list *src,struct block_list *target,int damage, i switch (target->type)
{
case BL_MOB:
- r_damage = mob_damage(src,(TBL_MOB*)target, damage,0);
+ r_damage = mob_damage(src,(TBL_MOB*)target, damage,flag&2?3:0);
break;
case BL_PC:
r_damage = pc_damage(src,(TBL_PC*)target,damage);
diff --git a/src/map/skill.c b/src/map/skill.c index 678aaac42..e1f5b52ac 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4910,7 +4910,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case NPC_SUICIDE: /* Ž©Œˆ */
clif_skill_nodamage(src,bl,skillid,skilllv,1);
- battle_damage(NULL, src,status_get_hp(src),0,3); //Suicidal Mobs should give neither exp (flag&1) not items (flag&2) [Skotlex]
+ battle_damage(NULL, src,status_get_hp(src),0,3); //Suicidal Mobs should give neither exp nor items. (flag&2 passed to battle_damage) [Skotlex]
break;
case NPC_SUMMONSLAVE: /* Žè‰º?¢Š« */
|