- Corrected a pretty serious typo in script.c
- Corrected the change that made Coma not be reduced by mdef making Stone, Freeze and Decrease Agi be reduced by luck rather than mdef. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10090 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
47ab9dbbf8
commit
cbac96a819
@ -10735,10 +10735,10 @@ BUILDIN_FUNC(jump_zero)
|
|||||||
sel=script_getnum(st,2);
|
sel=script_getnum(st,2);
|
||||||
if(!sel) {
|
if(!sel) {
|
||||||
int pos;
|
int pos;
|
||||||
if( !data_islabel(script_getdata(st,2)) ){
|
if( !data_islabel(script_getdata(st,3)) ){
|
||||||
ShowError("script: jump_zero: not label !\n");
|
ShowError("script: jump_zero: not label !\n");
|
||||||
st->state=END;
|
st->state=END;
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
pos=script_getnum(st,3);
|
pos=script_getnum(st,3);
|
||||||
|
@ -4425,6 +4425,8 @@ int status_get_sc_def(struct block_list *bl, int type)
|
|||||||
case SC_STONE:
|
case SC_STONE:
|
||||||
case SC_FREEZE:
|
case SC_FREEZE:
|
||||||
case SC_DECREASEAGI:
|
case SC_DECREASEAGI:
|
||||||
|
sc_def = 300 +100*status->mdef;
|
||||||
|
break;
|
||||||
case SC_CURSE:
|
case SC_CURSE:
|
||||||
if (status->luk > status_get_lv(bl))
|
if (status->luk > status_get_lv(bl))
|
||||||
return 10000; //Special property: inmunity when luk is greater than level
|
return 10000; //Special property: inmunity when luk is greater than level
|
||||||
|
Loading…
x
Reference in New Issue
Block a user