Thread: [PI] Ancient curses bug when 0 prayer

Results 1 to 4 of 4
  1. #1 [PI] Ancient curses bug when 0 prayer 
    Registered Member
    Join Date
    Oct 2010
    Posts
    560
    Thanks given
    85
    Thanks received
    21
    Rep Power
    16
    fixed*

    Spoiler for Rs3 Account:
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Aug 2011
    Posts
    230
    Thanks given
    2
    Thanks received
    22
    Rep Power
    45
    find the file where it says "you have run out of prayer"

    add a return; statement underneath it.

    (or set your current prayer on = 0 or somthing)

    depends what suits the situation, idk how its handled in your source.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Oct 2011
    Posts
    173
    Thanks given
    10
    Thanks received
    11
    Rep Power
    11
    replace the already existing one with

    Code:
       public void reducePrayerLevel() {
          if(c.playerLevel[5] - 1 > 0) {
             c.playerLevel[5] -= 1;
          } else {
             c.sendMessage("You have run out of prayer points!");
             c.playerLevel[5] = 0;
             resetPrayers();
             c.prayerId = -1;   
          }
          c.getPA().refreshSkill(5);
       }
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Oct 2010
    Posts
    560
    Thanks given
    85
    Thanks received
    21
    Rep Power
    16
    Fixed with a bit help from you guys

    Spoiler for Rs3 Account:
    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. Replies: 7
    Last Post: 05-01-2012, 02:58 PM
  2. [PI] Adding Switch Prayer Altars To Ancient Curses
    By I Am Kacey in forum Tutorials
    Replies: 8
    Last Post: 11-02-2011, 06:50 PM
  3. 602 Tut ancient prayer curses
    By Jefferson543 in forum Requests
    Replies: 11
    Last Post: 01-09-2011, 05:24 AM
  4. Replies: 9
    Last Post: 05-28-2010, 07:32 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
  •