Closed Teppic1 closed 6 years ago
Thank you for the contribution.
I particularly appreciated the active use of the Comment
field. 👍
I particularly appreciated the active use of the Comment field.
Better to update all comments for all loot tables. And then filling the Comment
field will be a codestyle standart for future devs.
Because currently it looks strange when you or someone else ask for fill the Comment
field. It's almost unused.
The combination of CreatureName
+ ItemName
looks better. More easier to update.
Or the Comment
can contain only the item name and nothing else.
I agree that there should be a standard. Until now, the standard used to be "Don't add data which can be accessed / queried from other tables" - maybe as an effort to keep the DB size low. If that is no longer the case, the comment standard could be anything from only the item name to describing every detail from the other columns (or anything in between).
Don't add data which can be accessed / queried from other tables
Then the Comment
field must be always empty :D
Maybe such fields can be filled at server startup, if a config allows to fill them. But will never fill by common sql updates.
So if you wanna check loot templates, change the config for more confortable work.
Very well. That looks like a practical solution, although I don't know (at the moment) exactly how it could be implemented for offline (local) updates in the DB. This is most likely outside the scope of the issue tracker, so I think a discussion in the TC forum pages would be more constructive to find a solution for the comment column. Feel free to link the page if you want to start the topic.
Do you want me to continue adding the comments in the meantime?
Sure, I have absolutely no problem accepting the comments. Only remove them if requested to do so by one of the main TC members who regularly commits to the source.
Description:
Reference template 24078 should contain generic green gear at ilvls 18-19.
Current behaviour:
Several items that should only drop from specific NPCs are contained in the template and so drop from hundreds of NPCs.
The patch removes all of the unique items and adds them to the correct NPCs. The items in question are documented in the patch. (I'm slowly going through all of the templates in level order.)
Branch(es):
3.3.5 only
TC rev. hash/commit:
TrinityCore rev. 2119a5979d7c 2018-01-30 18:13:23 +0100 (3.3.5 branch) (Unix, RelWithDebInfo, Static)
TDB version: 335.63