Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提议:增加返回玩家的输出伤害,承受伤害,治疗量,被治疗量等的事件 #111

Open
michaelwoooo opened this issue May 7, 2019 · 2 comments

Comments

@michaelwoooo
Copy link
Contributor

提议:
增加四个事件,用以分别返回玩家的输出伤害,承受伤害,治疗量,被治疗量

可能会用以的场景:副本、GVG

@jian916
Copy link

jian916 commented Aug 8, 2019

攻擊的傷害輸出頻繁,不建議用事件處理增加伺服器負擔
盡量用被動的方式取值,像是
*getmobdamage (GID);
魔物原始就有 md->dmglog 的傷害紀錄可使用

透過計時器、事件、腳本觸發等等方式
調用 getmobdamage 完成功能

@CairoLee
Copy link
Contributor

攻擊的傷害輸出頻繁,不建議用事件處理增加伺服器負擔
盡量用被動的方式取值,像是
*getmobdamage (GID);
魔物原始就有 md->dmglog 的傷害紀錄可使用

透過計時器、事件、腳本觸發等等方式
調用 getmobdamage 完成功能

你说的有道理~ 我最近准备开始安排实现了,到时候一起研究一下。基础的事件方式我考虑支持(主要是为了其他端的脚本兼容性),但有可能有个配置文件,默认禁用它们。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants