From 337cb717b16a21654a0142611a7f4c652e693813 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Sat, 11 Nov 2023 01:54:07 +0100 Subject: fluffy event underworld troll function --- world/map/npc/items/underworld_troll.txt | 10 ++++++++++ world/map/npc/scripts.conf | 12 +++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 world/map/npc/items/underworld_troll.txt 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 86c7c75f..46dad1e0 100644 --- a/world/map/npc/scripts.conf +++ b/world/map/npc/scripts.conf @@ -1,5 +1,8 @@ // This is the main script import file +// Core Functions +npc: npc/functions/bitwise.txt + // NPC Functions npc: npc/functions/banker.txt npc: npc/functions/barber.txt @@ -13,7 +16,6 @@ npc: npc/functions/game_rules.txt npc: npc/functions/inn.txt npc: npc/functions/item_menu.txt npc: npc/functions/magic.txt -npc: npc/functions/mob_points.txt npc: npc/functions/process_equip.txt npc: npc/functions/slot_machine.txt npc: npc/functions/soul_menhir.txt @@ -32,6 +34,7 @@ npc: npc/functions/DyeConfig.txt npc: npc/functions/motd.txt npc: npc/functions/motdconfig.txt npc: npc/functions/ghost.txt +npc: npc/functions/vault.txt npc: npc/functions/global_event_handler.txt // Item Functions @@ -56,6 +59,13 @@ 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 + +// Mob Functions +npc: npc/mobs/mob_points.txt +npc: npc/mobs/mob_kill_handler.txt + +// Map Functions import: npc/_import.txt // magic -- cgit v1.2.3-60-g2f50