Hadeszeus 15 Posted May 24, 2014 This is the formula for RENEWAL casting. How can I turn the some skills with -1 FIXED casting to nocast IF STATS is equal to 200DEX x 2 =400 and INT = 130 OVERALL STATS = 530? if( varcast_r < 0 ) // now compute overall factors time = time * (1 - (float)varcast_r / 100); if( !(skill->get_castnodex(skill_id, skill_lv)&1) )// reduction from status point time = (1 - sqrt( ((float)(status_get_dex(bl)*2 + status_get_int(bl)) / battle_config.vcast_stat_scale) )) * time; time = max(time, 0) + (1 - (float)min(fixcast_r, 100) / 100) * max(fixed,0); #endif Quote Share this post Link to post Share on other sites
Share this post
Link to post
Share on other sites