Spell Penetration

From TheReincarnation
Revision as of 00:56, 16 May 2012 by Arychamel (talk | contribs)
Jump to: navigation, search
This page is in need of content



Encyclopedia | Units | Spells | Items | Heroes | Skills | Buildings | Guides
Icon ASCENDANT.gif Legendary Artificer | Icon VERDANT.gif Animal Mastery | Icon ERADICATION.gif Spell Penetration | Icon NETHER.gif Undead Mastery | Icon PHANTASM.gif Spell Mastery

Icon PLAIN.gif Barrier Proficiency | Icon PLAIN.gif Grand Enchanter | Icon PLAIN.gif Legendary Commander | Icon PLAIN.gif Augment Summoning | Icon PLAIN.gif Grand Conqueror



This skill gives you the ability to pierce your enemies barriers and creature spell resistance. It decreases target mages barrier resistance (if he has any).


Effects

  • Level 1-5 : ? (possibly -.75% per level)
  • Level 6-10 : ? (possibly -1.5% per level)
  • Level 11-15 : ? (possibly -2.25% per level)
  • Level 16-20 : ? (possibly -3% per level)


Bonuses

  • Level 10+ : Unknown if existing.
  • Level 15+ : Unknown if existing.
  • Level 20 : Unknown if existing.


Level By Level

Unknown


User experience

Independant testing by Laanders[1] shows that the penetration bonuses for this skill may be higher than initially thought. Although the level by level progression and existence of bonuses are still unknown, Laanders was able to show that Spell Penetration level 10 provides a ~6.28% penetration bonus, and SP level 15 provides an ~18.48% penetration bonus


Return to:
- Encyclopedia
- Skills



if you can read code:

sub spell_resisted {

  my $caster_mage = shift;
  my $target_mage = shift;
  my $spell_color = shift;
  my $barrier_resistance = $target_mage->getBarrierResistance() / 100;
  my $sl_resistance = 0;
  my $barrier_piercing = $caster_mage->{mage_spellpiercing} / 100;
  
  my $color_resistance = 0;
  $color_resistance = $target_mage->getResistanceNether() if $spell_color eq 'NETHER';
  $color_resistance = $target_mage->getResistancePhantasm() if $spell_color eq 'PHANTASM';
  $color_resistance = $target_mage->getResistanceAscendant() if $spell_color eq 'ASCENDANT';
  $color_resistance = $target_mage->getResistanceVerdant() if $spell_color eq 'VERDANT';
  $color_resistance = $target_mage->getResistanceEradication() if $spell_color eq 'ERADICATION';
  
  $color_resistance = 75 if $color_resistance > 75;
  
  #Spell Penetration also reduces color resistance
  $color_resistance -= $caster_mage->{mage_spellpiercing};
  $color_resistance = 0 if $color_resistance < 0;
  
  $color_resistance /= 100;
  #check barriers
  if ( rand() < ($barrier_resistance + $sl_resistance - $barrier_piercing)) {
     return 0;
  }
  
  #check resistances
  if (rand() < $color_resistance) {
     return 1;
  }
  
  #not blocked
  return 2;

}

that is how blocking works. now as far as piercing ehh.