diff options
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/map/status.c b/src/map/status.c index c745bad51..d9a9f6070 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6157,22 +6157,25 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val val4 = 5 + val1*2; //Chance of casting break; case SC_VOLCANO: - if (status->def_ele == ELE_FIRE) - val2 = val1*10; //Watk increase - else + val2 = val1*10; //Watk increase + #if isOFF(REMODE) + if (status->def_ele != ELE_FIRE) val2 = 0; + #endif break; case SC_VIOLENTGALE: - if (status->def_ele == ELE_WIND) - val2 = val1*3; //Flee increase - else + val2 = val1*3; //Flee increase + #if isOFF(REMODE) + if (status->def_ele != ELE_WIND) val2 = 0; + #endif break; case SC_DELUGE: - if(status->def_ele == ELE_WATER) - val2 = deluge_eff[val1-1]; //HP increase - else + val2 = deluge_eff[val1-1]; //HP increase + #if isOFF(REMODE) + if(status->def_ele != ELE_WATER) val2 = 0; + #endif break; case SC_SUITON: if (!val2 || (sd && (sd->class_&MAPID_UPPERMASK) == MAPID_NINJA)) { |