diff options
author | Jesusalva Jesusalva <jesusalva@themanaworld.org> | 2023-02-17 17:10:14 +0000 |
---|---|---|
committer | Jesusalva Jesusalva <jesusalva@themanaworld.org> | 2023-02-17 17:10:14 +0000 |
commit | d2881c5c52dae0f049c5d7acf789a70cde2832b0 (patch) | |
tree | 77aef42f9de587e5e8678ded36bec5e301c4fbfd | |
parent | 0dd682d4ba48d62ada93bdafea13a32bc6147fbd (diff) | |
parent | 56268b8ec4cb8d423c55ee3e2f89873218159f39 (diff) | |
download | serverdata-d2881c5c52dae0f049c5d7acf789a70cde2832b0.tar.gz serverdata-d2881c5c52dae0f049c5d7acf789a70cde2832b0.tar.bz2 serverdata-d2881c5c52dae0f049c5d7acf789a70cde2832b0.tar.xz serverdata-d2881c5c52dae0f049c5d7acf789a70cde2832b0.zip |
Merge branch 'item_db' into 'master'
item-db provide missing item function
See merge request legacy/serverdata!631
-rw-r--r-- | world/map/npc/items/underworld_troll.txt | 10 | ||||
-rw-r--r-- | world/map/npc/scripts.conf | 1 |
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 |