summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-30 20:31:28 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-30 20:31:28 +0000
commitfc9bda5ac3dff71807027e0b09aae72f817909a0 (patch)
treee1c32192b84f6592b84f0d0b322752e0c155c117 /src/map/skill.c
parent5d2225fbbf84324c1cf370bb11776b1c0a671b4a (diff)
downloadhercules-fc9bda5ac3dff71807027e0b09aae72f817909a0.tar.gz
hercules-fc9bda5ac3dff71807027e0b09aae72f817909a0.tar.bz2
hercules-fc9bda5ac3dff71807027e0b09aae72f817909a0.tar.xz
hercules-fc9bda5ac3dff71807027e0b09aae72f817909a0.zip
- Corrected GS skill ranges using Aegis data. All their targetted skills have a base range of 9 T_T, and Dust (Choke) has a range of 2.
- Updated the code so mobs can use ChainAction as a targetted skill. - Added GroundDrift effects for Wind (Stun) and Fire (knockback). The knockback value is unknown, so 3 is used for now. - Cleaned up some more the steal code, now you can't steal the last slot regardless of skill level used. - Added consideration of Chain Action when cloning GunSlingers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9100 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 3c8a956e8..724c915ba 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2714,6 +2714,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
case HT_POWER:
case TK_DOWNKICK:
case TK_COUNTER:
+ case GS_CHAINACTION:
case GS_TRIPLEACTION:
case GS_MAGICALBULLET:
case GS_TRACKING:
@@ -7317,6 +7318,9 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
switch (sg->val1)
{
+ case ELE_WIND:
+ sc_start(bl,SC_STUN,5,sg->skill_lv,skill_get_time2(sg->skill_id, sg->skill_lv));
+ break;
case ELE_WATER:
sc_start(bl,SC_FREEZE,5,sg->skill_lv,skill_get_time2(sg->skill_id, sg->skill_lv));
break;
@@ -7326,6 +7330,9 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
case ELE_DARK:
sc_start(bl,SC_BLIND,5,sg->skill_lv,skill_get_time2(sg->skill_id, sg->skill_lv));
break;
+ case ELE_FIRE:
+ skill_blown(&src->bl,bl,skill_get_blewcount(sg->skill_id,sg->skill_lv));
+ break;
}
sg->unit_id = UNT_USED_TRAPS;