summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-27 16:14:00 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-27 16:14:00 +0000
commit32645379b64e7dcad23574c0562c61f7416ebce4 (patch)
treed5fdb52bf708268150367bdcb69e1375782d5d49 /src/map/skill.c
parent50e31d2860fe8f754d186a35ac1b4b61f653af5a (diff)
downloadhercules-32645379b64e7dcad23574c0562c61f7416ebce4.tar.gz
hercules-32645379b64e7dcad23574c0562c61f7416ebce4.tar.bz2
hercules-32645379b64e7dcad23574c0562c61f7416ebce4.tar.xz
hercules-32645379b64e7dcad23574c0562c61f7416ebce4.zip
- HW_GANBANTEIN now also removes traps.
- PF_DOUBLECASTING takes effect amotion time after the initial cast instead of amotion*div - SG_KNOWLEDGE now lasts time1 after you quit a map before it clears out (defaults to 10 mins currently) - Modified Intravision to modify the status-change packet to specify SI_INTRAVISION instead of cloaking/hiding/chasewalk. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5774 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 992ed9ea1..d6ca85447 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2024,7 +2024,8 @@ int skill_attack( int attack_type, struct block_list* src, struct block_list *ds
sc->count && sc->data[SC_DOUBLECAST].timer != -1 &&
rand() % 100 < 40+10*sc->data[SC_DOUBLECAST].val1)
{
- skill_addtimerskill(src, tick + dmg.div_*dmg.amotion, bl->id, 0, 0, skillid, skilllv, BF_MAGIC, flag|1);
+// skill_addtimerskill(src, tick + dmg.div_*dmg.amotion, bl->id, 0, 0, skillid, skilllv, BF_MAGIC, flag|1);
+ skill_addtimerskill(src, tick + dmg.amotion, bl->id, 0, 0, skillid, skilllv, BF_MAGIC, flag|1);
}
map_freeblock_unlock();
@@ -9005,8 +9006,9 @@ int skill_ganbatein(struct block_list *bl, va_list ap )
if ((unit = (struct skill_unit *)bl) == NULL || unit->group == NULL)
return 0;
- if (skill_get_inf2(unit->group->skill_id)&INF2_TRAP)
- return 0; //Do not remove traps.
+// Apparently, it REMOVES traps.
+// if (skill_get_inf2(unit->group->skill_id)&INF2_TRAP)
+// return 0; //Do not remove traps.
if (unit->group->skill_id == SA_LANDPROTECTOR)
skill_delunit(unit);