Thread: Adding energy transfer (not the best)

Results 1 to 7 of 7
  1. #1 Adding energy transfer (not the best) 
    Registered Member
    Join Date
    Jun 2008
    Posts
    66
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    ye well its not the best only took like 3 mins

    kk go to MagicOnPlayer add this in there
    Code:
    case 430:
    
    
    if (p.magicDelay == 0) {
                    if (p.clickId == 5 && p.skillLvl[6] >= 91) {
                        if (Engine.playerItems.invItemCount(p, 9075) > 3
                                && Engine.playerItems.invItemCount(p, 563) > 2
                                && Engine.playerItems.invItemCount(p, 561) > 1) {
                            if(!p2.vengOn) {
                            p.stopMovement(p);
                            p.magicDelay = 7;
                            p.requestAnim(4411, 0);
                            p2.requestGFX(734, 0);
                            p.specialAmount -= 100;
                            p.specialAmountUpdateReq = true;
                            p2.specialAmount = 100;
                            p2.specialAmountUpdateReq = true;
                            Engine.playerItems.deleteItem(p, 9075,
                                    Engine.playerItems.getItemSlot(p, 9075), 3);
                            Engine.playerItems.deleteItem(p, 563,
                                    Engine.playerItems.getItemSlot(p, 563), 2);
                            Engine.playerItems.deleteItem(p, 561,
                                    Engine.playerItems.getItemSlot(p, 561), 1);
    		    } else {
    			p.frames.sendMessage(p, 
    				"That person already has vengeance casted.");
    			}
                        } else {
                            p.frames.sendMessage(p,
                                    "You don't have enough runes to cast this spell.");
                        }
                    } else {
                        p.frames.sendMessage(p,
                                "You need a magic level of 91 to cast this spell.");
                    }
                } else {
                    p.stopMovement(p);
                }
                break;
    Reply With Quote  
     

  2. #2  
    Registered Member
    Hotyute's Avatar
    Join Date
    Jan 2008
    Posts
    2,016
    Thanks given
    7
    Thanks received
    92
    Rep Power
    1482
    vool mts mts


    Reply With Quote  
     

  3. #3  
    Registered Member agent str's Avatar
    Join Date
    Dec 2007
    Posts
    342
    Thanks given
    3
    Thanks received
    5
    Rep Power
    41
    umm you need to fix it to this. i could tell you just changed a vengother...
    Reply With Quote  
     

  4. #4  
    Human

    Only's Avatar
    Join Date
    Aug 2008
    Posts
    1,108
    Thanks given
    1
    Thanks received
    18
    Rep Power
    116
    Cool mts mts xD
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2008
    Posts
    66
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    i think people can change it if they want to but like i said it isnt the best
    Last edited by vdamagedv; 09-24-2008 at 04:33 AM. Reason: Double posting is not allowed!
    Reply With Quote  
     

  6. #6  
    Registered Member agent str's Avatar
    Join Date
    Dec 2007
    Posts
    342
    Thanks given
    3
    Thanks received
    5
    Rep Power
    41
    well I already made a post on the fix to urs and it works for me
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jun 2008
    Posts
    66
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    kk ty for help
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •