项目

一般

简介

师徒玩法命令 » 历史记录 » 修订 11

修订 10 (chenjun, 2022-05-25 16:12) → 修订 11/13 (chenjun, 2022-05-25 16:20)

h4. 师徒玩法命令 

 完整师徒示例脚本:[[拜师出师脚本]] 

 |检测输入的准师傅名字是否正确|[[checkMasterName]]| 
 |检测准师傅是否有徒弟|[[checkIsMaster]]| 
 |检测自身是不是已拜师|[[checkMaster]]| 
 |检测准师傅是否有师父|[[checkPoseMaster]]| 
 |检测准师傅与准徒弟的距离|[[checkPoseDir]]| 
 |检测准师傅的等级|[[checkPoseLevel]]| 
 |启动拜师仪式|[[master]]| 
 |拜师请求|[[master requestMaster]]| 
 |拜师成功|[[master responseMaster ok]]| 
 |拜师失败|[[master responseMaster fail]]| 
 |检测自身是不是师傅或徒弟|[[haveMaster]]| 
 |启动出师流程|[[unmaster]]| 
 |发出正常出师请求|[[unmaster requestUnmaster]]| 
 |正常出师|[[unmaster requestUnmaster ok]]| 
 |强制出师|[[unmaster requestUnmaster force]]| 



 


 完整师徒示例脚本:[[拜师出师脚本]]