Fix various other scripts with broken comparisons
This commit is contained in:
@@ -6,7 +6,7 @@ function act() {
|
||||
var newStage = stage.toString();
|
||||
eim.setProperty("stage", newStage);
|
||||
react.forceHitReactor(react.getState() + 1);
|
||||
if (eim.getProperty("stage").equals("6")) {
|
||||
if (eim.getProperty("stage") === "6") {
|
||||
rm.mapMessage(6, "Protect the Moon Bunny!!!");
|
||||
var map = eim.getMapInstance(rm.getReactor().getMap().getId());
|
||||
map.allowSummonState(true);
|
||||
|
||||
@@ -6,7 +6,7 @@ function act() {
|
||||
var newStage = stage.toString();
|
||||
eim.setProperty("stage", newStage);
|
||||
react.forceHitReactor(react.getState() + 1);
|
||||
if (eim.getProperty("stage").equals("6")) {
|
||||
if (eim.getProperty("stage") === "6") {
|
||||
rm.mapMessage(6, "Protect the Moon Bunny!!!");
|
||||
var map = eim.getMapInstance(rm.getReactor().getMap().getId());
|
||||
map.allowSummonState(true);
|
||||
|
||||
@@ -6,7 +6,7 @@ function act() {
|
||||
var newStage = stage.toString();
|
||||
eim.setProperty("stage", newStage);
|
||||
react.forceHitReactor(react.getState() + 1);
|
||||
if (eim.getProperty("stage").equals("6")) {
|
||||
if (eim.getProperty("stage") === "6") {
|
||||
rm.mapMessage(6, "Protect the Moon Bunny!!!");
|
||||
var map = eim.getMapInstance(rm.getReactor().getMap().getId());
|
||||
map.allowSummonState(true);
|
||||
|
||||
@@ -6,7 +6,7 @@ function act() {
|
||||
var newStage = stage.toString();
|
||||
eim.setProperty("stage", newStage);
|
||||
react.forceHitReactor(react.getState() + 1);
|
||||
if (eim.getProperty("stage").equals("6")) {
|
||||
if (eim.getProperty("stage") === "6") {
|
||||
rm.mapMessage(6, "Protect the Moon Bunny!!!");
|
||||
var map = eim.getMapInstance(rm.getReactor().getMap().getId());
|
||||
map.allowSummonState(true);
|
||||
|
||||
@@ -6,7 +6,7 @@ function act() {
|
||||
var newStage = stage.toString();
|
||||
eim.setProperty("stage", newStage);
|
||||
react.forceHitReactor(react.getState() + 1);
|
||||
if (eim.getProperty("stage").equals("6")) {
|
||||
if (eim.getProperty("stage") === "6") {
|
||||
rm.mapMessage(6, "Protect the Moon Bunny!!!");
|
||||
var map = eim.getMapInstance(rm.getReactor().getMap().getId());
|
||||
map.allowSummonState(true);
|
||||
|
||||
@@ -6,7 +6,7 @@ function act() {
|
||||
var newStage = stage.toString();
|
||||
eim.setProperty("stage", newStage);
|
||||
react.forceHitReactor(react.getState() + 1);
|
||||
if (eim.getProperty("stage").equals("6")) {
|
||||
if (eim.getProperty("stage") === "6") {
|
||||
rm.mapMessage(6, "Protect the Moon Bunny!!!");
|
||||
var map = eim.getMapInstance(rm.getReactor().getMap().getId());
|
||||
map.allowSummonState(true);
|
||||
|
||||
@@ -36,9 +36,9 @@ function act() {
|
||||
var eim = rm.getPlayer().getEventInstance();
|
||||
if (eim != null) {
|
||||
var status = eim.getProperty("stage1status");
|
||||
if (status != null && !status.equals("waiting")) {
|
||||
if (status != null && status !== "waiting") {
|
||||
var stage = parseInt(eim.getProperty("stage1phase"));
|
||||
if (status.equals("display")) {
|
||||
if (status === "display") {
|
||||
if (!rm.getReactor().isRecentHitFromAttack()) {
|
||||
var prevCombo = eim.getProperty("stage1combo");
|
||||
|
||||
|
||||
@@ -38,10 +38,10 @@ function act() {
|
||||
var eim = rm.getPlayer().getEventInstance();
|
||||
if (eim != null) {
|
||||
var status = eim.getProperty("stage1status");
|
||||
if (status != null && !status.equals("waiting")) {
|
||||
if (status != null && status !== "waiting") {
|
||||
var stage = parseInt(eim.getProperty("stage1phase"));
|
||||
//rm.mapMessage(6,"Stage " + stage);
|
||||
if (status.equals("display")) {
|
||||
if (status === "display") {
|
||||
if (!rm.getReactor().isRecentHitFromAttack()) {
|
||||
var prevCombo = eim.getProperty("stage1combo");
|
||||
|
||||
|
||||
@@ -36,9 +36,9 @@ function act() {
|
||||
var eim = rm.getPlayer().getEventInstance();
|
||||
if (eim != null) {
|
||||
var status = eim.getProperty("stage1status");
|
||||
if (status != null && !status.equals("waiting")) {
|
||||
if (status != null && status !== "waiting") {
|
||||
var stage = parseInt(eim.getProperty("stage1phase"));
|
||||
if (status.equals("display")) {
|
||||
if (status === "display") {
|
||||
if (!rm.getReactor().isRecentHitFromAttack()) {
|
||||
var prevCombo = eim.getProperty("stage1combo");
|
||||
var n = "" + (rm.getReactor().getObjectId() % 1000);
|
||||
|
||||
Reference in New Issue
Block a user