Cydh Posted November 20, 2016 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share Posted November 20, 2016 (edited) Related with topic Is it possible to be immune to Decrease Agility? New Bonuses bonus2 bResSC,sc,n; Adds a n/100% relative tolerance to status change specified by SC constants. bonus2 bResSC2,sc,n; Adds a n/100% absolute tolerance to status change specified by SC constants. bonus2 bResSC,sc,n; This rate adds the 'relative' rate, only reduce from current player's resistance, not as total resistance rate. Example player's total resistance is 5000 (50%), so if it's added by 5000 (50%) from this bonus, now the total resistance is 2500 (25%). As note, bonus bResEff works with same behavior, as relative resistance rate. This thing that makes you think the bonus bResEff is buggy. bonus2 bResSC2,sc,n; This is maybe the mostly bonus you wanted. Unlike the 'relative' rate, this 'absolute' rate adds total resistance. For same example, player has 5000 (50%) resistance then added by 5000 (50%) from the bonus, player now has 10000 (100%) resistance in total. How to use as item bonus 2115,Valkyrja's_Shield,Valkyrja's Shield,4,30000,,500,,80,,1,0xFFFFFFFE,63,2,32,,65,1,4,{ bonus2 bResSC2,SC_DECREASEAGI,5000; bonus2 bResSC,SC_DECREASEAGI,2500; bonus2 bSubEle,Ele_Water,20; bonus2 bSubEle,Ele_Fire,20; bonus2 bSubEle,Ele_Dark,20; bonus2 bSubEle,Ele_Undead,20; bonus bMdef,5; },{},{} 2357,Valkyrie_Armor,Valkyrian Armor,4,0,,2800,,55,,1,0xFFFFFFFE,18,2,16,,1,1,0,{ bonus2 bResSC2,SC_AETERNA,5000; bonus2 bResSC,SC_AETERNA,2500; bonus bAllStats,1; bonus bUnbreakableArmor,1; if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte) bonus2 bResEff,Eff_Silence,5000; else if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief) bonus2 bResEff,Eff_Stun,5000; },{},{} 2421,Valkyrie_Shoes,Valkyrian Shoes,4,0,,500,,13,,1,0xFFFFFFFE,18,2,64,,1,1,0,{ bonus2 bResSC2,SC_QUAGMIRE,10000; bonus2 bResSC,SC_QUAGMIRE,2500; bonus bUnbreakableShoes,1; if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte) bonus bMaxHP,(BaseLevel*5); else if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief) bonus bMaxSP,(JobLevel*2); },{},{} Links Branch Just download from this pull request's link or add .diff so you can get the diff file Edited October 14, 2017 by Cydh 3 1 Quote Link to comment Share on other sites More sharing options...
Azeroth Posted November 20, 2016 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Share Posted November 20, 2016 Thank you! Quote Link to comment Share on other sites More sharing options...
Yonko Posted November 20, 2016 Group: Members Topic Count: 166 Topics Per Day: 0.03 Content Count: 789 Reputation: 50 Joined: 04/16/12 Last Seen: July 8, 2022 Share Posted November 20, 2016 thanks cydh such a nice release Quote Link to comment Share on other sites More sharing options...
Crysillion Posted November 22, 2016 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 02/17/16 Last Seen: July 8, 2017 Share Posted November 22, 2016 Hey, thanks! I wasn't expecting someone to actually go out of their way and code this for me. I appreciate it. Very cool! There's a lot I can do with this. Quote Link to comment Share on other sites More sharing options...
Cydh Posted November 23, 2016 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Author Share Posted November 23, 2016 On 11/20/2016 at 0:39 PM, Azeroth said: Thank you! On 11/20/2016 at 4:49 PM, Yonko said: thanks cydh such a nice release u're welcome 1 hour ago, Crysillion said: Hey, thanks! I wasn't expecting someone to actually go out of their way and code this for me. I appreciate it. Very cool! There's a lot I can do with this. hmmm... I really wanted this SC lookup, been years. Quote Link to comment Share on other sites More sharing options...
Dissidia Posted December 4, 2016 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted December 4, 2016 thank you so much for this.. Quote Link to comment Share on other sites More sharing options...
a91323 Posted October 2, 2017 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 99 Reputation: 10 Joined: 01/13/12 Last Seen: December 6, 2020 Share Posted October 2, 2017 good job the official items need this bonus to do Quote Link to comment Share on other sites More sharing options...
a91323 Posted October 14, 2017 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 99 Reputation: 10 Joined: 01/13/12 Last Seen: December 6, 2020 Share Posted October 14, 2017 (edited) git hash https://github.com/rathena/rathena/commit/3ab39c4cb368b962c97f14cb916b0f8a406cde66 compiler error error LNK2005: _pc_resSC2_ers already in clif.obj define error LNK2005: _pc_resSC_ers already clif.obj define IDE visual studio 2017 Edited October 14, 2017 by a91323 Quote Link to comment Share on other sites More sharing options...
Cydh Posted October 14, 2017 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Author Share Posted October 14, 2017 6 hours ago, a91323 said: git hash https://github.com/rathena/rathena/commit/3ab39c4cb368b962c97f14cb916b0f8a406cde66 compiler error error LNK2005: _pc_resSC2_ers already in clif.obj define error LNK2005: _pc_resSC_ers already clif.obj define IDE visual studio 2017 Branch updated, rebased for that rA's HEAD. https://github.com/cydh/rathena/pull/7.diff Quote Link to comment Share on other sites More sharing options...
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.