I am trying to figure out how to make an override for the quest 'Magnets, How Do They Work?' in Tol Barad. The quest requires you to go to a location, use an item and then pickup the items that you discover after using your "Magnetized Scrap Collector."
The only solution I have found was to nest a shitload of <If> Statements, and since the quest requires you to collect 7 items, I would have to have like 10+ hotspots to collect 1 at a time when sometimes 2, or 3 even spawn. They despawn rather quickly, so if you agro some mobs, they may despawn before you get a chance to collect.
The only solution I have found was to nest a shitload of <If> Statements, and since the quest requires you to collect 7 items, I would have to have like 10+ hotspots to collect 1 at a time when sometimes 2, or 3 even spawn. They despawn rather quickly, so if you agro some mobs, they may despawn before you get a chance to collect.
PHP:
<If Condition="!IsQuestCompleted(27949)">
<UseItem ItemId="62829" QuestName="Magnets, How Do They Work?" QuestId="27992" X="-348.9317" Y="1651.325" Z="18.11559" />
<Objective QuestName="Magnets, How Do They Work?" QuestId="27992" Type="CollectItem" ItemId="62830" CollectCount="1" />
</If>
<If Condition="!IsQuestCompleted(27949)">
<UseItem ItemId="62829" QuestName="Magnets, How Do They Work?" QuestId="27992" X="-373.295" Y="1685.595" Z="18.64007" />
<Objective QuestName="Magnets, How Do They Work?" QuestId="27992" Type="CollectItem" ItemId="62830" CollectCount="1" />
</If>
<If Condition="!IsQuestCompleted(27949)">
<UseItem ItemId="62829" QuestName="Magnets, How Do They Work?" QuestId="27992" X="-410.426" Y="1616.185" Z="18.35997" />
<Objective QuestName="Magnets, How Do They Work?" QuestId="27992" Type="CollectItem" ItemId="62830" CollectCount="1" />
</If>
<If Condition="!IsQuestCompleted(27949)">
<UseItem ItemId="62829" QuestName="Magnets, How Do They Work?" QuestId="27992" X="-380.5811" Y="1569.208" Z="18.06157" />
<Objective QuestName="Magnets, How Do They Work?" QuestId="27992" Type="CollectItem" ItemId="62830" CollectCount="1" />
</If>