如何利用mythicmobs写出例如 每第三次攻击造成真实伤害
计分板 每次攻击+1 等于三时释放个damage技能
本帖最后由 幸会秋川 于 2021-11-28 19:24 编辑
on quit:
delete {attackTimes::%player's uuid%}
on load:
delete {attackTimes::*}
on damage:
if attacker is player:
add 1 to {attackTimes::%player's uuid%}
if {attackTimes::%player's uuid%} >= 3:
set damage cause to poison
set {attackTimes::%player's uuid%} to 0
wait 3 second
if {attackTimes::%player's uuid%} > 0:
remove 1 from {attackTimes::%player's uuid%}
或许能用
攻击后三秒自动减一次次数
15259493061 发表于 2021-11-28 17:39
有无具体配置嘞
on quit:
delete {attackTimes::%player's uuid%}
on load:
delete {attackTimes::*}
on damage:
if attacker is player:
add 1 to {attackTimes::%player's uuid%}
if {attackTimes::%player's uuid%} >= 3:
set damage cause to poison
set {attackTimes::%player's uuid%} to 0
wait 3 second
if {attackTimes::%player's uuid%} > 0:
remove 1 from {attackTimes::%player's uuid%}
或许能用
攻击后三秒自动减一次次数
幸会秋川 发表于 2021-11-28 19:19
on quit:
delete {attackTimes::%player's uuid%}
on load:
好的 十分感谢
能不能问一下 mm 计分板这个功能 在哪有介绍
我翻了几个wiki都没看到有 介绍
属实有代码不知道用哪
15259493061 发表于 2021-11-28 21:52
好的 十分感谢
能不能问一下 mm 计分板这个功能 在哪有介绍
我翻了几个wiki都没看到有 介绍
这个是脚本