Add Sindusk Library dependency

This commit is contained in:
Sindusk
2018-03-30 18:38:28 -04:00
parent 6cbadbf476
commit 0b813cafab
5 changed files with 333 additions and 3 deletions

321
mods/armoury.properties Normal file
View File

@@ -0,0 +1,321 @@
classname=mod.sin.armoury.Armoury
classpath=Armoury.jar
depend.import=sindusklib
sharedClassLoader=true
#If true, will print debug messages and log heavily.
debug=true
# -- Mod configuration section -- #
#enableNonPlayerCrits: Allows critical strikes against non-player characters. In vanilla Wurm, creatures can only deal critical strikes against players.
# Note: this will allow creatures to crit creatures as well, so tamed/charmed/dominated creatures can also be critically hit by aggressive mobs.
enableNonPlayerCrits=true
#fixArmourLimitBuffBug: Go into a server without this enabled. Equip a full set of plate. Take it off. Look at your buff bar. This fixes that. It's added as an option in case a WU update breaks the hook.
fixArmourLimitBuffBug=true
#fixArmourLimitSpellEffect: Similar to the above, the Spell Effect in the Spell Effects window of the game doesn't show armour limits properly. This helps correct that mistake. Option in case WU update breaks the hook.
fixArmourLimitSpellEffect=true
# -- Armour configuration section -- #
# > Armour Reduction < #
enableArmourReductionModifications=true
#This section allows you to configure the armour damage reduction values for each armour type. The values displayed here are the damage reduction multiplier at 100QL, scaling down using the Wurm formula.
# For example: plate is by default 0.7, giving 70% damage reduction to incoming attacks for a 100QL steel plate set.
# I have my own personal tastes when it comes to the armour reduction, so I will leave the default configuration commented out if you wish to use it, then include my personal setup.
# Final note: Unarmoured reduction is applied to most creatures, and scales using Oakshell. While the option is here, I recommend leaving it set at the default 0.05.
unarmouredReduction=0.05
#Default configuration (Worn armour):
#clothReduction=0.4
#leatherReduction=0.5
#studdedReduction=0.55
#chainReduction=0.6
#plateReduction=0.7
#drakeReduction=0.7
#dragonscaleReduction=0.75
#Custom configuration (Worn armour):
clothReduction=0.5
leatherReduction=0.55
studdedReduction=0.58
chainReduction=0.61
plateReduction=0.63
drakeReduction=0.665
dragonscaleReduction=0.685
#These are either unused or applied to creatures, not worn by players. I do not recommend changing them unless you know what you're doing
scaleReduction=0.5
ringReduction=0.55
splintReduction=0.6
# > Custom Item ID Overrides < #
#These are used to override the damage reduction calculation per item ID. If you want to add challenge helms, masks, and similar here, you are welcome to do so and have their DR work.
# - My custom server settings - #
#Spectral Armour
armourReductionOverride-100:22702,0.70
armourReductionOverride-101:22701,0.70
armourReductionOverride-102:22700,0.70
armourReductionOverride-103:22699,0.70
armourReductionOverride-104:22710,0.70
armourReductionOverride-105:22698,0.70
#Glimmerscale Armour
armourReductionOverride-106:22689,0.64
armourReductionOverride-107:22688,0.64
armourReductionOverride-108:22687,0.64
armourReductionOverride-109:22686,0.64
armourReductionOverride-110:22685,0.64
armourReductionOverride-111:22690,0.64
# > Material Modifiers < #
#These are additive modifiers to damage reduction for moon metals.
# For example, adamantine by default gives 0.05, meaning 5% damage reduction on top the 70% that plate gives. Adamantine plate would give 75% damage reduction.
adamantineMaterialMod=0.03
glimmersteelMaterialMod=0.06
seryllMaterialMod=0.08
# > Limit Factor < #
#enableCustomArmourLimitFactors: This will enable or disable the usage of the section below entirely.
enableCustomArmourLimitFactors=true
#These values are meant to determine the bonus or reduction to spellcasting and archery while wearing armour.
# ** Valid values are between -0.99 and 0.3 only. Anything lower than -0.99 risks damaging the calculations in the game. Anything over 0.3 will simply apply as 0.3.
# I personally do not like the original setup of them, and will only leave a commented out "vanilla" setup, then using my own below.
#Vanilla Setup:
#clothArmourLimitFactor=0.3
#leatherArmourLimitFactor=0.3
#studdedArmourLimitFactor=0
#chainArmourLimitFactor=-0.15
#plateArmourLimitFactor=-0.3
#drakeArmourLimitFactor=-0.3
#dragonscaleArmourLimitFactor=-0.3
#Custom setup:
clothArmourLimitFactor=0.3
leatherArmourLimitFactor=0.3
studdedArmourLimitFactor=0.15
chainArmourLimitFactor=0.0
plateArmourLimitFactor=-0.15
drakeArmourLimitFactor=0.15
dragonscaleArmourLimitFactor=0
# > Movement Modifications < #
#enableArmourMovementModifications: This will enable or disable the usage of the section below entirely.
enableArmourMovementModifications=true
#This section will allow you to edit the percent reduction on all the default armor pieces.
#Simply add a property "armourMovement" then a dash and number. No two properties can be the same, so ensure they are all unique.
#> Setting plate body armour to 0.08 movement instead of 0.09
armourMovement-1:breast plate,0.06
#> Setting plate leggings to 0.08 movement instead of 0.09
armourMovement-2:plate leggings,0.06
# - My custom server settings - #
armourMovement-100:great helm,0.02
armourMovement-101:basinet helm,0.02
armourMovement-102:open helm,0.02
armourMovement-103:chain jacket,0.05
armourMovement-104:chain pants,0.05
armourMovement-105:studded leather jacket,0.04
armourMovement-106:studded leather pants,0.04
armourMovement-107:leather jacket,0.03
armourMovement-108:leather pants,0.03
#Full list of vanilla Wurm armour piece names:
# cloth hood ; cloth sleeve ; cloth jacket ; cloth shirt ; cloth glove ; cloth pants ; cloth shoe
# leather adventurer hat ; leather cap ; leather sleeve ; leather jacket ; leather glove ; leather pants ; leather boot
# studded leather cap ; studded leather sleeve ; studded leather jacket ; studded leather glove ; studded leather pants ; studded leather boot
# chain coif ; chain sleeve ; chain jacket ; chain gauntlet ; chain pants ; chain boot
# great helm ; basinet helm ; open helm ; plate vambrace ; breast plate ; plate gauntlet ; plate leggings ; plate sabaton
# drake hide cap ; drake hide sleeve ; drake hide jacket ; drake hide glove ; drake hide pants ; drake hide boot
# dragon scale sleeve ; dragon scale jacket ; dragon scale glove ; dragon scale pants ; dragon scale boot
# -- Shield Configuration Section -- #
#enableShieldDamageEnchants: This will allow AOSP to work as a reflector for any damage enchant that is applied to the shield, applying a wound to the attacker on block.
# AOSP acts as the "chance" for the reflect, and the damage applied to it acts as the "type"
# For example, Flaming Aura on a shield would deal a fire wound to an attacker on block when it has AOSP.
enableShieldDamageEnchants=true
#enableShieldSpeedEnchants: This allows WoA and BotD to interact with shields, reducing the "shield block" counter for a round of combat by 1 when the check succeeds.
# This means higher casts of WoA will allow you to block more attacks per round in combat.
enableShieldSpeedEnchants=true
# -- Weapon Configuration Section -- #
#minimumSwingTime: This will change the minimum swing timer for weaponry. By default, this is 3 seconds. That means no weapon can swing faster than once every 3 seconds.
# Now you have the power to change that. This can be set to any value you want (in seconds). When I set it to 0 and made a superfast weapon, the results were terrifying.
minimumSwingTime=2.0
#raresReduceSwingTime: If enabled, this will make rare, supreme, and fantastic weapons reduce the swing timer.
raresReduceSwingTime=true
#rareSwingSpeedReduction: The amount of time, in seconds, per rarity level, that rares should reduce the swing timer.
# Example: A value of 0.2 would make a rare reduce swing time by 0.2 seconds, supreme reduce swing time by 0.4 seconds, and fantastic reduce swing time by 0.6 seconds.
rareSwingSpeedReduction=0.2
#fixSavedSwingTimer: This one is hard to explain. Basically, when an action is performed (a shield bash, spell, etc.) the swing timer continues to tick.
# After the action, the player will swing, removing the "first swing" amount from the timer.
# That leaves the rest of the timer, allowing them to swing yet again almost immediately after, even with a slow weapon.
# This option removes this interaction and enforces a "set timer to 0" after each swing, ensuring that swings with weapons must be spaced apart properly.
# Some players might enjoy the "skill" in performing this type of action.
fixSavedSwingTimer=true
#betterDualWield: THIS IS HIGHLY EXPERIMENTAL, USE AT YOUR OWN RISK.
# Dual wield by default is locked behind a multitude of checks. That includes slower swing speed, "dead time" after landing a hit, and only being used every other "combat round" (~10 seconds).
# This reworks the system, and simply makes an offhand swing 1/2 as slow as the main hand, starting in the second round of combat.
betterDualWield=true
#enableCustomWeaponValues: This will enable or disable the usage of the section below entirely.
enableCustomWeaponValues=true
#This section will allow you to edit the damage, speed, crit chance, reach, weight group, parry percent, and skill penalty of the weapons in Wurm.
#Use the property "weapon" combined with the field capitalized ("Damage", "Speed", etc.), then the weapon id to change, a comma, then new value.
#This must use the weapon id because there are clashes with the name, where both huge and small axe are "axe"
# IMPORTANT NOTE: Ranged weapons (bows) do not work off these changes. They are a separate entity entirely. This is only for melee weapons.
#Here's some of my suggested changes as examples for what you can do:
#> Increase scythe damage to 10 from 9
weaponDamage-1:268,10.4
#> Increase halberd damage to 10.5 from 9
weaponDamage-2:706,11.25
#> Increase long spear damage to 9.5 from 8
weaponDamage-3:705,9.5
#> Increase steel spear damage to 10 from 9
weaponDamage-4:707,10.75
#> Increase steel staff damage to 9 from 8
weaponDamage-5:710,9.5
#> Increase shortsword damage to 5 from 4
weaponDamage-6:80,5.5
#> Increase scythe speed to 4.5 from 5
weaponSpeed-1:268,4.5
#> Increase large maul speed to 5.25 from 6
weaponSpeed-2:290,5.25
#Crit chance uses the decimal as a percent. 1 is a 100% crit chance. 0.05 is a 5% crit chance. The game forces a maximum of 3% crit in the combat code.
#> Give legs a 0.4% chance to crit, just in case you get lucky on your cheap shot
weaponCritChance-1:19,0.004
#Weapon reach determines the distance in combat for "too close" "good" and "too far" - this is an integer value so please don't use decimals.
#> Change planks to 1 range. Just for science and demonstration.
weaponReach-1:22,1
#I actually don't know what the weapon weight group does. I'll be commenting out my change because I don't want to break anything, but the option is there for you risk-takers!
#> Change "whip of One" to weight group 2
#weaponWeightGroup-1:514,2
#The parryPercent value is a factor in how well the weapon parries. Swords get an innate 4x bonus to this value in the combat code. Otherwise, it's a good indicator for how easy it is to parry.
#> Change sickle parry from 20% to 40%
weaponParryPercent-1:267,0.4
#Finally, the skillPenalty is a combat rating debuff applied to the player wearing this in their main hand. A skillPenalty of 2 will reduce the player's CR by 2 in combat just for wearing the weapon.
#While CR is generally considered an integer by the community, it actually works as a floating point value, so decimals do in fact work with skill penalty.
#> Reduce skill penalty on sickle to 1.0 from 2.0. Maybe it's good again?
weaponSkillPenalty-1:267,1.0
#> Reduce skill penalty on scythe to 0.5 from 2.0.
weaponSkillPenalty-2:268,0.5
# - My custom server settings - #
## Weapon Damage ##
#> Increase two hand sword damage to 10.5
weaponDamage-100:81,11.5
#> Increase butcher knife damage to 3.75
weaponDamage-101:93,4.15
#> Increase sacrifical knife damage to 4.75
weaponDamage-102:792,5.15
#> Increase longsword damage to 6.75
weaponDamage-103:21,6.7
#> Increase small maul damage to 5.5
weaponDamage-104:291,5.8
#> Increase small axe damage to 5.5
weaponDamage-105:3,5.9
#> Increase medium maul damage to 8.75
weaponDamage-106:292,8.75
#> Increase large axe damage to 8
weaponDamage-107:90,8.4
#> Increase carving knife damage to 5.5
weaponDamage-108:8,5.75
#> Increase large maul damage to 11.5
weaponDamage-109:290,12.25
#> Increase sickle damage to 6.1
weaponDamage-110:267,6.1
#> Increase huge axe damage to 13.3
weaponDamage-111:87,14.2
## Weapon Speed ##
#> Increase longsword speed to 3.75
weaponSpeed-100:21,3.6
#> Decrease sacrifical knife speed to 2.5
weaponSpeed-101:792,2.5
#> Increase small axe speed to 2.65
weaponSpeed-102:3,2.65
#> Increase medium maul speed to 4.75
weaponSpeed-103:292,4.75
#> Decrease carving knife speed to 2.75
weaponSpeed-104:8,2.75
#> Increase steel staff speed to 3.8
weaponSpeed-105:710,3.8
#> Increase huge axe swing speed to 5.9
weaponSpeed-106:87,5.9
#> Increase halberd speed to 4.8
weaponSpeed-107:706,4.8
#> Increase small maul speed to 2.9
weaponSpeed-108:291,2.9
#> Increase long spear speed to 4.75
weaponSpeed-109:705,4.75
## Weapon Crit Chance ##
#> Allow small axe to crit at 0.8%
weaponCritChance-100:3,0.008
#> Allow carving knife to crit at 2%
weaponCritChance-101:8,0.02
## Weapon Parry ##
#> Increase small axe parry to 50%
weaponParryPercent-100:3,0.5
#> Remove carving knife ability to parry
weaponParryPercent-101:8,0
## Weapon Skill Penalty ##
#> Remove the small axe skill penalty
weaponSkillPenalty-100:3,0
#> Increase carving knife skill penalty to 3
weaponSkillPenalty-101:8,2
#Full list of vanilla Wurm weapon names and their stats:
# "whip of One" (ID 514) stats: [6.0 damage], [2.0 speed], [0.0 critchance], [5 reach], [1 weightGroup], [0.1 parryPercent], [0.0 skillPenalty]
# "small axe" (ID 3) stats: [5.0 damage], [3.0 speed], [0.0 critchance], [2 reach], [2 weightGroup], [0.3 parryPercent], [0.0 skillPenalty]
# "awl" (ID 390) stats: [1.0 damage], [3.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [0.0 parryPercent], [2.0 skillPenalty]
# "hatchet" (ID 7) stats: [1.0 damage], [5.0 speed], [0.0 critchance], [2 reach], [2 weightGroup], [0.0 parryPercent], [3.0 skillPenalty]
# "leather knife" (ID 392) stats: [0.5 damage], [2.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [0.0 parryPercent], [2.0 skillPenalty]
# "carving knife" (ID 8) stats: [1.0 damage], [2.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [1.0 parryPercent], [2.0 skillPenalty]
# "scissors" (ID 394) stats: [0.5 damage], [2.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [0.0 parryPercent], [2.0 skillPenalty]
# "sickle" (ID 267) stats: [6.0 damage], [3.0 speed], [0.0039999997 critchance], [2 reach], [3 weightGroup], [0.2 parryPercent], [2.0 skillPenalty]
# "scythe" (ID 268) stats: [9.0 damage], [5.0 speed], [0.015999999 critchance], [5 reach], [4 weightGroup], [0.2 parryPercent], [2.0 skillPenalty]
# "hand" (ID 14) stats: [1.0 damage], [1.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [0.0 parryPercent], [2.0 skillPenalty]
# "legs" (ID 19) stats: [1.0 damage], [2.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [0.0 parryPercent], [3.0 skillPenalty]
# "pickaxe" (ID 20) stats: [1.5 damage], [5.0 speed], [0.0 critchance], [3 reach], [3 weightGroup], [0.1 parryPercent], [3.0 skillPenalty]
# "longsword" (ID 21) stats: [5.5 damage], [4.0 speed], [0.0019999999 critchance], [3 reach], [3 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "plank" (ID 22) stats: [0.5 damage], [4.0 speed], [0.0 critchance], [2 reach], [1 weightGroup], [1.0 parryPercent], [3.0 skillPenalty]
# "shaft" (ID 23) stats: [0.5 damage], [4.0 speed], [0.0 critchance], [2 reach], [2 weightGroup], [1.0 parryPercent], [3.0 skillPenalty]
# "sacrificial knife" (ID 792) stats: [1.5 damage], [2.0 speed], [0.006 critchance], [1 reach], [1 weightGroup], [1.0 parryPercent], [1.0 skillPenalty]
# "saw" (ID 24) stats: [0.5 damage], [5.0 speed], [0.0019999999 critchance], [2 reach], [3 weightGroup], [0.0 parryPercent], [3.0 skillPenalty]
# "shovel" (ID 25) stats: [1.0 damage], [5.0 speed], [0.0 critchance], [4 reach], [3 weightGroup], [1.0 parryPercent], [3.0 skillPenalty]
# "rake" (ID 27) stats: [0.5 damage], [5.0 speed], [0.0 critchance], [5 reach], [2 weightGroup], [1.0 parryPercent], [3.0 skillPenalty]
# "large maul" (ID 290) stats: [11.0 damage], [6.0 speed], [0.006 critchance], [4 reach], [5 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "small maul" (ID 291) stats: [4.5 damage], [3.0 speed], [0.0019999999 critchance], [2 reach], [2 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "maul" (ID 292) stats: [8.0 damage], [5.0 speed], [0.006 critchance], [3 reach], [2 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "crude knife" (ID 685) stats: [1.0 damage], [4.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [0.0 parryPercent], [3.0 skillPenalty]
# "crude pickaxe" (ID 687) stats: [1.0 damage], [6.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [0.0 parryPercent], [5.0 skillPenalty]
# "branch" (ID 688) stats: [1.0 damage], [6.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [0.0 parryPercent], [3.0 skillPenalty]
# "crude shovel" (ID 690) stats: [1.0 damage], [6.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [0.0 parryPercent], [5.0 skillPenalty]
# "crude shaft" (ID 691) stats: [1.0 damage], [3.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [0.0 parryPercent], [5.0 skillPenalty]
# "belaying pin" (ID 567) stats: [2.0 damage], [3.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [1.0 parryPercent], [2.0 skillPenalty]
# "huge shod club" (ID 314) stats: [8.0 damage], [6.0 speed], [0.0019999999 critchance], [4 reach], [6 weightGroup], [1.0 parryPercent], [2.0 skillPenalty]
# "hammer" (ID 62) stats: [0.5 damage], [3.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [0.1 parryPercent], [3.0 skillPenalty]
# "short bow" (ID 447) stats: [0.0 damage], [5.0 speed], [0.0 critchance], [1 reach], [5 weightGroup], [1.0 parryPercent], [9.0 skillPenalty]
# "mallet" (ID 63) stats: [0.3 damage], [3.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [0.1 parryPercent], [3.0 skillPenalty]
# "bow" (ID 448) stats: [0.0 damage], [5.0 speed], [0.0 critchance], [1 reach], [5 weightGroup], [1.0 parryPercent], [9.0 skillPenalty]
# "long bow" (ID 449) stats: [0.0 damage], [5.0 speed], [0.0 critchance], [1 reach], [5 weightGroup], [1.0 parryPercent], [9.0 skillPenalty]
# "long spear" (ID 705) stats: [8.0 damage], [5.0 speed], [0.012 critchance], [7 reach], [3 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "halberd" (ID 706) stats: [9.0 damage], [5.0 speed], [0.012 critchance], [6 reach], [8 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "spear" (ID 707) stats: [9.0 damage], [5.0 speed], [0.012 critchance], [7 reach], [4 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "staff" (ID 710) stats: [8.0 damage], [4.0 speed], [0.0 critchance], [3 reach], [3 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "staff" (ID 711) stats: [2.0 damage], [3.0 speed], [0.0 critchance], [2 reach], [3 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "short bow" (ID 459) stats: [0.0 damage], [5.0 speed], [0.0 critchance], [1 reach], [5 weightGroup], [1.0 parryPercent], [9.0 skillPenalty]
# "bow" (ID 460) stats: [0.0 damage], [5.0 speed], [0.0 critchance], [1 reach], [5 weightGroup], [1.0 parryPercent], [9.0 skillPenalty]
# "long bow" (ID 461) stats: [0.0 damage], [5.0 speed], [0.0 critchance], [1 reach], [5 weightGroup], [1.0 parryPercent], [9.0 skillPenalty]
# "short sword" (ID 80) stats: [4.0 damage], [3.0 speed], [0.02 critchance], [2 reach], [1 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "Sword of Magranon" (ID 336) stats: [15.0 damage], [5.0 speed], [0.015999999 critchance], [4 reach], [3 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "two handed sword" (ID 81) stats: [9.0 damage], [5.0 speed], [0.01 critchance], [4 reach], [5 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "Hammer of Magranon" (ID 337) stats: [18.0 damage], [6.0 speed], [0.015999999 critchance], [4 reach], [4 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "Sceptre of Ascension" (ID 340) stats: [17.0 damage], [6.0 speed], [0.015999999 critchance], [3 reach], [3 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "huge axe" (ID 87) stats: [12.0 damage], [6.0 speed], [0.01 critchance], [5 reach], [5 weightGroup], [0.2 parryPercent], [0.0 skillPenalty]
# "axe" (ID 90) stats: [6.5 damage], [4.0 speed], [0.006 critchance], [4 reach], [5 weightGroup], [0.3 parryPercent], [0.0 skillPenalty]
# "staff of land" (ID 986) stats: [8.0 damage], [4.0 speed], [0.0 critchance], [3 reach], [3 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "crowbar" (ID 1115) stats: [4.5 damage], [3.0 speed], [0.0019999999 critchance], [2 reach], [2 weightGroup], [1.0 parryPercent], [0.0 skillPenalty]
# "butchering knife" (ID 93) stats: [1.5 damage], [2.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [1.0 parryPercent], [1.0 skillPenalty]
# "crude axe" (ID 1011) stats: [1.0 damage], [5.0 speed], [0.0 critchance], [1 reach], [1 weightGroup], [0.0 parryPercent], [5.0 skillPenalty]