diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-11 14:01:04 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-11 14:01:04 +0000 |
commit | 630838a54cc2406ecbc21089800f702ac816673d (patch) | |
tree | 1701a5af9a69f68b033e1f0154dfa79866d446e2 /src/map/skill.c | |
parent | 93fcb74029252a194664e7498b1d3ca8f5d802c3 (diff) | |
download | hercules-630838a54cc2406ecbc21089800f702ac816673d.tar.gz hercules-630838a54cc2406ecbc21089800f702ac816673d.tar.bz2 hercules-630838a54cc2406ecbc21089800f702ac816673d.tar.xz hercules-630838a54cc2406ecbc21089800f702ac816673d.zip |
- Fixed Looted items always dropping in quantities of 1.
- Removed the check that deletes Magnus Exorcism cells after they hit once.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5984 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 66332bac5..f0964ec01 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6827,7 +6827,6 @@ int skill_unit_onplace_timer(struct skill_unit *src,struct block_list *bl,unsign if (!battle_check_undead(race,status_get_elem_type(bl)) && race!=6)
break;
skill_attack(BF_MAGIC,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
- src->val2++;
break;
}
@@ -9615,11 +9614,13 @@ int skill_unit_timer_sub( struct block_list *bl, va_list ap ) group->bl_flag,bl,tick);
if (!unit->alive)
return 0;
+ /*Apparently magnus shouldn't get it's cells deleted like this. [Skotlex]
// ƒ}ƒOƒkƒX‚Í”“®‚µ‚½ƒ†ƒjƒbƒg‚Í?í?œ‚·‚é
if (group->skill_id==PR_MAGNUS && unit->val2) {
skill_delunit(unit);
return 0;
}
+ */
}
/* ŽžŠÔ?Ø‚ê?í?œ */
if((DIFF_TICK(tick,group->tick)>=group->limit || DIFF_TICK(tick,group->tick)>=unit->limit)){
|