コード例 #1
0
ファイル: product.php プロジェクト: iceeyhot/sc2calc.org
$FlyerCarapaceLevel2 = new Upgrade("Flyer Carapace Level 2", Zerg, array($Lair), array($Spire, $GreaterSpire), 225, 225, 190);
$FlyerCarapaceLevel3 = new Upgrade("Flyer Carapace Level 3", Zerg, array($Hive), array($Spire, $GreaterSpire), 300, 300, 220);
$CentrifugalHooks = new Upgrade("Centrifugal Hooks", Zerg, array($Lair), array($BanelingNest), 150, 150, 110);
$GlialReconstitution = new Upgrade("Glial Reconstitution", Zerg, array($Lair), array($RoachWarren), 100, 100, 110);
$MetabolicBoost = new Upgrade("Metabolic Boost", Zerg, array(), array($SpawningPool), 100, 100, 110);
$PneumatizedCarapace = new Upgrade("Pneumatized Carapace", Zerg, array($Lair), array($Hatchery, $Lair, $Hive), 100, 100, 60);
$GroovedSpines = new Upgrade("Grooved Spines", Zerg, array(), array($HydraliskDen), 150, 150, 80);
$NeuralParasite = new Upgrade("Neural Parasite", Zerg, array(), array($InfestationPit), 150, 150, 110);
$PathogenGlands = new Upgrade("Pathogen Glands", Zerg, array(), array($InfestationPit), 150, 150, 80);
$AdrenalGlands = new Upgrade("Adrenal Glands", Zerg, array($Hive), array($SpawningPool), 200, 200, 130);
$VentralSacs = new Upgrade("Ventral Sacs", Zerg, array($Lair), array($Hatchery, $Lair, $Hive), 200, 200, 130);
$TunnelingClaws = new Upgrade("Tunneling Claws", Zerg, array($Lair), array($RoachWarren), 150, 150, 110);
$ChitinousPlating = new Upgrade("Chitinous Plating", Zerg, array(), array($UltraliskCavern), 150, 150, 110);
$Burrow = new Upgrade("Burrow", Zerg, array($Lair), array($Hatchery, $Lair, $Hive), 100, 100, 100);
/// Spellcasters & Abilities
$Queen->makeSpellcaster(25, 200);
$SpawnLarvae = new Ability("Spawn Larvae", Zerg, null, $Queen, 25, 40);
$CreepTumor = new Ability("Creep Tumor", Zerg, null, $Queen, 25, 15);
$Nexus->makeSpellcaster(0, 100);
$ChronoBoost = new Ability("Chrono Boost", Protoss, null, $Nexus, 25, 20, false);
$OrbitalCommand->makeSpellcaster(50, 100);
$CalldownMULE = new Ability("Calldown: MULE", Terran, null, $OrbitalCommand, 50, 90);
$CalldownExtraSupplies = new Ability("Calldown: Extra Supplies", Terran, null, $OrbitalCommand, 50, 0);
$ScannerSweep = new Ability("Scanner Sweep", Terran, null, $OrbitalCommand, 50, 12);
/// Supply
$CommandCenter->supplyCapacity = 11;
$SupplyDepot->supplyCapacity = 8;
$CalldownExtraSupplies->supplyCapacity = 8;
$Hatchery->supplyCapacity = 2;
$Overlord->supplyCapacity = 8;
$Overseer->supplyCapacity = 8;