Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/ai/petra/victoryManager.js
var PETRA = function(m) | (function(m) | ||||
{ | { | ||||
/** | /** | ||||
* Handle events that are important to specific victory conditions: | * Handle events that are important to specific victory conditions: | ||||
* in capture_the_relic, capture gaia relics and train military guards. | * in capture_the_relic, capture gaia relics and train military guards. | ||||
* in regicide, train healer and military guards for the hero. | * in regicide, train healer and military guards for the hero. | ||||
* in wonder, train military guards. | * in wonder, train military guards. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 729 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
m.VictoryManager.prototype.Deserialize = function(data) | m.VictoryManager.prototype.Deserialize = function(data) | ||||
{ | { | ||||
for (let key in data) | for (let key in data) | ||||
this[key] = data[key]; | this[key] = data[key]; | ||||
}; | }; | ||||
return m; | }(PETRA)); | ||||
}(PETRA); |
Wildfire Games · Phabricator