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:
ronancpl
2018-04-12 15:35:07 -03:00
parent 5d8ede3247
commit 6d91c79f28
14 changed files with 363 additions and 9 deletions

View File

@@ -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();
}