|
祝大家新年快乐。触发后,dodge_count_py打印出来始终为0。。这是为什么呢?
新手上路,请各位解答下,谢谢。
- dodge_count_py = 0
- creat_trigger_py = function(name_py, match_py, response_py, sequence_py)
- AddTriggerEx(name_py, match_py, response_py, 1 + 8 + 32 + 1024, -1, 0, "", "", 12, sequence_py)
- end
- creat_trigger_py("learn_dodge_py", "^[> ]*你的「基本轻功」进步了!.*$", "dodge_count_py = dodge_count_py + 1",100)
- function learn_dodge_py()
- wait.make(function()
- while dodge_count_py <= 5
- do
- Send("xue wushi for dodge 1")
- wait.time(7)
- print(dodge_count_py)
- end
- end)
- end
复制代码
北大侠客行MUD,中国最好的MUD |
|