summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-23 01:56:52 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-23 01:56:52 +0000
commit0ffe3b7569390da9b2dfa5493b70d363dce2439c (patch)
tree66ce8fcdbc876c914e79639048c8fac3ec665814 /src/map/skill.c
parent021b26b8409a84b4c83eb0cc1eedbd65eedfd4e0 (diff)
downloadhercules-0ffe3b7569390da9b2dfa5493b70d363dce2439c.tar.gz
hercules-0ffe3b7569390da9b2dfa5493b70d363dce2439c.tar.bz2
hercules-0ffe3b7569390da9b2dfa5493b70d363dce2439c.tar.xz
hercules-0ffe3b7569390da9b2dfa5493b70d363dce2439c.zip
- Changed Preserve's cost to 30sp
- Fixed Arrow Shower, UNT_MAGIC_SKILLS was renamed to UNT_ATTACK_SKILLS - Fixed skill_use_pos checking target tile CELL_CHKNOPASS as invalid instead of CELL_CHKNOREACH git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5708 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 333db383c..8facca717 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6793,12 +6793,8 @@ int skill_unit_onplace_timer(struct skill_unit *src,struct block_list *bl,unsign
break;
}
- case UNT_ARROWSHOWER:
- skill_attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
- break;
-
- case UNT_MAGIC_SKILLS:
- skill_attack(BF_MAGIC,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
+ case UNT_ATTACK_SKILLS:
+ skill_attack(skill_get_type(sg->skill_id),ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
break;
case UNT_FIREPILLAR_WAITING: