summaryrefslogtreecommitdiff
path: root/npc/008-2-4/bernard.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/008-2-4/bernard.txt')
-rw-r--r--npc/008-2-4/bernard.txt17
1 files changed, 5 insertions, 12 deletions
diff --git a/npc/008-2-4/bernard.txt b/npc/008-2-4/bernard.txt
index 8ba6a18c..fa3b1dc3 100644
--- a/npc/008-2-4/bernard.txt
+++ b/npc/008-2-4/bernard.txt
@@ -96,8 +96,8 @@
close;
delitem .first_item, 1;
- getitem .first_reward_item, .first_reward_amount;
- getexp .first_reward_exp, 0;
+ quest_item(.maxLevel, .first_reward_item, .first_reward_amount);
+ quest_xp(.maxLevel, .first_reward_exp);
setq .quest, 3;
speech 8,
@@ -140,8 +140,8 @@
close;
delitem .second_item, .second_item_qty;
- getitem .second_reward_item, .second_reward_amount;
- getexp .second_reward_exp, 0;
+ quest_item(.maxLevel, .second_reward_item, .second_reward_amount);
+ quest_xp(.maxLevel, .second_reward_exp);
setq .quest, 5;
close;
@@ -201,6 +201,7 @@ OnPCBaseLvUpEvent:
OnInit:
.min_level = 10; // min level to do the quest
+ .maxLevel = 30;
.first_item = RoastedMaggot;
.first_reward_item = CherryCake;
@@ -218,13 +219,5 @@ OnInit:
.bodytype = BODYTYPE_3;
.distance = 3;
-////////// UNFINISHED //////////
-////////////////////////////////
-// REMOVE THIS CODE WHEN THIS //
-// NPC IS NO LONGER A WIP //////
-////////////////////////////////
-//if (!debug) disablenpc(.name$);
-///////// UNFINISHED ///////////
-
end;
}