Ninja Ambush & Donators on GM Map glitch
Normalized the Ninja Ambush skill, now applying a more sane DOT amount. Added "mobhp" and "resetskill" commands. Fixed a glitch with donators on the GM map, being able to interact with those NPCs as if they were GM's. Added scripts for the Dyle questline.
This commit is contained in:
@@ -40,12 +40,18 @@ var facenew = Array();
|
||||
var colors = Array();
|
||||
|
||||
function start() {
|
||||
if(cm.getPlayer().gmLevel() < 2) {
|
||||
cm.sendOk("Hey wassup?");
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
cm.sendSimple("Hey there, I can change your look. What would you like to change?\r\n#L0#Skin#l\r\n#L1#Hair#l\r\n#L5#Female Hair#l\r\n#L2#Hair Color#l\r\n#L3#Eye#l\r\n#L6#Female Eyes#l\r\n#L4#Eye Color#l\r\n#L7#Set GM job#l");
|
||||
}
|
||||
|
||||
function action(mode, type, selection) {
|
||||
status++;
|
||||
if (mode != 1 || cm.getPlayer().gmLevel() < 1){
|
||||
if (mode != 1 || cm.getPlayer().gmLevel() < 2){
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -26,11 +26,12 @@
|
||||
* @Purpose: Levels people up.
|
||||
*/
|
||||
function start() {
|
||||
cm.sendYesNo("Do you want to level up?");
|
||||
if(cm.getPlayer().gmLevel() > 1) cm.sendYesNo("Do you want to level up?");
|
||||
else cm.sendOk("Hey wassup?");
|
||||
}
|
||||
|
||||
function action(i, am, pro) {
|
||||
if (i > 0 && cm.getPlayer().gmLevel() > 0)
|
||||
if (i > 0 && cm.getPlayer().gmLevel() > 1)
|
||||
cm.getPlayer().levelUp(true);
|
||||
cm.dispose();
|
||||
}
|
||||
@@ -175,6 +175,7 @@ function writeSolaxiaCommandsLv2() { //JrGM
|
||||
addCommand("setstat", "");
|
||||
addCommand("maxstat", "");
|
||||
addCommand("maxskill", "");
|
||||
addCommand("resetskill", "");
|
||||
addCommand("mesos", "");
|
||||
addCommand("search", "");
|
||||
addCommand("jail", "");
|
||||
@@ -216,6 +217,7 @@ function writeSolaxiaCommandsLv0() { //Common
|
||||
addCommand("joinevent", "");
|
||||
addCommand("leaveevent", "");
|
||||
addCommand("bosshp", "");
|
||||
addCommand("mobhp", "");
|
||||
addCommand("ranks", "");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user