Thread: [PI]how to change high alch give less xP?

Results 1 to 5 of 5
  1. #1 [PI]how to change high alch give less xP? 
    Registered Member
    Join Date
    Dec 2010
    Posts
    710
    Thanks given
    41
    Thanks received
    3
    Rep Power
    0
    how do I change high alch so it gievs less xp since now it gives 50k per cast. heres my alch method

    Code:
    			case 1178: // high alch
    			if(!c.getItems().playerHasItem(itemId, 1, slot) || itemId == 995) {
        return;
    }
    			if(System.currentTimeMillis() - c.alchDelay > 2000) {	
    				if(!c.getCombat().checkMagicReqs(50)) {
    					break;
    				}
    				if(itemId == 995) {
    					c.sendMessage("You can't alch coins");
    					break;
    				}				
    				c.getItems().deleteItem(itemId, slot, 1);
    				c.getItems().addItem(995, (int)(c.getShops().getItemShopValue(itemId)*.75));
    				c.startAnimation(c.MAGIC_SPELLS[50][2]);
    				c.gfx100(c.MAGIC_SPELLS[50][3]);
    				c.alchDelay = System.currentTimeMillis();
    				sendFrame106(6);
    				addSkillXP(c.MAGIC_SPELLS[50][7] * Config.MAGIC_EXP_RATE, 6);
    				refreshSkill(6);
    			}
    			break;

    Click here to view Project Rebirth Progress
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2010
    Posts
    710
    Thanks given
    41
    Thanks received
    3
    Rep Power
    0
    any1?

    Click here to view Project Rebirth Progress
    Reply With Quote  
     

  3. #3  
    Donator

    Join Date
    Sep 2011
    Posts
    432
    Thanks given
    94
    Thanks received
    58
    Rep Power
    44
    addSkillXP(c.MAGIC_SPELLS[50][7] * Config.MAGIC_EXP_RATE, 6);
    Reply With Quote  
     

  4. #4  
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    Code:
    addSkillXP(c.MAGIC_SPELLS[50][7] * Config.MAGIC_EXP_RATE, 6);
    Go to your magic_Spell method.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2013
    Posts
    15
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Doesn't PI have a magichandler xml where the data (gfx, anim, damage, exp,..) are defined? thought it was at the configs mhm.
    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. [PI]how to change donation simbol?
    By redbunny in forum Help
    Replies: 3
    Last Post: 09-11-2010, 09:27 PM
  2. [pi] how to change this...... Help!!!!!!!!!
    By reborn-gt in forum Help
    Replies: 2
    Last Post: 09-06-2010, 08:19 PM
  3. [pi] how to change this......
    By reborn-gt in forum Help
    Replies: 8
    Last Post: 09-04-2010, 11:44 AM
  4. [PI] how to change pkpoints to coints?
    By redbunny in forum Help
    Replies: 4
    Last Post: 09-01-2010, 09:38 PM
  5. [Pi] how to change client backround?
    By Skorgescape in forum Help
    Replies: 25
    Last Post: 08-16-2010, 06:43 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •