* Added auto convert advanced job and baby class sprite ID's in mob_avail.txt to correct format
* Added SC_Speedup cannot be stacked with Increase Agility git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1232 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
2b17f6517b
commit
aa07208aee
@ -1,5 +1,10 @@
|
||||
Date Added
|
||||
|
||||
03/14
|
||||
* Added auto convert advanced job and baby class sprite ID's in mob_avail.txt
|
||||
to correct format [celest]
|
||||
* Added SC_Speedup cannot be stacked with Increase Agility [celest]
|
||||
|
||||
03/13
|
||||
* Added PvP/GvG check for Tiger Knuckle fist [celest]
|
||||
* Fixed Pressure reducing the target's SP twice, thanks to deepin [celest]
|
||||
|
@ -4052,21 +4052,24 @@ static int mob_readdb_mobavail(void)
|
||||
*np=0;
|
||||
p=np+1;
|
||||
} else
|
||||
str[j]=p;
|
||||
}
|
||||
str[j]=p;
|
||||
}
|
||||
|
||||
if(str[0]==NULL)
|
||||
continue;
|
||||
|
||||
class_=atoi(str[0]);
|
||||
|
||||
if(class_<=1000 || class_>MAX_MOB_DB) // 値が異常なら処理しない。
|
||||
continue;
|
||||
k=atoi(str[1]);
|
||||
if(k >= 0)
|
||||
mob_db[class_].view_class=k;
|
||||
|
||||
if((mob_db[class_].view_class < 24) || (mob_db[class_].view_class > 4000)) {
|
||||
k=atoi(str[1]);
|
||||
if(k < 0)
|
||||
continue;
|
||||
if (j > 3 && k > 23 && k < 69)
|
||||
k += 3977; // advanced job/baby class
|
||||
mob_db[class_].view_class=k;
|
||||
|
||||
if((k < 24) || (k > 4000)) {
|
||||
mob_db[class_].sex=atoi(str[2]);
|
||||
mob_db[class_].hair=atoi(str[3]);
|
||||
mob_db[class_].hair_color=atoi(str[4]);
|
||||
@ -4078,7 +4081,6 @@ static int mob_readdb_mobavail(void)
|
||||
mob_db[class_].option=atoi(str[10])&~0x46;
|
||||
mob_db[class_].clothes_color=atoi(str[11]); // Monster player dye option - Valaris
|
||||
}
|
||||
|
||||
else if(atoi(str[2]) > 0) mob_db[class_].equip=atoi(str[2]); // mob equipment [Valaris]
|
||||
|
||||
ln++;
|
||||
|
@ -743,7 +743,7 @@ int status_calc_pc(struct map_session_data* sd,int first)
|
||||
}
|
||||
if(sd->sc_data[SC_SLOWDOWN].timer!=-1)
|
||||
sd->speed = sd->speed*150/100;
|
||||
if(sd->sc_data[SC_SPEEDUP0].timer!=-1)
|
||||
if(sd->sc_data[SC_SPEEDUP0].timer!=-1 && sd->sc_data[SC_INCREASEAGI].timer==-1)
|
||||
sd->speed -= sd->speed*25/100;
|
||||
if(sd->sc_data[SC_BLESSING].timer!=-1){ // ブレッシング
|
||||
sd->paramb[0]+= sd->sc_data[SC_BLESSING].val1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user