Thread: How

Results 1 to 5 of 5
  1. #1 How 
    Banned
    Join Date
    Oct 2011
    Posts
    182
    Thanks given
    34
    Thanks received
    6
    Rep Power
    0
    How do I increase magic accuracy? I can't find it. LOL
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,833
    Thanks given
    894
    Thanks received
    1,439
    Rep Power
    2924
    Have a poke around in Combatassistant.java should be bluntly obvious when you stumble across it, but for my source Its....
    Code:
     int damage = Misc.random(c.MAGIC_SPELLS[c.oldSpellId][6]);
    So you could try something like,
    Code:
     int damage = Misc.random(c.MAGIC_SPELLS[c.oldSpellId][6])+5;
    But you should have good reasoning why you'd want to do this as it will unbalance your server greatly in terms of PvP and such, IMO just leave it how it is unless your combat system is truely messed up in which case you should probably rip a better one.
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Oct 2011
    Posts
    182
    Thanks given
    34
    Thanks received
    6
    Rep Power
    0
    Quote Originally Posted by Faris View Post
    Have a poke around in Combatassistant.java should be bluntly obvious when you stumble across it, but for my source Its....
    Code:
     int damage = Misc.random(c.MAGIC_SPELLS[c.oldSpellId][6]);
    So you could try something like,
    Code:
     int damage = Misc.random(c.MAGIC_SPELLS[c.oldSpellId][6])+5;
    But you should have good reasoning why you'd want to do this as it will unbalance your server greatly in terms of PvP and such, IMO just leave it how it is unless your combat system is truely messed up in which case you should probably rip a better one.
    Nah it's just the magic non stop splashes
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,833
    Thanks given
    894
    Thanks received
    1,439
    Rep Power
    2924
    Quote Originally Posted by ZeroReality View Post
    Nah it's just the magic non stop splashes
    In that case i'd be looking at item bonuses, Perhaps prayers ECT, Your combat system should be Drawing random aggregate number direved from their Magic Level, Bonuses and their opponents defence level, Bonus' includes Prayers and pots ect. So i'd be looking at methods for those if i were you rather than the combat system
    Reply With Quote  
     

  5. #5  
    Registered Member Recursion's Avatar
    Join Date
    Feb 2010
    Posts
    638
    Thanks given
    0
    Thanks received
    29
    Rep Power
    41
    Variables that need to be determined for accurate magic hits:

    Casting player's magic level.
    Casting player's magic bonus.
    Casting player's prayer magic bonus.

    CastingOn player's magic level (for defence)
    CastingOn player's magic defence bonus.
    CastingOn player's prayer magic defence bonus.
    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
  •