Release 1.2.2
- Fixed Lioneye's Fall + Serpent Stance interaction - Added support for Cast on Critical Strike gem
This commit is contained in:
@@ -607,6 +607,21 @@ local jewelFuncs = {
|
||||
if band(mod.flags, mask1) ~= 0 or band(mod.flags, mask2) == mask2 or band(mod.flags, mask3) == mask3 then
|
||||
out:NewMod(mod.name, mod.type, -mod.value, "Tree:Jewel", mod.flags, mod.keywordFlags, unpack(mod.tagList))
|
||||
out:NewMod(mod.name, mod.type, mod.value, "Tree:Jewel", bor(band(mod.flags, bnot(bor(mask1, mask2, mask3))), ModFlag.Bow), mod.keywordFlags, unpack(mod.tagList))
|
||||
elseif mod.tagList[1] then
|
||||
for _, tag in ipairs(mod.tagList) do
|
||||
if tag.type == "Condition" and tag.var == "UsingStaff" then
|
||||
local newTagList = copyTable(mod.tagList)
|
||||
for _, tag in ipairs(newTagList) do
|
||||
if tag.type == "Condition" and tag.var == "UsingStaff" then
|
||||
tag.var = "UsingBow"
|
||||
break
|
||||
end
|
||||
end
|
||||
out:NewMod(mod.name, mod.type, -mod.value, "Tree:Jewel", mod.flags, mod.keywordFlags, unpack(mod.tagList))
|
||||
out:NewMod(mod.name, mod.type, mod.value, "Tree:Jewel", mod.flags, mod.keywordFlags, unpack(newTagList))
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user