Skip to content

Commit f95a87a

Browse files
authored
Merge branch 'PathOfBuildingCommunity:dev' into spectres
2 parents e5e1c06 + ccd87df commit f95a87a

20 files changed

Lines changed: 361 additions & 251 deletions

src/Classes/ImportTab.lua

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -751,10 +751,12 @@ function ImportTabClass:ImportItemsAndSkills(charData)
751751
local group = { label = "", enabled = true, gemList = { } }
752752
t_insert(group.gemList, gemInstance )
753753

754-
for _, anotherSkillData in pairs(skillData.socketedItems) do
755-
local anotherGemInstance = funcGetGemInstance(anotherSkillData)
756-
if anotherGemInstance then
757-
t_insert(group.gemList, anotherGemInstance )
754+
if skillData.socketedItems then
755+
for _, anotherSkillData in pairs(skillData.socketedItems) do
756+
local anotherGemInstance = funcGetGemInstance(anotherSkillData)
757+
if anotherGemInstance then
758+
t_insert(group.gemList, anotherGemInstance )
759+
end
758760
end
759761
end
760762

src/Classes/ItemsTab.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,7 @@ function ItemsTabClass:IsItemValidForSlot(item, slotName, itemSet)
18161816
if not node or item.type ~= "Jewel" then
18171817
return false
18181818
elseif node.containJewelSocket then
1819-
if item.rarity == "UNIQUE" or (item.base and item.base.subType ~= nil) then
1819+
if item.rarity == "UNIQUE" or item.rarity == "RELIC" or (item.base and item.base.subType ~= nil) then
18201820
-- Lich socket can only accept basic non-unique jewels
18211821
-- Need to change this to use ModParser if GGG add different conditional ascendancy jewel sockets
18221822
return false

src/Classes/ModStore.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,9 @@ function ModStoreClass:EvalMod(mod, cfg)
453453
end
454454
local percent = tag.percent or self:GetMultiplier(tag.percentVar, cfg)
455455
local mult = base * (percent and percent / 100 or 1)
456+
if tag.floor then
457+
mult = m_floor(mult)
458+
end
456459
local limitTotal
457460
if tag.limit or tag.limitVar then
458461
local limit = tag.limit or self:GetMultiplier(tag.limitVar, cfg)

src/Data/Misc.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ data.gameConstants = {
100100
["CullingStrikeRareThreshold"] = 10,
101101
["CullingStrikeUniqueThreshold"] = 5,
102102
}
103+
-- From PlayerMinionIntrinsicStats.dat
104+
data.playerMinionIntrinsicStats = {
105+
["stun_base_duration_override_ms"] = 500,
106+
["accuracy_rating_+%_final_at_max_distance_scaled"] = -90,
107+
["accuracy_rating_per_level"] = 10,
108+
["base_critical_hit_damage_bonus"] = 70,
109+
}
103110
-- From MonsterVarieties.dat combined with SkillTotemVariations.dat
104111
data.totemLifeMult = { [1] = 1, [2] = 1, [3] = 1, [5] = 1, [12] = 1, [18] = 1, [19] = 1, [22] = 1, [15] = 1.2, [23] = 1, [24] = 1, }
105112
data.monsterVarietyLifeMult = {

src/Data/ModCache.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4687,7 +4687,7 @@ c["Your Dexterity is added to your Minions"]={{[1]={flags=0,keywordFlags=0,name=
46874687
c["Your Heavy Stun buildup empties 50% faster"]={nil,"Your Heavy Stun buildup empties 50% faster "}
46884688
c["Your Heavy Stun buildup empties 50% faster if you've successfully Parried Recently"]={nil,"Your Heavy Stun buildup empties 50% faster if you've successfully Parried Recently "}
46894689
c["Your Hits are Crushing Blows"]={nil,"Your Hits are Crushing Blows "}
4690-
c["Your Hits can Penetrate Elemental Resistances down to a minimum of -50%"]={nil,"Your Hits can Penetrate Elemental Resistances down to a minimum of -50% "}
4690+
c["Your Hits can Penetrate Elemental Resistances down to a minimum of -50%"]={{[1]={flags=0,keywordFlags=262144,name="ElementalPenetrationMinimum",type="BASE",value=-50}},nil}
46914691
c["Your Hits can't be Evaded"]={{[1]={flags=0,keywordFlags=0,name="CannotBeEvaded",type="FLAG",value=true}},nil}
46924692
c["Your Life cannot change while you have Energy Shield"]={{[1]={flags=0,keywordFlags=0,name="EternalLife",type="FLAG",value=true}},nil}
46934693
c["Your base Energy Shield Recharge Delay is 10 seconds"]={{[1]={flags=0,keywordFlags=0,name="EnergyShieldRechargeBase",type="OVERRIDE",value=10}},nil}

0 commit comments

Comments
 (0)