diff options
author | HoraK-FDF <horak-fdf@web.de> | 2023-11-11 01:54:07 +0100 |
---|---|---|
committer | HoraK-FDF <horak-fdf@web.de> | 2023-11-11 01:54:07 +0100 |
commit | 337cb717b16a21654a0142611a7f4c652e693813 (patch) | |
tree | 0ba8601d3ce91ecf5c00eef8a99c500ef61bf000 | |
parent | 989307f09dfef67670888562e9957a57a3da702c (diff) | |
download | serverdata-337cb717b16a21654a0142611a7f4c652e693813.tar.gz serverdata-337cb717b16a21654a0142611a7f4c652e693813.tar.bz2 serverdata-337cb717b16a21654a0142611a7f4c652e693813.tar.xz serverdata-337cb717b16a21654a0142611a7f4c652e693813.zip |
fluffy event underworld troll function
-rw-r--r-- | world/map/npc/items/underworld_troll.txt | 10 | ||||
-rw-r--r-- | world/map/npc/scripts.conf | 12 |
2 files changed, 21 insertions, 1 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 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 |