diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-22 04:49:33 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-22 04:49:33 +0000 |
commit | bb094e4fc6f0cb7fde7cef14129c5bb136f5761a (patch) | |
tree | 2eb7f9897fa7ff040fc2a8a9213e40f709acc9cc /src | |
parent | b7a29236b5f77b120d84db221011bd8e57c06f46 (diff) | |
download | hercules-bb094e4fc6f0cb7fde7cef14129c5bb136f5761a.tar.gz hercules-bb094e4fc6f0cb7fde7cef14129c5bb136f5761a.tar.bz2 hercules-bb094e4fc6f0cb7fde7cef14129c5bb136f5761a.tar.xz hercules-bb094e4fc6f0cb7fde7cef14129c5bb136f5761a.zip |
SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6684 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/pc.c | 2 | ||||
-rw-r--r-- | src/map/status.c | 20 | ||||
-rw-r--r-- | src/map/status.h | 2 |
3 files changed, 12 insertions, 12 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 6d08da918..db86df518 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3235,7 +3235,7 @@ int pc_checkallowskill(struct map_session_data *sd) SC_ONEHAND,
SC_AURABLADE,
SC_PARRYING,
- SC_SPEARSQUICKEN,
+ SC_SPEARQUICKEN,
SC_ADRENALINE,
SC_ADRENALINE2,
SC_GATLINGFEVER
diff --git a/src/map/status.c b/src/map/status.c index 2210ea63c..c5ee70702 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -165,7 +165,7 @@ void initChangeTables(void) { set_sc(CR_DEVOTION, SC_DEVOTION, SI_DEVOTION);
set_sc(CR_PROVIDENCE, SC_PROVIDENCE, SI_PROVIDENCE);
set_sc(CR_DEFENDER, SC_DEFENDER, SI_DEFENDER);
- set_sc(CR_SPEARQUICKEN, SC_SPEARSQUICKEN, SI_SPEARQUICKEN);
+ set_sc(CR_SPEARQUICKEN, SC_SPEARQUICKEN, SI_SPEARQUICKEN);
set_sc(MO_STEELBODY, SC_STEELBODY, SI_STEELBODY);
set_sc(MO_BLADESTOP, SC_BLADESTOP_WAIT, SI_BLANK);
set_sc(MO_EXPLOSIONSPIRITS, SC_EXPLOSIONSPIRITS, SI_EXPLOSIONSPIRITS);
@@ -2222,8 +2222,8 @@ int status_calc_aspd_rate(struct block_list *bl, int aspd_rate) aspd_rate -= (sc->data[SC_ADRENALINE2].val2 || !battle_config.party_skill_penalty)?30:20;
else if(sc->data[SC_ADRENALINE].timer!=-1)
aspd_rate -= (sc->data[SC_ADRENALINE].val2 || !battle_config.party_skill_penalty)?30:20;
- else if(sc->data[SC_SPEARSQUICKEN].timer!=-1)
- aspd_rate -= sc->data[SC_SPEARSQUICKEN].val2;
+ else if(sc->data[SC_SPEARQUICKEN].timer!=-1)
+ aspd_rate -= sc->data[SC_SPEARQUICKEN].val2;
else if(sc->data[SC_ASSNCROS].timer!=-1 && (bl->type!=BL_PC || ((struct map_session_data*)bl)->status.weapon != W_BOW))
aspd_rate -= sc->data[SC_ASSNCROS].val2;
}
@@ -3803,7 +3803,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val return 0;
case SC_CONCENTRATE:
case SC_INCREASEAGI:
- case SC_SPEARSQUICKEN:
+ case SC_SPEARQUICKEN:
case SC_TRUESIGHT:
case SC_WINDWALK:
case SC_CARTBOOST:
@@ -3871,8 +3871,8 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val status_change_end(bl,SC_ADRENALINE,-1);
if(sc->data[SC_ADRENALINE2].timer!=-1 )
status_change_end(bl,SC_ADRENALINE2,-1);
- if(sc->data[SC_SPEARSQUICKEN].timer!=-1 )
- status_change_end(bl,SC_SPEARSQUICKEN,-1);
+ if(sc->data[SC_SPEARQUICKEN].timer!=-1 )
+ status_change_end(bl,SC_SPEARQUICKEN,-1);
if(sc->data[SC_TWOHANDQUICKEN].timer!=-1 )
status_change_end(bl,SC_TWOHANDQUICKEN,-1);
if(sc->data[SC_CARTBOOST].timer!=-1 )
@@ -4143,7 +4143,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val } else val2 = 0;
break;
- case SC_SPEARSQUICKEN: /* スピアクイッケン */
+ case SC_SPEARQUICKEN: /* スピアクイッケン */
calc_flag = 1;
val2 = 20+val1;
break;
@@ -4771,7 +4771,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val break;
//OPT3
case SC_TWOHANDQUICKEN: /* 2HQ */
- case SC_SPEARSQUICKEN: /* スピアクイッケン */
+ case SC_SPEARQUICKEN: /* スピアクイッケン */
case SC_CONCENTRATION: /* コンセントレ?ション */
sc->opt3 |= 1;
opt_flag = 0;
@@ -4982,7 +4982,7 @@ int status_change_end( struct block_list* bl , int type,int tid ) case SC_LOUD: /* ラウドボイス */
case SC_QUAGMIRE: /* クァグマイア */
case SC_PROVIDENCE: /* プロヴィデンス */
- case SC_SPEARSQUICKEN: /* スピアクイッケン */
+ case SC_SPEARQUICKEN: /* スピアクイッケン */
case SC_VOLCANO:
case SC_DELUGE:
case SC_VIOLENTGALE:
@@ -5392,7 +5392,7 @@ int status_change_end( struct block_list* bl , int type,int tid ) //opt3
case SC_TWOHANDQUICKEN: /* 2HQ */
case SC_ONEHAND: /* 1HQ */
- case SC_SPEARSQUICKEN: /* スピアクイッケン */
+ case SC_SPEARQUICKEN: /* スピアクイッケン */
case SC_CONCENTRATION: /* コンセントレ?ション */
sc->opt3 &= ~1;
break;
diff --git a/src/map/status.h b/src/map/status.h index 5caf42a79..a046b7170 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -88,7 +88,7 @@ enum { SC_AUTOSPELL,
SC_SIGHTTRASHER,
SC_AUTOBERSERK,
- SC_SPEARSQUICKEN,
+ SC_SPEARQUICKEN,
SC_AUTOCOUNTER,
SC_SIGHT,
SC_SAFETYWALL,
|