Jump to content

[Dev][Help!] WoWHead Looter


Guest tehavatar

Recommended Posts

Hi guys.

Firstly, I realise this question SHOULD actually be asked on a content development forum, but I need some detailed specifications and lack of activity on the UDB forum, I decided to ask my question here.

In development:

06792fd026bae5e5a9b1a063b31092d4.jpg

Above is a screenshot of current development on my WH looter, but I have no idea how Mangos handles loot and I CANNOT seem to get it right.

I need someone to explain to me exactly how loot chance/reference/amount/percentage all comes into play.

Here are a few questions that I can think of right now: (db related)

-How do I make MINIMUM 2 items drop from a specific GROUP of items?

-How do I properly assign loot to groups? (in reference table)

-How do I properly assign loot to groups in creature_loot table ++ what is the point of grouping items here?

At the moment the loot system is an obscurity to me, ive researched as much as I could it doesnt make sense to me!.

For example: 4 queries.

INSERT INTO `creature_loot_template` VALUES
(10184, 1, 100, 0, -50001, 2, 0, 0, 0);


INSERT INTO `reference_loot_template` VALUES
(50001, 49318, 18.64, 1, 1, 1, 0, 0, 0);
INSERT INTO `reference_loot_template` VALUES
(50001, 49319, 18.35, 1, 1, 1, 0, 0, 0);
INSERT INTO `reference_loot_template` VALUES
(50001, 49322, 18.22, 1, 1, 1, 0, 0, 0);

In above example in "creature_loot_template" i set entry for reference loot drop "50001" with field maxcount = 2.

The objective: Creature 10184 must drop 2 items from reference loot 50001.

The result: Creature 10184 drop sometimes 1 item sometimes 2 items from reference loot 50001.

:S :S

Thank you very much for reading!

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use