Skip to content

Commit

Permalink
improve: rework in unscripted weapons and moveevents (#1494)
Browse files Browse the repository at this point in the history
Add moveevent and weapons unscripted to load in items.xml

Added "chain" logic, which can be configured in config.lua

By default, the system is activated, it can be deactivated by setting the "toggleChainSystem" config tag to false and it will work to attack various creatures with the rod/wand or club/sword/axe weapon.

The default creature limit is 5.

Conversor link: https://github.com/dudantas/weapon-moveevents-conversor

---------

Co-authored-by: Luan Santos <[email protected]>
  • Loading branch information
dudantas and luan authored Feb 29, 2024
1 parent cac9b5f commit 355fca6
Show file tree
Hide file tree
Showing 26 changed files with 7,412 additions and 73,561 deletions.
4 changes: 2 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
Expand All @@ -42,7 +43,6 @@ BraceWrapping:
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: All
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
Expand Down
6 changes: 5 additions & 1 deletion config.lua.dist
Original file line number Diff line number Diff line change
Expand Up @@ -419,11 +419,15 @@ multiplierSpeedOnFist = 5
maxSpeedOnFist = 500
disableLegacyRaids = false
disableMonsterArmor = false
combatChainDelay = 50
minElementalResistance = -200
maxElementalResistance = 200
maxDamageReflection = 200

-- Chain system
toggleChainSystem = true
combatChainDelay = 50
combatChainTargets = 5

-- Global server Save
-- NOTE: globalServerSaveNotifyDuration in minutes
globalServerSaveNotifyMessage = true
Expand Down
Loading

0 comments on commit 355fca6

Please sign in to comment.