Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser

Quick Information

FlowerBuff is a powerful, simple and easy to use Buff system plugin for Godot.Change Log:v0.0.3:Improving performancev0.0.2- Add a signal to be emitted when the computation is complete: FlowerBuffManager.compute_ok- Fixed: automatically call compute() after removing buff (after remove_buff())
FlowerBuff
正式发布!当前版本:v0.0.3!
🤔这是什么?🤔
FlowerBuff 是一个为 Godot 开发的强大、简单、易用的 Buff 系统插件。
✨特性✨
- 支持自定义 buff 逻辑
- 自动处理 buff 应用、持续、冷却等状态
- 简单的 API 使用
- 良好的扩展性
🫡安装🫡
- clone 本项目
- 将 addons/FlowerBuff 放进你的项目中的 addons 文件夹
- 重新加载项目
需要 Godot 4.x 版本。
⏱️快速上手⏱️
创建 buff 类
新建一个继承自 FlowerBaseBuff 的脚本:
class_name SimpleBuff
extends FlowerBaseBuff
func take_effect():
print("Buff启动")
func un_take_effect():
print("Buff结束")
应用 buff
在场景中添加 FlowerBuffManager 节点,设置 target 属性,然后在 buff_list 中添加自定义的 buff:
# 使用代码
FlowerBuffManager.add_buff(_buff:FlowerBaseBuff)
调用 FlowerBuffManager.compute()
来处理 buff 逻辑。
📃文档📃
你可以在 这里 查看更多文档。
🫥更新日志🫥
v 0.0.3:
- 添加
add_buff_list()
和remove_buff_list()
v 0.0.2:
增加计算完成信号:FlowerBuffManager.compute_ok
修改:移除 buff 后自动调用
compute()
(remove_buff()
之后)
FlowerBuff is a powerful, simple and easy to use Buff system plugin for Godot.
Change Log:
v0.0.3:
Improving performance
v0.0.2
- Add a signal to be emitted when the computation is complete: FlowerBuffManager.compute_ok
- Fixed: automatically call compute() after removing buff (after remove_buff())
Reviews
Quick Information

FlowerBuff is a powerful, simple and easy to use Buff system plugin for Godot.Change Log:v0.0.3:Improving performancev0.0.2- Add a signal to be emitted when the computation is complete: FlowerBuffManager.compute_ok- Fixed: automatically call compute() after removing buff (after remove_buff())