diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-19 08:49:16 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-19 08:49:16 -0300 |
commit | 6cb38f5c2bfbfb8439b5b9075bdaf4ab3313c72b (patch) | |
tree | 71ee9f10423f8203d68bd0ed57f82cfa6f3e53f4 | |
parent | 8644ed324315d4971485a27156b56d6cc1ac13f7 (diff) | |
download | serverdata-6cb38f5c2bfbfb8439b5b9075bdaf4ab3313c72b.tar.gz serverdata-6cb38f5c2bfbfb8439b5b9075bdaf4ab3313c72b.tar.bz2 serverdata-6cb38f5c2bfbfb8439b5b9075bdaf4ab3313c72b.tar.xz serverdata-6cb38f5c2bfbfb8439b5b9075bdaf4ab3313c72b.zip |
Fix all bugs
-rw-r--r-- | npc/008-4-1/boss.txt | 4 | ||||
-rw-r--r-- | npc/items/master_skillbook.txt | 4 | ||||
-rw-r--r-- | npc/scripts.conf | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/npc/008-4-1/boss.txt b/npc/008-4-1/boss.txt index 0a585424..1a31f056 100644 --- a/npc/008-4-1/boss.txt +++ b/npc/008-4-1/boss.txt @@ -12,7 +12,7 @@ OnTimer3600000: OnInit: $@MB_00841=0; - monster "008-4-1", 33, 24, strmobinfo(1, GameBalance), GameBalance, 1, "#BossCtrl_008-4-1::OnBossDeath"; + monster "008-4-1", 67, 30, strmobinfo(1, GameBalance), GameBalance, 1, "#BossCtrl_008-4-1::OnBossDeath"; end; OnBossDeath: @@ -29,7 +29,7 @@ OnBossDeath: else { addtimer(10, "#BossCtrl_008-4-1::OnBegin"); - mapannounce "008-4-1", "Boss deafeated by: " + getpartyname(.@party), bc_all; + mapannounce "008-4-1", "Boss deafeated by: " + strcharinfo(0), bc_all; } end; diff --git a/npc/items/master_skillbook.txt b/npc/items/master_skillbook.txt index 5453517c..8358e818 100644 --- a/npc/items/master_skillbook.txt +++ b/npc/items/master_skillbook.txt @@ -43,7 +43,7 @@ close; } // You must have free pages - if (array_entries(MASTERBOOK_SKILL) <= MASTERBOOK_PAGES) + if (array_entries(MASTERBOOK_SKILL) >= MASTERBOOK_PAGES) { mesc l("But you ran out of empty pages on this book."); close; @@ -65,7 +65,7 @@ // Allow you to check which skills are here to learn mes ""; select - rif(!getskillv(@mb_SkillId), l("Learn Skill")), + rif(!getskilllv(@mb_SkillId), l("Learn Skill")), l("Do not learn"); mes ""; if (@menu == 1) diff --git a/npc/scripts.conf b/npc/scripts.conf index 8185ef56..a7f39836 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -100,6 +100,7 @@ "npc/items/shovel.txt", "npc/items/rand_sc_heal.txt", "npc/items/recipes.txt", +"npc/items/master_skillbook.txt", // custom atcommands "npc/commands/music.txt", |