summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-03 22:49:11 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-03 22:49:11 +0000
commit9f78557c7742eeb630ba5ae7b6e72d8c56a5b5b1 (patch)
treeb0dbd43762e81aaf914231e200741eddf24a9851 /src/map/skill.c
parent9aff15a57af029d3ec66fa9a038cdb4ba265ce3e (diff)
downloadhercules-9f78557c7742eeb630ba5ae7b6e72d8c56a5b5b1.tar.gz
hercules-9f78557c7742eeb630ba5ae7b6e72d8c56a5b5b1.tar.bz2
hercules-9f78557c7742eeb630ba5ae7b6e72d8c56a5b5b1.tar.xz
hercules-9f78557c7742eeb630ba5ae7b6e72d8c56a5b5b1.zip
* Added the code for Field Manual (SC_BONUSEXP) and Bubble Gum (SC_BONUSDROP)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11351 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 8541bc01c..47a591eed 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4825,6 +4825,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case SC_CARTBOOST: case SC_MELTDOWN: case SC_SAFETYWALL:
case SC_SMA: case SC_SPEEDUP0: case SC_NOCHAT:
case SC_ANKLE: case SC_SPIDERWEB: case SC_JAILED:
+ case SC_BONUSDROP: case SC_BONUSEXP: // [ConvexMirror and FieldGuide]
continue;
}
if(i==SC_BERSERK) tsc->data[i].val2=0; //Mark a dispelled berserk to avoid setting hp to 100 by setting hp penalty to 0.
@@ -5586,8 +5587,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
for(i = 0; i < g->max_member; i++, j++) {
if (j>8) j=0;
if ((dstsd = g->member[i].sd) != NULL && sd != dstsd) {
- if (map[dstsd->bl.m].flag.nowarp && !map_flag_gvg(dstsd->bl.m))
- continue;
+ if (map[dstsd->bl.m].flag.nowarp && !map_flag_gvg(dstsd->bl.m))
+ continue;
if(map_getcell(src->m,src->x+dx[j],src->y+dy[j],CELL_CHKNOREACH))
dx[j] = dy[j] = 0;
pc_setpos(dstsd, map[src->m].index, src->x+dx[j], src->y+dy[j], 2);