summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/items/underworld_troll.txt10
-rw-r--r--world/map/npc/scripts.conf1
2 files changed, 11 insertions, 0 deletions
diff --git a/world/map/npc/items/underworld_troll.txt b/world/map/npc/items/underworld_troll.txt
new file mode 100644
index 00000000..afa22f6f
--- /dev/null
+++ b/world/map/npc/items/underworld_troll.txt
@@ -0,0 +1,10 @@
+function|script|UnderworldTroll
+{
+ if (getequipid(equip_hand1) != KidBook) goto L_Return;
+ bonus bStr, 10;
+ bonus bAtkRange, 1;
+ goto L_Return;
+
+L_Return:
+ return;
+}
diff --git a/world/map/npc/scripts.conf b/world/map/npc/scripts.conf
index 49804a10..c17ae367 100644
--- a/world/map/npc/scripts.conf
+++ b/world/map/npc/scripts.conf
@@ -57,6 +57,7 @@ npc: npc/items/max_stat.txt
npc: npc/items/nobow_item.txt
npc: npc/items/love_potion.txt
npc: npc/items/manapearl_item.txt
+npc: npc/items/underworld_troll.txt
import: npc/_import.txt
// magic