Thread: bandages

Results 1 to 2 of 2
  1. #1 bandages 
    Registered Member Karki's Avatar
    Join Date
    Jun 2013
    Posts
    275
    Thanks given
    2
    Thanks received
    8
    Rep Power
    11
    how can i make it like when you eat an bandage,you will get 100% spec back and your cannot use it at wildy or being in combat?

    #Real legends never die
    #Tupac

    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Apr 2013
    Posts
    108
    Thanks given
    11
    Thanks received
    3
    Rep Power
    0
    Code:
     
    Bandage case ID
    if (c.inWild())
    c.sendMessage("you cannot restore your spec in the wildy");
    else if(c.specAmount < 10.0){
    if (c.specRestore > 0) return;
    c.specRestore = 30;
    c.specAmount = 10.0;
    c.getItems().addSpecialBar(c.playerEquipment[c.playerWeapon]);
    c.sendMessage("Your special attack has been restored, only every 30 seconds.");
    }
    break;
    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. making bandage table work casltle wars PI
    By camelot pker in forum Help
    Replies: 1
    Last Post: 11-17-2012, 09:59 PM
  2. [PI] - How do i make Bandages healable?
    By Sonic chao in forum Help
    Replies: 4
    Last Post: 09-29-2011, 12:00 AM
  3. [PI] Castle Wars, Bandages
    By Satan666 in forum Help
    Replies: 3
    Last Post: 08-30-2010, 07:17 PM
  4. Mini Food and Bandages Change
    By CTucker in forum Projects
    Replies: 6
    Last Post: 02-14-2010, 11:49 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
  •