以下的脚本应该没问题吧,但是主号不加属性,只有英雄加...是不是因为还有其他脚本,狂暴之类的 也有用ChangeHumaBility,所以冲突,导致主号没属性?
[@主号军衔]
{
#if
checkjob warrior
CHECK [50] 1
#act
ChangeHumaBility 4 + 50 65535
ChangeHumaBility 0 + 1 65535
ChangeHumaBility 1 + 1 65535
ChangeHumaBility 2 + 1 65535
sendmsg 7 您的属性:主号和英雄额外属性,HP+50,攻魔道+1
#if
checkjob taoist
CHECK [50] 1
#act
ChangeHumaBility 4 + 25 65535
ChangeHumaBility 0 + 1 65535
ChangeHumaBility 1 + 1 65535
ChangeHumaBility 2 + 1 65535
sendmsg 7 您的属性:主号和英雄额外属性,HP+25,攻魔道+1
#if
checkjob wizard
CHECK [50] 1
#act
ChangeHumaBility 4 + 10 65535
ChangeHumaBility 0 + 1 65535
ChangeHumaBility 1 + 1 65535
ChangeHumaBility 2 + 1 65535
sendmsg 7 您的属性:主号和英雄额外属性,HP+10,攻魔道+1
}
[@英雄军衔]
{
#if
CHECKHEROJOB warrior
CHECK [50] 1
#act
ChangeHumaBility 4 + 50 65535 Hero
ChangeHumaBility 0 + 1 65535 Hero
ChangeHumaBility 1 + 1 65535 Hero
ChangeHumaBility 2 + 1 65535 Hero
#if
CHECKHEROJOB taoist
CHECK [50] 1
#act
ChangeHumaBility 4 + 25 65535 Hero
ChangeHumaBility 0 + 1 65535 Hero
ChangeHumaBility 1 + 1 65535 Hero
ChangeHumaBility 2 + 1 65535 Hero
#if
CHECKHEROJOB wizard
CHECK [50] 1
#act
ChangeHumaBility 4 + 10 65535 Hero
ChangeHumaBility 0 + 1 65535 Hero
ChangeHumaBility 1 + 1 65535 Hero
ChangeHumaBility 2 + 1 65535 Hero
}
补充内容 (2022-8-31 14:20):
已解决 |