Thread: Spirit shield effects [PI]

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28
  1. #11  
    Web Developer
    Ben2's Avatar
    Join Date
    Oct 2010
    Posts
    663
    Thanks given
    157
    Thanks received
    70
    Rep Power
    118
    Interesting, looks good.

    Offtopic: Does anyone know spirit shield anims?


    Formerly Crimson.
    Reply With Quote  
     

  2. #12  
    Registered Member

    Join Date
    Dec 2008
    Posts
    1,010
    Thanks given
    0
    Thanks received
    1
    Rep Power
    271
    Quote Originally Posted by Kickyamom View Post
    Okay, but by the way fix divine ^-^
    Code:
    if (damage > 0 && o.playerLevel[5] > 0) {
    Has no effect unless the player has prayer.
    Already has that I think maybe you misread
    In absence of a real father figure I looked to Dr House for guidance through my turbulent teenaged years.
    Reply With Quote  
     

  3. #13  
    Registered Member

    Join Date
    Jul 2008
    Posts
    74
    Thanks given
    4
    Thanks received
    1
    Rep Power
    170
    Dark, I hope you weren't implying that divine always decreases by 25% and doesn't decrease prayer points, where ely decreases 70% of the time for 70% dmg, and decreases prayer points.

    The actual formula is

    Divine always decreases damage by 30% then decreases your prayer by 50% of that damage reduction.

    Elysian has a 70% chance of decreasing the damage by 25% period. No prayer reduction.

    SOURCES: RSWIKI

    Elysian spirit shield - The RuneScape Wiki - Skills, quests, guides, items, monsters, and more

    Divine spirit shield - The RuneScape Wiki - Skills, quests, guides, items, monsters, and more
    Reply With Quote  
     

  4. #14  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    if what HellDefender said is how they really are then here

    Code:
    		if (damage > 0) {
    			if (o.playerEquipment[o.playerShield] == 13740) {
    				damage -= damage * .3;
    				o.playerLevel[5] -= damage * .5;
    				o.getPA().refreshSkill(5);	
    				o.getPA().requestUpdates();
    			}
    			if (o.playerEquipment[o.playerShield] == 13742) {
    				if (Misc.random(10) < 8)
    					damage -= damage * .25;
    			}
    		}
    Reply With Quote  
     

  5. #15  
    Registered Member

    Join Date
    Jul 2008
    Posts
    74
    Thanks given
    4
    Thanks received
    1
    Rep Power
    170
    That looks perfect. Thanks Dark for the first one, then thank you Relex for correcting it ++rep for everyone
    Reply With Quote  
     

  6. #16  
    Donator


    Join Date
    Feb 2009
    Age
    30
    Posts
    2,128
    Thanks given
    261
    Thanks received
    280
    Rep Power
    563
    removed
    Reply With Quote  
     

  7. #17  
    Registered Member

    Join Date
    Jul 2008
    Posts
    74
    Thanks given
    4
    Thanks received
    1
    Rep Power
    170
    Frankly I'm too much of a novice to decipher EXACTLY what is happening in your Divine effect Balla

    EDIT: Looking again I think you captured what I was trying to say about half of the reduced damage, I'm not positive as I'm a novice as stated.
    Reply With Quote  
     

  8. #18  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    hold on forgot to check if the player has enough pray pts

    Code:
    		if (damage > 0) {
    			if (o.playerEquipment[o.playerShield] == 13740 && c.playerLevel[5] > damage * .5) {
    				damage -= damage * .3;
    				o.playerLevel[5] -= damage * .5;
    				o.getPA().refreshSkill(5);	
    				o.getPA().requestUpdates();
    			}
    			if (o.playerEquipment[o.playerShield] == 13742) {
    				if (Misc.random(10) < 8)
    					damage -= damage * .25;
    			}
    		}
    Reply With Quote  
     

  9. #19  
    Registered Member

    Join Date
    Jul 2008
    Posts
    74
    Thanks given
    4
    Thanks received
    1
    Rep Power
    170
    Relex, the problem with that is it reduces 50% of the initial damage, it's only supposed to reduce 50% of the reduction, so if a 300 is hit, then 30% is reduced, the hit would be 210, or a 90 reduction, thus resulting in 45 (using 10x calculation or of 990 pray points) prayer points being drained
    Reply With Quote  
     

  10. #20  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    Quote Originally Posted by HellDefender View Post
    Relex, the problem with that is it reduces 50% of the initial damage, it's only supposed to reduce 50% of the reduction, so if a 300 is hit, then 30% is reduced, the hit would be 210, or a 90 reduction, thus resulting in 45 (using 10x calculation or of 990 pray points) prayer points being drained
    wait hold on gonna check out the rswiki page
    Reply With Quote  
     

Page 2 of 3 FirstFirst 123 LastLast

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: 44
    Last Post: 12-24-2013, 02:38 AM
  2. Spirit shield effects for delta?
    By pk nation in forum Help
    Replies: 0
    Last Post: 05-26-2011, 01:58 PM
  3. [PI] Elysian and Divine Spirit Shield Effects
    By TheRedArmy in forum Snippets
    Replies: 29
    Last Post: 03-24-2011, 01:02 AM
  4. [FIX]Spirit Shield Effects[PI]
    By a 0 a 0 a in forum Requests
    Replies: 1
    Last Post: 12-01-2010, 03:51 PM
  5. Spirit Shield Effects HELP!
    By Moronic in forum Help
    Replies: 2
    Last Post: 06-22-2010, 08:28 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
  •