Implemented Orbis PQ.
This commit is contained in:
ronancpl
2017-06-11 00:12:11 -03:00
parent dbac58e871
commit 1afbac2429
142 changed files with 2600 additions and 539 deletions

View File

@@ -19,10 +19,22 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*@author Jvlaple
*Nependath Pot - Spawns Nependath or Dark Nependath
/*@author Ronan
*Nependeath Pot - Spawns Nependeath or Dark Nependeath
*/
function act() {
rm.spawnMonster(Math.random() > .6 ? 9300049 : 9300048);
if(rm.getMap().getSummonState()) {
var count = Number(rm.getEventInstance().getIntProperty("statusStg7_c"));
if(count < 7) {
var nextCount = (count + 1);
rm.spawnMonster(Math.random() >= .6 ? 9300049 : 9300048);
rm.getEventInstance().setProperty("statusStg7_c", nextCount);
}
else {
rm.spawnMonster(9300049);
}
}
}