Files
DNF_DEV_SQR/main.nut

11 lines
252 B
Plaintext

function main() {
//初始化随机数种子
srand(time());
local SM = StateMachine.GetInstance();
SM.RegisterState(CHARACTERJOB.SWORDMAN, "Character_Rest", 0);
SM.RegisterState(CHARACTERJOB.SWORDMAN, "Character_Move", 1);
}