Increased SettlementAura radius so it looks nicer on maps where scenario designers have placed settlements by hand. Eventually we should decrease it back to 0.1 when Atlas supports socketted placement.

Also, modified game startup script to use the new tech functions.

This was SVN commit r4139.
This commit is contained in:
Matei 2006-07-18 04:23:35 +00:00
parent 845b606763
commit e374ecc342
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity
Parent="template_unit_cavalry_melee_cavalry_spearman"
Parent="template_unit_cavalry_melee_spearman"
>
<Traits>

View File

@ -503,7 +503,7 @@ function attachAuras()
if( this.hasClass("Settlement") )
{
this.addAura ( "settlement", 0.1, 0, new SettlementAura( this ) );
this.addAura ( "settlement", 1.0, 0, new SettlementAura( this ) );
}
}

View File

@ -33,10 +33,10 @@ for(var i=0; i<players.length; i++)
// Give the players their civ techs (which will set up their civ bonuses)
for(var i=0; i<players.length; i++)
{
var tech = getTechnology( "civ_" + players[i].civilization.toLowerCase() );
var tech = getTechnology( "civ_" + players[i].civilization.toLowerCase(), players[i] );
if( tech != null )
{
tech.applyEffects( i, false, false );
tech.applyEffects( false, false );
}
}