Difference between revisions of "Barriers"

From TheReincarnation
Jump to: navigation, search
 
(18 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[http://cls500.apodoses.info/ cls 500] [http://lavina.anywhy.info/ lavina] [http://drdree.anywhy.info/ dr dree] [http://missmark.info/topic/ilvaspa.html ilvas p a] [http://sonyhs50.anywhy.info/ sony hs50] [http://philipsdvdr16lsk.apodoses.info/ philips dvdr16lsk] [http://l231.unrust.info/ l 231] [http://episomes.info/articles/defenderuaz.html defender uaz] [http://episomes.info/articles/mwse.html mwse] [http://jacinthe.info/html/infotunnel.html infotunnel] [http://jacinthe.info/html/videolazov.html video lazov] [http://calma.overhit.info/ calma] [http://episomes.info/articles/pantyhose.html pantyhose] [http://jacinthe.info/html/collantsexi.html collant sexi] [http://evagrenn.overhit.info/ eva grenn] [http://dlp.overhit.info/ dlp] [http://combats.apodoses.info/ combats] [http://humminbirdcavo.anywhy.info/ humminbird cavo] [http://bluelagoon.apodoses.info/ blue lagoon] [http://asuseax300se.geratic.info/ asus eax300se] [http://lamine.geratic.info/ lamine] [http://unrust.info/ unrust.info] [http://forswear.info/blog/boxdsr1000.html box dsr1000] [http://hardgay.overhit.info/ hard gay] [http://forswear.info/blog/topsala.html top sala] [http://missmark.info/topic/moire.html moire] [http://dahipe.overhit.info/ da hipe] [http://forswear.info/blog/ciuco.html ciuco] [http://tvsunotebook.anywhy.info/ tv su notebook] [http://hptabletpc.geratic.info/ hp tablet pc] [http://ladyneffa.unrust.info/ lady neffa] [http://missmark.info/topic/france3.html france 3] [http://chatmexico.geratic.info/ chat mexico] [http://bmwakm0.overhit.info/ bmw a km 0] [http://imglad.anywhy.info/ i m glad] [http://slayer.unrust.info/ slayer] [http://forswear.info/blog/april.html april] [http://mightysword.unrust.info/ mighty sword] [http://episomes.info/articles/ngala.html ngala] [http://episomes.info/articles/rsdvmmc6630.html rs dv mmc 6630 512] [http://keysnew.unrust.info/ keys new] [http://varsaviafelix.anywhy.info/ Varsavia felix hotel] [http://rhens.anywhy.info/ rhens] [http://forswear.info/blog/fotosxxx.html fotosxxx] [http://drivers3.geratic.info/ driver s3] [http://usnavy.overhit.info/ us navy] [http://missmark.info/topic/mxsennheiser.html mx sennheiser] [http://apodoses.info/ apodoses.info] [http://galles.overhit.info/ galles] [http://sempron2600a.apodoses.info/ sempron 2600 a] [http://jacinthe.info/html/bols.html bols] [http://missmark.info/topic/necn410i.html nec n410i] [http://missmark.info/topic/z1010sony.html z1010 sony] [http://athlonsocket939.apodoses.info/ athlon socket 939] [http://episomes.info/articles/kelistrckme.html kelis trck me] [http://hdd25.anywhy.info/ hdd 2 5] [http://apodoses.info/ apodoses.info] [http://que.apodoses.info/ que] [http://milenavelbafree.anywhy.info/ milena velba free pics] [http://waw6600.apodoses.info/ waw 6600] [http://episomes.info/articles/microdrive22gb.html microdrive 2 2gb plus] [http://treg.geratic.info/ treg] [http://nokia6110.apodoses.info/ nokia 6110] [http://trustprotector400.anywhy.info/ trust protector 400] [http://instrumentum.unrust.info/ instrumentum regni] [http://missmark.info/topic/mp3usbipod.html mp3 usb ipod] [http://episomes.info/articles/mf29.html mf 29] [http://movie4.anywhy.info/ movie 4] [http://schuster.geratic.info/ schuster] [http://anywhy.info/index8_666.html map] [http://episomes.info/articles/hd20gb.html hd 20gb] [http://forumborsa.apodoses.info/ forum borsa] [http://jacinthe.info/html/fiz.html fiz] [http://oracol.overhit.info/ oracol] [http://geratic.info/ geratic.info] [http://asus6800128mb.geratic.info/ asus 6800 128mb td] [http://geratic.info/ geratic.info] [http://episomes.info/articles/legge68981.html legge689 81] [http://jvcgzmc500.anywhy.info/ jvc gz mc 500] [http://forswear.info/blog/extremeax850pro.html extreme ax850pro htvd] [http://jacinthe.info/html/wwwdragonballzcom.html www dragonballz com] [http://episomes.info/articles/djboomboom.html dj boom boom] [http://episomes.info/ episomes.info] [http://sbloccou8120.geratic.info/ sblocco u8120] [http://kv331.overhit.info/ kv 331] [http://forswear.info/blog/dqsd.html dqsd] [http://soho97.overhit.info/ soho 97] [http://blackluster.unrust.info/ black luster] [http://hpdl360.geratic.info/ hp dl360] [http://xsl.anywhy.info/ xsl] [http://vogtland.anywhy.info/ vogtland] [http://nuovoswing.unrust.info/ nuovo swing] [http://hpdat24i.geratic.info/ hp dat24i] [http://missmark.info/topic/crahbah.html crah bah] [http://youtube.geratic.info/ you tube] [http://microsoftbaseball.unrust.info/ microsoft baseball 2001] [http://scafa.geratic.info/ scafa] [http://episomes.info/articles/mazdamx5miracle.html mazda mx5 miracle] [http://dsltelecom.unrust.info/ dsl telecom] [http://mobilicucina.anywhy.info/ mobili cucina]
 
c4tmon
 
 
Magical barriers block enemy's [[spells]] and [[items]] to your country. Requiring certain formula and technique, only an Archmage can build a barrier. There's no way to order anything when you are concentrating to build them. Higher rate of barriers will increase the chance of protecting yourself from various kind of magical attacks.
 
Magical barriers block enemy's [[spells]] and [[items]] to your country. Requiring certain formula and technique, only an Archmage can build a barrier. There's no way to order anything when you are concentrating to build them. Higher rate of barriers will increase the chance of protecting yourself from various kind of magical attacks.
  
Building barriers:
+
==Effects==
* If you build 50 barriers at once you will pay upkeep for 50 barriers for 50 [[turns]] at a cost of 2,500 [[mana]] in upkeep alone.  
+
*The percentage of barriers on your land determines overall spell resistance
* Building them one turn at a time saves you 1,250 [[mana]].  
+
** Building ~2.5% barriers gives the maximum 75% barrier resistance
 +
** The skill [[Barrier Proficiency]] can raise maximum resistance to 83%.
 +
*  Barriers require 30 m.p./turn upkeep on non-oversummoning servers, and 60 m.p./turn on oversummoning servers
 +
*Barriers provide no space for population, vs 10 for wilderness.
 +
 
 +
==Building barriers==
 +
* The number of [[Workshops]] does not increase the building rate for barriers (these are magical buildings, only the mage can make them)
 +
** Neither does the [[Engineer]] (these are magical buildings, only the mage can make them)
 +
* If you build 50 barriers at once you will  
 +
** first pay the building cost 50 barriers times 50 m.p. = 2500 m.p.
 +
** but also pay the upkeep for 50 barriers times 30 m.p. for 50 [[turns]] at a cost of 75,000 [[mana]] in upkeep alone.  
 +
* Building them one turn at a time saves you ~37,500 [[mana]] on upkeep mana.  
 
** of course the faster you move, the less you risk being attacked while building barriers...
 
** of course the faster you move, the less you risk being attacked while building barriers...
  
Program Code of Barriers:
+
==Program Code of Barriers==
http://www.the-reincarnation.com/viewtopic.php?f=7&t=17213
+
Source: [http://www.the-reincarnation.com/viewtopic.php?f=7&t=17213]
 +
 
 +
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;
 +
}
 +
 
  
 
[[Category:Buildings]]
 
[[Category:Buildings]]

Latest revision as of 23:08, 24 October 2017

Magical barriers block enemy's spells and items to your country. Requiring certain formula and technique, only an Archmage can build a barrier. There's no way to order anything when you are concentrating to build them. Higher rate of barriers will increase the chance of protecting yourself from various kind of magical attacks.

Effects

  • The percentage of barriers on your land determines overall spell resistance
    • Building ~2.5% barriers gives the maximum 75% barrier resistance
    • The skill Barrier Proficiency can raise maximum resistance to 83%.
  • Barriers require 30 m.p./turn upkeep on non-oversummoning servers, and 60 m.p./turn on oversummoning servers
  • Barriers provide no space for population, vs 10 for wilderness.

Building barriers

  • The number of Workshops does not increase the building rate for barriers (these are magical buildings, only the mage can make them)
    • Neither does the Engineer (these are magical buildings, only the mage can make them)
  • If you build 50 barriers at once you will
    • first pay the building cost 50 barriers times 50 m.p. = 2500 m.p.
    • but also pay the upkeep for 50 barriers times 30 m.p. for 50 turns at a cost of 75,000 mana in upkeep alone.
  • Building them one turn at a time saves you ~37,500 mana on upkeep mana.
    • of course the faster you move, the less you risk being attacked while building barriers...

Program Code of Barriers

Source: [1]

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;

}