peq-quests/thenest/a_Flameweave_mender.lua
Trust c2de23e3a8 [DoN] Modern Tradeskill Tasks
- Still needs many of Artisan NPC's created and Placed.
- Still needs the TS Recipes to be imported.
- Only implemented up to the current expansion but added framework for all other/later tasks, will just need NPC scripts added for those regions.

Code is ineffecient but clear to read and troubleshoot, can be refined at a later time.
2024-01-22 18:01:55 -05:00

11 lines
336 B
Lua

function event_killed_merit(e)
if e.other:IsTaskActive(5791) then
if math.random(100) <= 20 then
if e.other:HasItem(35000) then
e.other:UpdateTaskActivity(5791,3,1);
else
e.other:Message(MT.Yellow, "You see the perfect pattern, but as you search your bags you cannot find your impression book.");
end
end
end
end