AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
>[danger] 在`Module/Buff/config.yml`内设置`buff-ui: germ`重载即可 目录: `Modules/GermPlugin/buff` ## config.yml ``` setting: #玩家hud最多显示多少个buff hud: max: 20 #实体最多显示多少个buff entity: max: 10 #buff图标设置 icon: #buff的ID 双倍药水: #玩家hud上面的相关设置 #没有此节点表示不显示在hud上 hud: #玩家hud显示的萌芽资源路径 #最好保持每个图片的宽高都是统一的 #如果不写此节点或者内容为空,表示不显示在hud上 path: '' #右键hud图标时,是否取消改buff #默认false right-cancel: true #绑定到实体相关的设置(还未实现) entity: #是否显示在绑定的实体上面 #默认true show: true #萌芽资源路径 path: '' ``` ## playerhud.yml ``` #独有变量 #%pxrpg_buff_hud_size% = 当前显示buff的数量 #%pxrpg_buff_hud_max% = 最大显示的数量(配置内的max) #buff相关的独有变量 # {index} 从0开始 #%pxrpg_buff_hud_one_{index}_name% = buff名字 #%pxrpg_buff_hud_one_{index}_path% = 显示的图标路径 #%pxrpg_buff_hud_one_{index}_caster% = buff投放者名字 #%pxrpg_buff_hud_one_{index}_start% = 开始时间, 时间戳 #%pxrpg_buff_hud_one_{index}_end% = 时间戳, 时间戳 #%pxrpg_buff_hud_one_{index}_id% = buffid #%pxrpg_buff_hud_one_{index}_note% = buff标识符(相同标识符的buff会覆盖) #%pxrpg_buff_hud_one_{index}_level% = buff等级 #%pxrpg_buff_hud_one_{index}_entry% = buff词条格式化后的内容 #不要改 pxrpg_player_buff_hud: options: startX: "w-2" startY: "2" guide: false #此处必须的节点,请勿更改/删除 list_scroll: #此处必须的节点,请勿更改/删除 type: 8 locationX: '0' locationY: '0' width: '10000' height: '10000' locationVX: '0' locationVY: '0' widthV: '0' heightV: '0' scrollableV: '0' scrolledV: '0' relative: true invalidV: false scrollableParts: #这个节点下面会将{index}替换成当前序号, 从0开始的 one: #此处必须的节点,请勿更改/删除 type: 11 enable: '{index} < %pxrpg_buff_hud_size%' locationX: "-19*({index}+1)" locationY: "0" relativeParts: #此处必须的节点,请勿更改/删除 #用于监听右键点击 button: #此处必须的节点,请勿更改/删除 type: 3 defaultPath: '%pxrpg_buff_hud_one_{index}_path%' hoverPath: '%pxrpg_buff_hud_one_{index}_path%' width: "18" #按照高度往下列 height: "18" tooltip: - "Buff: &7[%pxrpg_buff_hud_one_{index}_id%]%pxrpg_buff_hud_one_{index}_name% (Lv.%pxrpg_buff_hud_one_{index}_level%)" - "Note: &7%pxrpg_buff_hud_one_{index}_note%" - "开始时间: &7%pxrpg_buff_hud_one_{index}_start%" - "结束时间: &7%pxrpg_buff_hud_one_{index}_end%" - " ----------------- " - "%pxrpg_buff_hud_one_{index}_entry%" rightDos: #右键移除 - 'pxrpg_buff_cancel<->{index}' color: type: color enable: '%pxrpg_buff_hud_one_{index}_end% > 0' locationX: '0' locationY: '18-(%pxrpg_buff_hud_one_{index}_end%-%time_now%)/(%pxrpg_buff_hud_one_{index}_end%-%pxrpg_buff_hud_one_{index}_start%)*18' height: 'max(0,(%pxrpg_buff_hud_one_{index}_end%-%time_now%)/(%pxrpg_buff_hud_one_{index}_end%-%pxrpg_buff_hud_one_{index}_start%)*18)' width: "18" color: 0x5FFFFFFF endColor: 0x5FFFFFFF time: enable: '%pxrpg_buff_hud_one_{index}_end% > 0' type: label align: "center" locationX: '10' locationY: '5' texts: - "%calint_(#pxrpg_buff_hud_one_{index}_end#-#time_now#)/1000%" #font: 'normal' fontsize: 14 stroke: 2 strokeColor: 0xFF231802 label: type: label align: "right" locationX: '18' locationY: '11' texts: - "#FFC8C3B8%pxrpg_buff_hud_one_{index}_level%" fontsize: 12 stroke: 2 strokeColor: 0xFF231802 ```