summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-02 18:33:34 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-02 18:33:34 +0000
commitc8a5f4e2bbf5dd6d92cb78ab865b8fe0f24bb617 (patch)
treea6ab1216f5ccf4eec0c2ece8a5a1017f41002804 /src/map/status.c
parentd68224a89b2f721a870d85e65667f0ae54cb6ed0 (diff)
downloadhercules-c8a5f4e2bbf5dd6d92cb78ab865b8fe0f24bb617.tar.gz
hercules-c8a5f4e2bbf5dd6d92cb78ab865b8fe0f24bb617.tar.bz2
hercules-c8a5f4e2bbf5dd6d92cb78ab865b8fe0f24bb617.tar.xz
hercules-c8a5f4e2bbf5dd6d92cb78ab865b8fe0f24bb617.zip
Merged Mpeg's work on Ninja skills
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8068 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 56fbaa696..5969cf7c9 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -356,6 +356,8 @@ void initChangeTables(void) {
set_sc(NJ_SUITON, SC_SUITON, SI_BLANK, SCB_AGI|SCB_SPEED);
add_sc(NJ_HYOUSYOURAKU, SC_FREEZE);
set_sc(NJ_NEN, SC_NEN, SI_NEN, SCB_STR|SCB_INT);
+ set_sc(NJ_UTSUSEMI, SC_UTSUSEMI, SI_UTSUSEMI,SCB_NONE);
+ set_sc(NJ_BUNSINJYUTSU, SC_BUNSINJYUTSU, SI_BLANK, SCB_NONE);
set_sc(CR_SHRINK, SC_SHRINK, SI_SHRINK, SCB_NONE);
set_sc(RG_CLOSECONFINE, SC_CLOSECONFINE2, SI_CLOSECONFINE2, SCB_NONE);
set_sc(RG_CLOSECONFINE, SC_CLOSECONFINE, SI_CLOSECONFINE, SCB_FLEE);
@@ -5406,6 +5408,12 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
val4 = pos;
}
break;
+ case SC_UTSUSEMI:
+ val2=(val1+1)/2; // number of hits blocked
+ val3=7; // move you back 7 cells
+ break;
+ case SC_BUNSINJYUTSU:
+ val2=(val1+1)/2; // number of hits blocked
default:
if (calc_flag == SCB_NONE && StatusSkillChangeTable[type]==0)
{ //Status change with no calc, and no skill associated...? unknown?
@@ -5506,7 +5514,6 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
case SC_MAXOVERTHRUST:
case SC_OVERTHRUST:
case SC_SWOO: //Why does it shares the same opt as Overthrust? Perhaps we'll never know...
- case SC_NEN:
sc->opt3 |= 2;
opt_flag = 0;
break;
@@ -6028,7 +6035,6 @@ int status_change_end( struct block_list* bl , int type,int tid )
case SC_OVERTHRUST:
case SC_MAXOVERTHRUST:
case SC_SWOO:
- case SC_NEN:
sc->opt3 &= ~2;
opt_flag = 0;
break;