Thanna Posted November 13, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 271 Reputation: 7 Joined: 01/06/12 Last Seen: May 16, 2015 Share Posted November 13, 2012 is it possible to separate trans and 3rd class cast formula, if a char is trans he/she will not be affected by fixed cast, and when a char is 3rd class the formula will be used is the renewal formula thanks in advance Quote Link to comment Share on other sites More sharing options...
clydelion Posted November 13, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Share Posted November 13, 2012 Would this be enough? Index: map/skill.c =================================================================== --- map/skill.c (revision 16920) +++ map/skill.c (working copy) @@ -13666,7 +13666,7 @@ { struct status_change *sc = status_get_sc(bl); struct map_session_data *sd = BL_CAST(BL_PC,bl); - int fixed = skill_get_fixed_cast(skill_id, skill_lv), fixcast_r = 0, varcast_r = 0, i = 0; + int fixed = (sd && sd->class_&JOBL_THIRD) ? skill_get_fixed_cast(skill_id, skill_lv):0 , fixcast_r = 0, varcast_r = 0, i = 0; if( time < 0 ) return 0; Quote Link to comment Share on other sites More sharing options...
Thanna Posted November 13, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 271 Reputation: 7 Joined: 01/06/12 Last Seen: May 16, 2015 Author Share Posted November 13, 2012 (edited) Would this be enough? Index: map/skill.c =================================================================== --- map/skill.c (revision 16920) +++ map/skill.c (working copy) @@ -13666,7 +13666,7 @@ { struct status_change *sc = status_get_sc(bl); struct map_session_data *sd = BL_CAST(BL_PC,bl); - int fixed = skill_get_fixed_cast(skill_id, skill_lv), fixcast_r = 0, varcast_r = 0, i = 0; + int fixed = (sd && sd->class_&JOBL_THIRD) ? skill_get_fixed_cast(skill_id, skill_lv):0 , fixcast_r = 0, varcast_r = 0, i = 0; if( time < 0 ) return 0; I will try it sir, and I'll just ask if it is possible on ASPD formula too? Edited November 13, 2012 by Thanna Quote Link to comment Share on other sites More sharing options...
Rebel Posted November 20, 2012 Group: Members Topic Count: 68 Topics Per Day: 0.01 Content Count: 436 Reputation: 32 Joined: 02/19/12 Last Seen: May 22, 2024 Share Posted November 20, 2012 // Maximum atk speed. (Default 190, Highest allowed 199) max_aspd: 190 // Same as max_aspd, but for 3rd classes. (Default 193, Highest allowed 199) max_third_aspd: 193 Maybe this will help you. player.conf Quote Link to comment Share on other sites More sharing options...
clydelion Posted November 20, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Share Posted November 20, 2012 He was talking about the fixed cast time w/c is present if RENEWAL_CAST is defined. Quote Link to comment Share on other sites More sharing options...
Question
Thanna
is it possible to separate trans and 3rd class cast formula, if a char is trans he/she will not be affected by fixed cast, and when a char is 3rd class the formula will be used is the renewal formula
thanks in advance
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.