diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-25 20:47:26 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-25 20:47:26 +0000 |
commit | 97162fc3c49631a054532b3ad135cbf24198010f (patch) | |
tree | 2e0d341d62ccb93eb727e9f5b6aed187d9649c73 /src/map/skill.c | |
parent | d8d64f4cc916a6574a4e05f4b188bdcb110e03b3 (diff) | |
download | hercules-97162fc3c49631a054532b3ad135cbf24198010f.tar.gz hercules-97162fc3c49631a054532b3ad135cbf24198010f.tar.bz2 hercules-97162fc3c49631a054532b3ad135cbf24198010f.tar.xz hercules-97162fc3c49631a054532b3ad135cbf24198010f.zip |
- When battle_damage's flag is &2, the flag 3 is passed to mob_damage so that it won't give exp nor items. NPC_SUICIDE was updated to reflect this.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6282 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: /* Žè‰º?¢Š« */
|