Thread: (SOLVED) [2006Scape] - redemption/retribution as piety/rigour/augury

Results 1 to 6 of 6
  1. #1 (SOLVED) [2006Scape] - redemption/retribution as piety/rigour/augury 
    Registered Member
    Join Date
    Feb 2021
    Posts
    115
    Thanks given
    31
    Thanks received
    8
    Rep Power
    62
    is there a way to add stat boosts to these prayers, replacing their default effects, with those more similar to PIETY and EAGLE EYE/MYSTIC MIGHT ?
    Reply With Quote  
     

  2. #2  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Yes there is a way to add it. You'll need to add a way for it to know that you got a certain prayer activated. If you are unsure how, just check the code for something like 'Ultimate Strength'.
    If you do not have the other prayers coded, then I suggest you add that function.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Feb 2021
    Posts
    115
    Thanks given
    31
    Thanks received
    8
    Rep Power
    62
    Quote Originally Posted by Arch337 View Post
    Yes there is a way to add it. You'll need to add a way for it to know that you got a certain prayer activated. If you are unsure how, just check the code for something like 'Ultimate Strength'.
    If you do not have the other prayers coded, then I suggest you add that function.
    https://github.com/2006-Scape/2006Scape

    I started by searching for an implementation of how stat boosts are provided when a prayer is activated, and unfortunately was unable to find any formula in PrayerData.java (for example, prayer#15(ultimate strength) +15% etc)
    Reply With Quote  
     

  5. #4  
    Java Developer

    Anezka's Avatar
    Join Date
    Aug 2013
    Age
    30
    Posts
    373
    Thanks given
    96
    Thanks received
    95
    Rep Power
    174
    MeleeData class
    Reply With Quote  
     

  6. Thankful user:


  7. #5  
    Registered Member
    Join Date
    Feb 2021
    Posts
    115
    Thanks given
    31
    Thanks received
    8
    Rep Power
    62
    Quote Originally Posted by Anezka View Post
    MeleeData class
    Attached image

    Using MeleeData, RangeData, MagicData,
    and
    MeleeMaxHit, RangeMaxHit, MagicMaxHit
    (also PrayerData)

    was able to get this working in-game !!

    Thanks for the help
    Reply With Quote  
     

  8. #6  
    Java Developer

    Anezka's Avatar
    Join Date
    Aug 2013
    Age
    30
    Posts
    373
    Thanks given
    96
    Thanks received
    95
    Rep Power
    174
    No problem
    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: 3
    Last Post: 03-23-2022, 09:08 AM
  2. Replies: 3
    Last Post: 03-17-2022, 08:10 PM
  3. Replies: 12
    Last Post: 09-22-2007, 06:09 PM
  4. Replies: 3
    Last Post: 09-10-2007, 07:07 AM
  5. need open source web-client
    By disturbed 1 in forum Downloads
    Replies: 9
    Last Post: 07-05-2007, 07:33 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
  •