summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-03 14:39:38 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-03 14:39:38 +0000
commitcb1d2d92afbf8d9ebec4c9290a180835ad5dae78 (patch)
tree0a25e15fd6687a6f99764e794a49e97c04524cba /src/map/status.c
parent4d34cd6ca7f80bf298c9837b27d1b5cc7d294098 (diff)
downloadhercules-cb1d2d92afbf8d9ebec4c9290a180835ad5dae78.tar.gz
hercules-cb1d2d92afbf8d9ebec4c9290a180835ad5dae78.tar.bz2
hercules-cb1d2d92afbf8d9ebec4c9290a180835ad5dae78.tar.xz
hercules-cb1d2d92afbf8d9ebec4c9290a180835ad5dae78.zip
- Cleaned up the last NJ update code.
- Added @ command `charspeed` - Fixed @jailfor using MAP_PRONTERA as jail instead of MAP_JAIL - Removed case for GS_SPREADATTACK on damage packets to see if the skill displays correctly now. - Corrected Deluge/Volcano/V. Gale overlaps so that the placing tiles are removed, NOT the ones who were already placed. - Made SC_SPEEDUP0 and SC_SPEEDUP1 use different icon IDs, to fix icon-confusion when both are enabled at a time. - Mob rude-attacked count is not reset now on picking a new char (gotta investigate this further) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8096 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 3c75ee226..9752483d4 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -403,8 +403,8 @@ void initChangeTables(void) {
StatusIconChangeTable[SC_ASPDPOTION1] = SI_ASPDPOTION;
StatusIconChangeTable[SC_ASPDPOTION2] = SI_ASPDPOTION;
StatusIconChangeTable[SC_ASPDPOTION3] = SI_ASPDPOTION;
- StatusIconChangeTable[SC_SPEEDUP0] = SI_SPEEDPOTION;
- StatusIconChangeTable[SC_SPEEDUP1] = SI_SPEEDPOTION;
+ StatusIconChangeTable[SC_SPEEDUP0] = SI_SPEEDPOTION1;
+ StatusIconChangeTable[SC_SPEEDUP1] = SI_SPEEDPOTION2;
StatusIconChangeTable[SC_MIRACLE] = SI_SPIRIT;
//Other SC which are not necessarily associated to skills.
@@ -5406,10 +5406,11 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
break;
case SC_UTSUSEMI:
val2=(val1+1)/2; // number of hits blocked
- val3=7; // move you back 7 cells
+ val3=skill_get_blewcount(NJ_UTSUSEMI, val1); //knockback value.
break;
case SC_BUNSINJYUTSU:
val2=(val1+1)/2; // number of hits blocked
+ break;
default:
if (calc_flag == SCB_NONE && StatusSkillChangeTable[type]==0)
{ //Status change with no calc, and no skill associated...? unknown?