projecteq-projecteqquests/postorms/Swirling_Monsoon_Elemental.lua
2021-02-07 20:50:01 -08:00

11 lines
467 B
Lua

-- items: 11304
function event_trade(e)
local item_lib = require("items");
if item_lib.check_turn_in(e.trade, {item1 = 11304}) then -- Vial of Elemental Binding
e.self:SetSpecialAbility(SpecialAbility.immune_aggro, 0);
e.self:SetSpecialAbility(SpecialAbility.no_harm_from_client, 0);
e.self:AddToHateList(e.other,1);
e.other:SummonItem(11304); -- Vial of Elemental Binding
end
item_lib.return_items(e.self, e.other, e.trade)
end