你好,这是我认为对我的整合包必要的少量改动!
想在你的整合包中使用它? -> FalchionMC
改动列表(所有调整均可在 json 文件中配置。)
自定义脱手 + 眩晕(可分别切换)
"enableCustomDisarm": true,
"playStunOnDisarm": false ,
当处于格挡状态且体力耗尽时受到攻击,武器会被击飞。playStunOnDisarm 仅仅是默认的史诗战斗 (Epic Fight) 眩晕动画。
受伤时中断体力恢复(开关:true/false)
切换是否在受伤时中断体力恢复。如果你讨厌中毒 / 凋灵效果,这个功能会很有用。
命中时获得体力(可切换:true/false)
- 这与确定的武器重量成正比。如果武器重量为 5.0 且你击中了一个实体,你将恢复 5.0 点体力,外加 0.5 点额外体力。
跳跃消耗(自明)
"jumpCost": 0.25,
手持方块时的被动体力流失(可数值配置)
- 默认情况下,手持方块时每刻流失 0.1 点体力。你可以将其设置为任何有用的值,即使是像 0.01 这样微小的数值。设为 0 则禁用此功能。
最大上下攻击角度(0 - 90)
"enableVerticalAim": true, 启用任意攻击的上下瞄准功能。我不建议高于默认值。
最大眩晕持续帧数
这是在被游戏强制解除眩晕之前,你能被眩晕的最长时间。这主要是为了帮助防止某些武器因极长的眩晕时间而导致的 Bug。
挥击时的体力流失(可切换:true/false),适用于所有武器。
- 这是在配置文件中按武器单独规定的。如果在配置文件中未找到所使用的武器,模组将默认使用“重量”1.0。(每次挥击流失 1.0 点体力)
示例:格式为 "weapon_id": "weight value",
"weaponCosts": {
"minecraft:wooden_sword": 0.5,
"minecraft:stone_sword": 0.5,
},
这将使木剑和石剑每次挥击流失 0.5 点体力。
招架时的体力获得 / 招架效率(可切换:true/false)
- 这也与重量成正比。但是,配置文件中还有一个名为“招架效率 (Parry effectiveness)”的次要值。
招架奖励计算公式为 (重量 + 2.5) x (效率 x 0.10)。这意味着每增加 1.0 的招架效率,招架时恢复的体力就会增加 10%。值为 10 意味着你的招架体力获得量翻倍。
这也适用于负值,因此你可以让武器在招架时效率更低。
这里有一个例子。
"parryEffectiveness": {
"minecraft:golden_sword": 5.0,
"minecraft:iron_sword": 1.0
}
铁剑将在招架时恢复体力方面增加 10% 的输出。同时,金剑的体力增加将获得 50% 的提升。
格挡体力惩罚
同样,这是另一个直接与武器重量挂钩的值。体力流失 = [1.0 + (敌人伤害 × 0.05)] × [1.0 - (重量 × 0.10)] 重量每高 1.0,格挡体力流失减少 10%。
Revamped as of 1.3
Revamped block mechanic
blockBaseImpact = 1.0 Base cost of any hit
blockNegationCap = 0.8 Maxmimum that any weapon can mitigate drain
maxDamageForFullDrain = 40.0 divisor for the amount of stamina drain.
"disableSweepAttacks": true,
自明:禁用横扫攻击。
"enableCustomCrits": true,
如果为 true,冲刺攻击和空中攻击将始终造成 1.5 倍的基础伤害。即使使用的是自定义数据包动画。
疾跑流失
sprintDrainPerTick = 0.05
简单,疾跑时每刻流失的数值。
sprintDrainWeightMultiplier = 0.1
重量每增加 1.0,疾跑流失就会增加 10% 的惩罚。例如:如果一把武器的重量为 10.0,它在疾跑时将流失体力,速度加快 +100%。
如果你不想要任何惩罚,请将其设为 0。
盾牌
#Holding a shield up drains stamina every tick, like holdBlockCost does for weapon guards. (default: true)
enableShieldHoldDrain = true
#Stamina drained per tick while a shield is held up. (default: 0.1)
#Range: 0.0 ~ 100.0
shieldHoldCost = 0.1
你可以启用/禁用举盾需要体力的设置,并更改其流失率,使其独立于普通武器格挡。
shieldBreakOnExhaustion = true
如果为 true,当体力耗尽时,对盾牌的命中将使其失效,就像原版盾牌一样。
默认情况下,盾牌消耗的格挡体力仅为正常武器的 1/3。(以避免使其变得毫无用处)
远程武器
弓和弩可以配置为在装填/蓄力时使用体力
enableBowDrain = true
滚轮连招
你可以启用此设置,将某些攻击绑定到鼠标滚轮上。这灵感来源于 Chivalry/Mordhau 等游戏。
一旦找到配置为使用滚轮连招的武器,滚轮将被锁定。
在挖掘模式下,无论是否持有配置的武器,滚轮都会解锁。
数据包结构简单地存在于武器类型中。
"input_combos": {
"two_hand": {
"lmb": {
"damage_multiplier": 1.0,
"speed": 1.0
},
"scroll_up": {
"animations": [
"epicfight_dd:biped/combat/halberd_auto2"
],
"reset_ticks": 30,
"damage_multiplier": 0.8,
"speed": 1.0
},
"scroll_down": {
"animations": [
"epicfightx:biped/combat/greatsword_airslash"
],
"reset_ticks": 30,
"damage_multiplier": 1.5,
"speed": 1.0
}
}
},
只需将此代码块放置在 epic fight 武器类型 json 中的任何位置即可。
你还可以编辑每种攻击类型的伤害乘数。这是为了让你能够在此处使某些攻击更有效或效果较差。
左键点击 (LMB) 指定用于普通连招链。
"combos": {
"two_hand": [
"cdmoveset:biped/new/spear/spear_twohand_auto1",
"cdmoveset:biped/new/spear/spear_twohand_auto2",
"wom:biped/combat/solar_auto_4",
"cdmoveset:biped/new/longsword/longsword_twohand_auto_4",
"epicfight:biped/combat/greatsword_dash",
"wom:biped/combat/solar_auto_2"
]
},
(仅作为示例)
左键会按正常流程执行连招,但滚轮上/下可被分配新的动画。未绑定滚轮上或下按键的武器将不会在物品栏中锁定该武器。
这并不局限于单一攻击动作,如果您愿意,也可以将这些按键设置为完整的连招链。
重击
适用于任何攻击动作。只需使用修饰键(在控制设置中绑定)+ 任意攻击动作;按住修饰键并点击左键可实现“快速重击”,按住修饰键并长按左键则可将攻击充能至最大威力。
其原理是通过减缓动画的前摇时间来达成效果。
武器碰撞体积
强制武器使用数据包定义的碰撞体积。weaponColliderMode = "TOOL_JOINTS"
Hello, this is a small array of changes I deemed neccesary for my modpack!
Want to see it in a modpack? -> FalchionMC
List of changes (All tweaks are configurable in the json file.)
Custom Disarm + Stun (Can be toggled both seperately)
"enableCustomDisarm": true,
"playStunOnDisarm": false ,
Sends the weapon flying out when hit while blocking and out of stamina. playStunOnDisarm is simply the default epic fight stun animation.
Stamina regeneration interruption (Toggle : true/false)
Toggle for regen interrupting when taking damage. Useful if poison / wither annoys you.
Stamina gain on hit (Can be toggled : true/false)
- This is directly proportional to the determined weight. If a weapon weight is 5.0 and you hit an entity, you will gain 5.0 stamina back, +0.5 extra.
Jump Cost (self explanatory)
"jumpCost": 0.25,
Passive stamina drain on held block (Can be configured numerically)
- Holding block by default drains stamina by 0.1 every tick. You can set this to practically any useful value, even something tiny like 0.01. Set to 0 to disable.
Max Attack up & down Angle (0 - 90)
"enableVerticalAim": true, Enables any attack to aim up or down. I do not recommend higher than the defaults.
Max Stun Ticks
Just the maximum amount of time you can be stunned before the game forces a bailout, this was just to help prevent some bugs with very long stuntimes with some weapons.
Stamina drain on swing (Can be toggled : true/false) for all weapons.
- This is on a per-weapon basis dictated in the config file. If the weapon used is not found in the config file, the mod will default to a "weight" of 1.0. (1.0 stamina drain per swing)
Example: Format is "weapon_id": "weight value",
"weaponCosts": {
"minecraft:wooden_sword": 0.5,
"minecraft:stone_sword": 0.5,
},
This will make a wooden sword and stone sword drain 0.5 stamina per swing.
Stamina gain on parry/ Parry Effectiveness (Can be toggled : true/false)
- This is again proportional to weight. But, there's a secondary value called "Parry effectiveness" in the config.
The parry reward is (weight + 2.5) x (effectiveness x0.10) This simply means every 1.0 increase in parry effectiveness means 10% more stamina gained back on parry. a value of 10 means your stamina gain on parry is doubled.
This also works with negative values , so you can make a weapon less effective at parrying.
Here's an example.
"parryEffectiveness": {
"minecraft:golden_sword": 5.0,
"minecraft:iron_sword": 1.0
}
The iron sword will have a 10% increase in the output of its stamina regain on parry. Meanwhile, the golden sword will have a 50% boost in the stamina increase.
Block Stamina Penalty
Again, this is another value that is tied directly to a weapon's weight. Stamina Drain=[1.0+(EnemyDamage×0.05)]×[1.0−(Weight×0.10)] Every 1.0 higher weight reduces the block stamina drain by 10%.
Revamped as of 1.3
Revamped block mechanic
blockBaseImpact = 1.0 Base cost of any hit
blockNegationCap = 0.8 Maxmimum that any weapon can mitigate drain
maxDamageForFullDrain = 40.0 divisor for the amount of stamina drain.
"disableSweepAttacks": true,
Self-explanatory : disables sweep attacks.
"enableCustomCrits": true,
If true, dash and air attacks will always do 1.5x base damage. Even if its a custom datapacked animation set.
Sprint Drain
sprintDrainPerTick = 0.05
Simple, value drain per tick on sprint.
sprintDrainWeightMultiplier = 0.1
Every 1.0 increase in weight adds a 10% penalty to sprint drain. For example: if a weapon has 10.0 weight, it will drain stamina, on sprint, +100% faster.
Set to 0 if you don't want any penalty.
Shield
#Holding a shield up drains stamina every tick, like holdBlockCost does for weapon guards. (default: true)
enableShieldHoldDrain = true
#Stamina drained per tick while a shield is held up. (default: 0.1)
#Range: 0.0 ~ 100.0
shieldHoldCost = 0.1
You can enable / disable shields requiring stamina to hold up, and change their drain rate separate from a normal weapon block.
shieldBreakOnExhaustion = true
If true, when stamina is depleted, a hit on the shield will disable it like a vanilla shield.
Shields by default take 1/3rd of the block stamina drain compared to a normal weapon. (as to not make them useless)
Ranged
Bows and crossbows can be configured to use stamina on reload / charging
enableBowDrain = true
Scroll Combos
You can enable this setting to set certain attacks to be bound to the scroll wheel. This is inspired by games like chivalry/mordhau.
Scroll wheel is locked once a weapon that is configured to use scroll combos is found.
The scroll wheel unlocks in mining mode, regardless if on a configured weapon.
The datapack structure is simply in the weapon type.
"input_combos": {
"two_hand": {
"lmb": {
"damage_multiplier": 1.0,
"speed": 1.0
},
"scroll_up": {
"animations": [
"epicfight_dd:biped/combat/halberd_auto2"
],
"reset_ticks": 30,
"damage_multiplier": 0.8,
"speed": 1.0
},
"scroll_down": {
"animations": [
"epicfightx:biped/combat/greatsword_airslash"
],
"reset_ticks": 30,
"damage_multiplier": 1.5,
"speed": 1.0
}
}
},
Just place this block anywhere in the epic fight weapon type json.
You can also edit the damage multiplier per attack type. This was intended for if you wanted to make certain attacks more or less effective, you could do so here.
LMB is designated to the normal combo chain.
"combos": {
"two_hand": [
"cdmoveset:biped/new/spear/spear_twohand_auto1",
"cdmoveset:biped/new/spear/spear_twohand_auto2",
"wom:biped/combat/solar_auto_4",
"cdmoveset:biped/new/longsword/longsword_twohand_auto_4",
"epicfight:biped/combat/greatsword_dash",
"wom:biped/combat/solar_auto_2"
]
},
(Just an example)
LMB will go through the combo as normal, but scroll wheel up and down can be assigned new animations. Weapons without the scroll wheel up or down key will not have the inventory selector lock on the weapon.
Its also not limited to just one attack, you can put a whole new combo chain in these keys if you would like.
Heavy Attacks
Works with any attack. Simply use the modifier key (bind in controls) + any attack, hold modifier + tap LMB for a "quick heavy", and hold modifier + hold lmb to charge it to max strength.
This simply works by slowing down the windup of the animation.
Weapon Collision
Forces weapons to use the datapacked collision size. weaponColliderMode = "TOOL_JOINTS"
评论 0
登录后参与评分
还没有评论,来抢沙发吧