Thread: [667/***] Adding Safnew Serum (EASY)

Results 1 to 10 of 10
  1. #1 [667/***] Adding Safnew Serum (EASY) 
    Banned

    Join Date
    Mar 2010
    Posts
    1,092
    Thanks given
    214
    Thanks received
    117
    Rep Power
    0
    Pots.java search for Super_Prayer() {

    Under the } add this

    Code:
    		SAFNEW_SERUM(Skills.ATTACK, Skills.STRENGTH, Skills.DEFENCE,
    				Skills.MAGIC, Skills.RANGE, Skills.AGILITY, Skills.COOKING,
    				Skills.CRAFTING, Skills.FARMING, Skills.FIREMAKING,
    				Skills.FISHING, Skills.FLETCHING, Skills.HERBLORE,
    				Skills.MINING, Skills.RUNECRAFTING, Skills.SLAYER,
    				Skills.SMITHING, Skills.THIEVING, Skills.WOODCUTTING,
    				Skills.SUMMONING) {
    			@Override
    			public int getAffectedSkill(Player player, int skillId,
    					int actualLevel, int realLevel) {
    				int boost = (int) (realLevel * 0.33);
    				if (actualLevel > realLevel)
    					return actualLevel;
    				if (actualLevel + boost > realLevel)
    					return realLevel;
    				return actualLevel + boost;
    			}
    
    			@Override
    			public void extra(Player player) {
    				player.getPoison().reset();
    				player.getPrayer().restorePrayer(
    						(int) ((int) (player.getSkills().getLevelForXp(
    								Skills.PRAYER) * 0.33 * 10) * player
    								.getAuraManager()
    								.getPrayerPotsRestoreMultiplier()));
    			}
    
    		},
    then somewhere at top add this
    Code:
    		SAFNEW_SERUM(new int[] { 10925, 10927, 10929, 10931 },
    				Effects.SAFNEW_SERUM),
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Donator


    Join Date
    Jul 2010
    Posts
    1,827
    Thanks given
    18
    Thanks received
    76
    Rep Power
    97
    Nice, Thanks already.
    Reply With Quote  
     

  4. #3  
    « TurmoilFTW »
    Defiled''s Avatar
    Join Date
    Mar 2012
    Age
    30
    Posts
    751
    Thanks given
    181
    Thanks received
    156
    Rep Power
    8
    Nice,
    and fuck off angel...
    DestructionPK Project
    Skype: defiledx1

    BYE BYE RSPS!


    SELLING SERVICES ATM ADD MY SKYPE IF INTERESTED!
    Reply With Quote  
     

  5. #4  
    Banned

    Join Date
    Mar 2010
    Posts
    1,092
    Thanks given
    214
    Thanks received
    117
    Rep Power
    0
    Np, and thank's. It's just Super Restore with Anti-Poison fix.
    Reply With Quote  
     

  6. #5  
    Super Donator
    Pixel's Avatar
    Join Date
    Oct 2008
    Age
    34
    Posts
    170
    Thanks given
    55
    Thanks received
    24
    Rep Power
    34
    This really shouldn't be in the Tutorial section if you aren't teaching people anything.
    You are just spoon feeding the noobs. If that is your motive you should put this in
    the snippets section.
    Reply With Quote  
     

  7. #6  
    Donator [667/***] Adding Safnew Serum (EASY) Market Banned



    Join Date
    May 2012
    Posts
    350
    Thanks given
    30
    Thanks received
    28
    Rep Power
    115
    just like to point out its

    SANFEW_SERUM

    NOT

    SAFNEW_SERUM
    Reply With Quote  
     

  8. #7  
    Gunner4Life [667/***] Adding Safnew Serum (EASY) Market Banned



    Join Date
    Jun 2011
    Posts
    2,357
    Thanks given
    132
    Thanks received
    667
    Rep Power
    648
    What's SANFEW_SERUM for in rs?
    Reply With Quote  
     

  9. #8  
    Donator [667/***] Adding Safnew Serum (EASY) Market Banned



    Join Date
    May 2012
    Posts
    350
    Thanks given
    30
    Thanks received
    28
    Rep Power
    115
    meh its summit to do about killing nail beasts
    Reply With Quote  
     

  10. #9  
    Banned

    Join Date
    Dec 2011
    Age
    26
    Posts
    2,303
    Thanks given
    471
    Thanks received
    764
    Rep Power
    0
    First off this is a snippet.. Second I'm pretty sure anyone can combine the code of anti posion and super restore =/
    Reply With Quote  
     

  11. #10  
    Banned

    Join Date
    Mar 2010
    Posts
    1,092
    Thanks given
    214
    Thanks received
    117
    Rep Power
    0
    Quote Originally Posted by LovingMemory View Post
    First off this is a snippet.. Second I'm pretty sure anyone can combine the code of anti posion and super restore =/
    Some people don't think of it that way. Also nah, didn't combine just used Eclipse to get the code for me
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [667]Adding item bonuses[667]
    By nbness2 in forum Tutorials
    Replies: 11
    Last Post: 04-17-2013, 07:14 PM
  2. *EASY* Object Placing on 667/704
    By xCHRiS in forum Tutorials
    Replies: 12
    Last Post: 07-26-2012, 09:34 AM
  3. [667/***]Adding Food
    By Defiled' in forum Snippets
    Replies: 8
    Last Post: 05-22-2012, 12:39 PM
  4. *EASY* Npc Spawning on 667/704
    By xCHRiS in forum Tutorials
    Replies: 14
    Last Post: 04-08-2012, 07:06 AM
  5. 667+ Removing tutorial EASY
    By Beta in forum Snippets
    Replies: 18
    Last Post: 04-05-2012, 04:28 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •