You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modSyntax.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ Often a mod will only apply under certain conditions, apply multiple times based
60
60
* effectEnemyCond: Specify a condition so this mod applies to the enemy when that condition is fulfilled
61
61
* effectStackVar: Multiplies the mod by this variable (usually another mod)
62
62
* modCond: Apply the mod when the actor has this condition
63
-
*unscaleable: boolean that determines whether this buff can be scaled by buff effect
63
+
*unscalable: boolean that determines whether this buff can be scaled by buff effect
64
64
* DistanceRamp: A rare type that is used on skills and effects that do different things at different distances from the character
65
65
* ramp: Numbers to multiply the mod by at different distances. e.g. `ramp = {{35,0},{70,1}}` means the mod does nothing at 35 units, but has its full value at 70 units.
66
66
* ModFlagOr: Used when you only need one ModFlag to match, e.g. `["with axes or swords"] = { flags = ModFlag.Hit, tag = { type = "ModFlagOr", modFlags = bor(ModFlag.Axe, ModFlag.Sword) } },` needs `Hit`, but can use either of the other two flags
Copy file name to clipboardExpand all lines: src/Classes/ItemDBControl.lua
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ function ItemDBClass:DoesItemMatchFilters(item)
133
133
if (self.controls.requirement.selIndex==2orself.controls.requirement.selIndex==4) anditem.requirements.levelanditem.requirements.level>self.itemsTab.build.characterLevelthen
134
134
returnfalse
135
135
end
136
-
ifself.controls.requirement.selIndex>2anditem.requirementsand (item.requirements.str>self.itemsTab.build.calcsTab.mainOutput.Stroritem.requirements.dex>self.itemsTab.build.calcsTab.mainOutput.Dexoritem.requirements.int>self.itemsTab.build.calcsTab.mainOutput.Int) then
136
+
ifself.controls.requirement.selIndex>2anditem.requirementsand (item.requirements.strMod>self.itemsTab.build.calcsTab.mainOutput.Stroritem.requirements.dexMod>self.itemsTab.build.calcsTab.mainOutput.Dexoritem.requirements.intMod>self.itemsTab.build.calcsTab.mainOutput.Int) then
ifmod.type=="MORE" andband(flags, mod.flags) ==mod.flagsandMatchKeywordFlags(keywordFlags, mod.keywordFlags) and (notsourceormod.source:match("[^:]+") ==source) then
if (mod.type==modTypeornotmodType) andband(flags, mod.flags) ==mod.flagsandMatchKeywordFlags(keywordFlags, mod.keywordFlags) and (notsourceormod.source:match("[^:]+") ==source) then
0 commit comments