summaryrefslogtreecommitdiff
path: root/db/pre-re
diff options
context:
space:
mode:
Diffstat (limited to 'db/pre-re')
-rw-r--r--db/pre-re/item_db.conf68
1 files changed, 36 insertions, 32 deletions
diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf
index ff2f96d1..fc2d58c4 100644
--- a/db/pre-re/item_db.conf
+++ b/db/pre-re/item_db.conf
@@ -205,10 +205,12 @@ item_db: (
ViewSprite: 1
BindOnEquip: false
Subtype: "W_BOW"
- OnEquipScript: <"
- set @LauncherType, AMMO_BOW;
- callfunc "CheckLauncher";
- ">
+ AllowAmmo: {
+ Id529: 1
+ Id762: 1
+ Id1199: 1
+ Id1282: 1
+ }
},
{
Id: 536
@@ -251,10 +253,12 @@ item_db: (
ViewSprite: 1
BindOnEquip: false
Subtype: "W_BOW"
- OnEquipScript: <"
- set @LauncherType, AMMO_BOW;
- callfunc "CheckLauncher";
- ">
+ AllowAmmo: {
+ Id529: 1
+ Id762: 1
+ Id1199: 1
+ Id1282: 1
+ }
},
{
Id: 547
@@ -508,9 +512,13 @@ item_db: (
Subtype: "W_BOW"
OnEquipScript: <"
callfunc "UnreleasedItem";
- set @LauncherType, AMMO_BOW;
- callfunc "CheckLauncher";
">
+ AllowAmmo: {
+ Id529: 1
+ Id762: 1
+ Id1199: 1
+ Id1282: 1
+ }
},
{
Id: 576
@@ -968,6 +976,12 @@ item_db: (
ViewSprite: 1
BindOnEquip: false
Subtype: "W_BOW"
+ AllowAmmo: {
+ Id529: 1
+ Id762: 1
+ Id1199: 1
+ Id1282: 1
+ }
OnEquipScript: <"
callfunc "RequireStat", bDex, 80, EQI_HAND_R;
bonus2 bHPDrainRate, 100, -2;
@@ -976,8 +990,6 @@ item_db: (
bonus bSpeedAddRate, 10;
bonus bDefRate, -40;
bonus bDef2Rate, -35;
- set @LauncherType, AMMO_BOW;
- callfunc "CheckLauncher";
">
},
{
@@ -1000,10 +1012,9 @@ item_db: (
ViewSprite: 1
BindOnEquip: false
Subtype: "W_BOW"
- OnEquipScript: <"
- set @LauncherType, AMMO_SLING;
- callfunc "CheckLauncher";
- ">
+ AllowAmmo: {
+ Id904: 1
+ }
},
{
Id: 904
@@ -1022,10 +1033,6 @@ item_db: (
ViewSprite: 904
BindOnEquip: false
Subtype: "A_SHELL"
- OnEquipScript: <"
- set @AmmoType, AMMO_SLING;
- callfunc "CheckAmmo";
- ">
},
{
Id: 906
@@ -1089,10 +1096,12 @@ item_db: (
ViewSprite: 1
BindOnEquip: false
Subtype: "W_BOW"
- OnEquipScript: <"
- set @LauncherType, AMMO_BOW;
- callfunc "CheckLauncher";
- ">
+ AllowAmmo: {
+ Id529: 1
+ Id762: 1
+ Id1199: 1
+ Id1282: 1
+ }
},
{
Id: 1201
@@ -1176,10 +1185,6 @@ item_db: (
ViewSprite: 5260
BindOnEquip: false
Subtype: "A_SHELL"
- OnEquipScript: <"
- set @AmmoType, AMMO_XMAS;
- callfunc "CheckAmmo";
- ">
},
{
Id: 5261
@@ -1201,10 +1206,9 @@ item_db: (
ViewSprite: 1
BindOnEquip: false
Subtype: "W_BOW"
- OnEquipScript: <"
- set @LauncherType, AMMO_XMAS;
- callfunc "CheckLauncher";
- ">
+ AllowAmmo: {
+ Id5260: 1
+ }
},
{
Id: 702