hyuna Posted March 29, 2013 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 144 Reputation: 4 Joined: 10/28/12 Last Seen: November 29, 2014 Share Posted March 29, 2013 I have a custom ygg and I want the effect to be: Cures all status ailments and grants abnormal status immunity for 5 secs. Is the second part possible with item effects(I know eqs can grant immunity) and if so, how? Quote Link to comment Share on other sites More sharing options...
hyuna Posted March 29, 2013 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 144 Reputation: 4 Joined: 10/28/12 Last Seen: November 29, 2014 Author Share Posted March 29, 2013 bump Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 29, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 29, 2013 Is your 'custom ygg' a consumable item or an equip? If it's an equip, use: bonus2 bResEff,eff_stun,10000; // Resist Stun 100% If it's a consumable item, use: sc_start SC_SCRESIST,5000,1; Quote Link to comment Share on other sites More sharing options...
hyuna Posted March 29, 2013 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 144 Reputation: 4 Joined: 10/28/12 Last Seen: November 29, 2014 Author Share Posted March 29, 2013 sc_start SC_SCRESIST,5000,1; can you pls explain this??? is it for all or for 1 status only? Quote Link to comment Share on other sites More sharing options...
Neo-Mind Posted March 29, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 806 Reputation: 221 Joined: 03/13/12 Last Seen: September 17, 2024 Share Posted March 29, 2013 (edited) check this => http://rathena.org/wiki/Sc_start From https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/status.h SC_SCRESIST, //Increases resistance to status changes. I think it means all Status. Edited March 29, 2013 by MStream Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 29, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 29, 2013 Actually the last '1' isn't really matter, because it doesn't need an extra argument. Correct me if I wrong Have you tried it yet? Quote Link to comment Share on other sites More sharing options...
hyuna Posted March 30, 2013 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 144 Reputation: 4 Joined: 10/28/12 Last Seen: November 29, 2014 Author Share Posted March 30, 2013 tried it doesnt get immunity at all...made it like 10 secs long with auto spam ygg(custom)to make sure vs other char with 4 lod cards Quote Link to comment Share on other sites More sharing options...
Lugia Posted March 31, 2013 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 95 Reputation: 2 Joined: 08/23/12 Last Seen: September 2, 2015 Share Posted March 31, 2013 Do you mean : Eg. Player 1 ( Enemy ) had 4 LOD Cards Player 2 ( Defensive ) Custom Ygg When player 1 attack/hit player 2 ( Yes, we know what will happen ) but When player 2 starts using your custom ygg she/he will become immune to any ailments? Correct me if I am wrong and if Correct okay ill help you. Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 31, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted March 31, 2013 sc_start SC_SCRESIST,5000,1; i not sure about this and how it work..never used it..but this do exist in the trunk/db/const.txt you can use this too ~ sc_start SC_COMMONSC_RESIST,3600000,100; for the equipment... just add the bonus effect using these.. trunk/doc/item_bonus.txt bonus2 bResEff,e,x; Adds a x/100 tolerance to effect e (e.g. x=100 makes 1% tolerance, x=10000 makes 100% tolerance, etc) e: Eff_Blind, Eff_Sleep, Eff_Poison, Eff_Freeze, Eff_Silence, Eff_Stun, Eff_Curse, Eff_Confusion, Eff_Stone, Eff_Bleeding for the dispel...you have to use sc_end i think it's better to create a small functions to be called by the items which will dispell certains effect/buff by using the sc_end Quote Link to comment Share on other sites More sharing options...
miczster Posted March 31, 2013 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 275 Reputation: 7 Joined: 10/08/12 Last Seen: May 21, 2016 Share Posted March 31, 2013 (edited) also tested sc_start SC_SCRESIST,5000,1; doesnt seem to work Edited March 31, 2013 by miczster Quote Link to comment Share on other sites More sharing options...
Lugia Posted April 1, 2013 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 95 Reputation: 2 Joined: 08/23/12 Last Seen: September 2, 2015 Share Posted April 1, 2013 This code seems will work, try this : sc_start SC_COMMONSC_RESIST,5000,10; Hmm but this is only for potion pitcher, Maybe we tried to create a new function like what emistry mention. Quote Link to comment Share on other sites More sharing options...
Question
hyuna
I have a custom ygg and I want the effect to be:
Cures all status ailments and grants abnormal status immunity for 5 secs.
Is the second part possible with item effects(I know eqs can grant immunity) and if so, how?
Link to comment
Share on other sites
10 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.