Reformat and clean up npc scripts
This commit is contained in:
@@ -29,25 +29,25 @@ function start() {
|
||||
if (prev == null) {
|
||||
var start = parseInt(eim.getProperty("entryTimestamp"));
|
||||
var diff = Date.now() - start;
|
||||
|
||||
|
||||
var points = 1000 - Math.floor(diff / (100 * 60));
|
||||
if(points < 100) points = 100;
|
||||
|
||||
if (points < 100) {
|
||||
points = 100;
|
||||
}
|
||||
|
||||
cm.getGuild().gainGP(points);
|
||||
}
|
||||
|
||||
|
||||
eim.clearPQ();
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
cm.sendOk("This is your final challenge. Defeat the evil lurking within the Rubian and return it to me. That is all.");
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
cm.sendOk("This is your final challenge. Defeat the evil lurking within the Rubian and let your instance leader return it to me. That is all.");
|
||||
}
|
||||
}
|
||||
else
|
||||
} else {
|
||||
cm.warp(990001100);
|
||||
|
||||
}
|
||||
|
||||
cm.dispose();
|
||||
}
|
||||
Reference in New Issue
Block a user