if WAR.ZDDH == 54 and JY.Person[27]["品德"] == 20 and WAR.MCRS == 1 and pid == 27 then
这是葵花尊者出现的条件,是不是要在所有的这个条目上加上match_ID(pid, 27) and pid == 0,即
if match_ID(pid, 27) and pid == 0 or WAR.ZDDH == 54 and JY.Person[27]["品德"] == 20 and WAR.MCRS == 1 and pid == 27 then
大佬们看看有没有问题,会不会出现错误。