I'm having a problem with the Diamond Dust Crystalization .... its around 75% success rate when I tested it on my server.... 3 sets of 20 hits each but while browsing on the internet, I found that the base chance should be (5 + 5 * Skill level)% and Summon Aqua adds around (Caster's Job level / 5)%..... This should be around 40% chance max. The code which I have no where calls upon the caster's job level. Please check and tell me if my code is right and official or am I outdated?
Can anyone give me the correct source code for this please? (The Diamond Dust Crystalization Chance and the aqua level 2 var)
case SO_DIAMONDDUST:
rate = 5 + 5 * skilllv;
if( sc && sc->data[sC_COOLER_OPTION] )
rate += rate * sc->data[sC_COOLER_OPTION]->val2 / 100;
sc_start(bl, SC_CRYSTALIZE, rate, skilllv, skill_get_time2(skillid, skilllv));
break;
case SC_COOLER_OPTION:
val2 = 80; // % Freezing chance
val3 = 33; // % increased damage
val4 = 1; // Change into water elemet
val_flag |= 1|2|4;
break;