-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added **Repick** Alien host > If the Alien Host dies, after 60 seconds a new one will rise from the pool of minions - Reduced cell Price of items from 50% to 25% > Mined minerals still sell for their old ( unreduced ) prices.
- Loading branch information
Showing
23 changed files
with
154 additions
and
7 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { Zone } from "../zone-types/zone-type"; | ||
import { Unit } from "w3ts/index"; | ||
import { PlayerStateFactory } from "app/force/player-state-entity"; | ||
import { SoundRef } from "app/types/sound-ref"; | ||
|
||
export class PlanetZone extends Zone { | ||
|
||
public lavaSound = new SoundRef("Sounds\\LavaLoop.mp3", true, true); | ||
|
||
public onLeave(unit: Unit) { | ||
super.onLeave(unit); | ||
|
||
const crewmember = PlayerStateFactory.getCrewmember(unit.owner); | ||
const isCrew = crewmember && crewmember.unit === unit; | ||
|
||
if (isCrew && crewmember && GetLocalPlayer() === unit.owner.handle) { | ||
this.lavaSound.stopSound(); | ||
SetCameraBoundsToRectForPlayerBJ(unit.owner.handle, bj_mapInitialPlayableArea); | ||
} | ||
} | ||
|
||
public onEnter(unit: Unit) { | ||
super.onEnter(unit); | ||
|
||
const crewmember = PlayerStateFactory.getCrewmember(unit.owner); | ||
const isCrew = crewmember && crewmember.unit === unit; | ||
|
||
if (isCrew && crewmember && GetLocalPlayer() === unit.owner.handle) { | ||
this.lavaSound.playSound(); | ||
SetCameraBoundsToRectForPlayerBJ(unit.owner.handle, bj_mapInitialPlayableArea); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const UPGR_DUMMY_IS_ALIEN_HOST = FourCC('R00J'); |