making own lootdrop_id, why wont this work, check inside!
hi all,
ive added a custom lootdrop_id inside lootdrop_entries :
+-------------+--------+---------+
| lootdrop_id | chance | item_id |
+-------------+--------+---------+
| 81950 | 17 | 2611 |
| 81950 | 15 | 6631 |
| 81950 | 10 | 25201 |
| 81950 | 8 | 25206 |
| 81950 | 20 | 25212 |
| 81950 | 17 | 25213 |
| 81950 | 14 | 25857 |
| 81950 | 10 | 30385 |
| 81950 | 20 | 31222 |
| 81950 | 14 | 31223 |
| 81950 | 12 | 31227 |
| 81950 | 5 | 31232 |
| 81950 | 7 | 31239 |
| 81950 | 5 | 31242 |
| 81950 | 23 | 31309 |
| 81950 | 15 | 31326 |
| 81950 | 7 | 31469 |
| 81950 | 16 | 55076 |
+-------------+--------+---------+
18 rows in set (0.00 sec)
81950 is my table. ive added "chance" and item id to all those items.
mysql> SELECT name, loottable_id FROM npc_types WHERE name = 'Lord_Nagafen'
+--------------+--------------+
| name | loottable_id |
+--------------+--------------+
| Lord_Nagafen | 4035 |
+--------------+--------------+
1 row in set (0.05 sec)
as you can see Lord_Nagafens loottable_id is 4035 ....
mysql> SELECT loottable_id, multiplier, probability,lootdrop_id FROM loottable_e
ntries WHERE loottable_id = '4035';
+--------------+------------+-------------+-------------+
| loottable_id | multiplier | probability | lootdrop_id |
+--------------+------------+-------------+-------------+
| 4035 | 4 | 100 | 81950 |
+--------------+------------+-------------+-------------+
1 row in set (0.02 sec)
and as you can see 4035 (lord_nagafen) is linked with lootdrop_id 81950 which is my custom made loottable.
with a probability of 100 and multiplier with 4, ive tested to kill nagafen over 20 times now, and he havent dropped a single item.
can anyone tell me what i am doing wrong here?
ive tested to restart server serveral of times. Im using worldbuild 0.6.6
thanks in advance!!
|