summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-10 13:22:53 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-10 13:22:53 +0000
commitaed37a61e497eb8ec22d89e627882da69a8a7355 (patch)
tree430da9df80009e8ee57b5db93434a68a26760265 /src/map/skill.c
parent1937aba62081e8d39de0f9cc80ffa19c99e6a5ce (diff)
downloadhercules-aed37a61e497eb8ec22d89e627882da69a8a7355.tar.gz
hercules-aed37a61e497eb8ec22d89e627882da69a8a7355.tar.bz2
hercules-aed37a61e497eb8ec22d89e627882da69a8a7355.tar.xz
hercules-aed37a61e497eb8ec22d89e627882da69a8a7355.zip
Some skill corrections based on bugreport:1945
- enabled WZ_FIREWALL and NJ_KAENSIN effect stacking (for more damage) - blocked stacking of Warp Portal and Flip Tatami land skills - reverted r12798's land-protector code change (incorrect and also doesn't have any effect) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13064 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 8385754d1..01c71d52c 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6586,8 +6586,7 @@ static int skill_unit_onplace (struct skill_unit *src, struct block_list *bl, un
nullpo_retr(0, sg=src->group);
nullpo_retr(0, ss=map_id2bl(sg->src_id));
- if (skill_get_type(sg->skill_id) == BF_MAGIC && map_getcell(bl->m, bl->x, bl->y, CELL_CHKLANDPROTECTOR)
- && !skill_get_inf2(sg->skill_id) == INF2_TRAP) //Traps work on top of land protector, magical or not [Brain]
+ if( skill_get_type(sg->skill_id) == BF_MAGIC && map_getcell(bl->m, bl->x, bl->y, CELL_CHKLANDPROTECTOR) && sg->skill_id != SA_LANDPROTECTOR )
return 0; //AoE skills are ineffective. [Skotlex]
sc = status_get_sc(bl);