summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-02 16:06:37 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-02 16:06:37 +0000
commitfff2e817797bba24fa8e345f362e54ecd288ace3 (patch)
tree02afb1b3b599a347f1c6b01f1e95d04e71fd924e /src/map/skill.c
parent0d4d70e54087a1c08bccfe18d4b18e5b0648308a (diff)
downloadhercules-fff2e817797bba24fa8e345f362e54ecd288ace3.tar.gz
hercules-fff2e817797bba24fa8e345f362e54ecd288ace3.tar.bz2
hercules-fff2e817797bba24fa8e345f362e54ecd288ace3.tar.xz
hercules-fff2e817797bba24fa8e345f362e54ecd288ace3.zip
- Corrected Brandish Spear to work on levels above 10.
- Updated Two-HandQuicken, One-HandQuicken to give 30 +2*lv% aspd-rate for skill levels above 10 (meant for boss casted skills) - Fixed Spear-Quicken messing with the calc_flag git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6936 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 05b3579f9..b5a54e041 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3912,15 +3912,14 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case KN_BRANDISHSPEAR: /*ƒuƒ‰ƒ“ƒfƒBƒbƒVƒ…ƒXƒsƒA*/
{
- int c,n=4,ar;
+ int c,n=4;
int dir = map_calc_dir(src,bl->x,bl->y);
struct square tc;
int x=bl->x,y=bl->y;
- ar=skilllv/3;
skill_brandishspear_first(&tc,dir,x,y);
skill_brandishspear_dir(&tc,dir,4);
/* ”Í?‡C */
- if(skilllv == 10){
+ if(skilllv > 9){
for(c=1;c<4;c++){
map_foreachincell(skill_area_sub,
bl->m,tc.val1[c],tc.val2[c],BL_CHAR,