我想在mods buff 文件里更改啤酒buff,请问如何写
更改buff持续时间,已知改为0为无限时长,屏幕晃动哪里改为0为不晃动
因为不属于effect_group 和passive_effect 而且没有专属name,所以有点懵,求教,谢谢
buff文件中原文如下
<buff name="buffBeer" name_key="buffDrunk1Name" description_key="buffDrunk1Desc" tooltip_key="buffDrunk1Tooltip" icon="ui_game_symbol_beer">
<damage_type value="disease"/>
<stack_type value="replace"/>
<duration value="30"/> --- buff持续时间
<effect_group>
<passive_effect name="EntityDamage" operation="perc_add" value="3">
<requirement name="HoldingItemHasTags" tags="fists" />
</passive_effect>
<passive_effect name="StaminaChangeOT" operation="perc_add" value="0.5">
<requirement name="NotHasBuff" buff="buffHealWaterMax"/>
</passive_effect>
<passive_effect name="StaminaChangeOT" operation="perc_add" value="0.35">
<requirement name="HasBuff" buff="buffHealWaterMax"/>
</passive_effect>
<triggered_effect trigger="onSelfBuffStart" action="ModifyScreenEffect" intensity="0.3" effect_name="Drunk"/>
这里0.3为屏幕晃动效果
<triggered_effect trigger="onSelfBuffFinish" action="ModifyScreenEffect" intensity="0" effect_name="Drunk"/>
<passive_effect name="BuffResistance" operation="base_add" value="1" tags="buffInjuryStunned1"/>
</effect_group>
</buff>