Elona+ Claw / Hook claw

If you liked this item, please rate it up on Steam Workshop page.

Author: zwa73

Last revision: 28 Jan, 2025 at 14:38 UTC

File size: 476.51 KB

On Steam Workshop

Description:

添加了elonaplus中的钩爪
面板属性基本遵从于elonaplus1.97
类型为elin里的盾牌

Added the claw/hook claw from elonaplus
The panel attributes are basically in line with elonaplus1.97
Category is shield in elin

因为作者用offens.Length<=2这种暴力的方式代替category=="shield"判断
而shield尝试攻击将会出错
所以此mod改写了一些攻击计算代码:
Thing.AddAttackEvaluation
ActMelee.Attack
覆写了:
CharaBody.GetAttackIndex

并在
AttackProcess.Prepare
AttackProcess.Perform
内添加了一个尝试用盾牌攻击就会触发的消息提示