Question,
After toying around some things raised questions:
- Code: Select all
REPLACE INTO `mobxloottemplate` (`MobXLootTemplate_ID`, `MobName`,`LootTemplateName`, `DropCount`) VALUES ('Gjalpinulva12686','Gjalpinulva','Gjalpinulva','2');
REPLACE INTO `loottemplate` (`LootTemplate_ID`, `TemplateName`, `ItemTemplateID`, `Chance`) VALUES ('Gjalpinulva12686','Gjalpinulva','TWOHAND_Sword_Dragonfury','25');
I was wondering where the LootTemplate_ID comes from?
I suppose this is randomly generated, or is there any logic behind it? And a way to prevent duplicates? (Since you use the Replace into this could go quite unnoticed).
And another small thing, instructions in a readme or inside the program would be nice, apart from the one in this thread ofcourse. Just to make things more clear.
Further then this, it seems to work fine
