项目

一般

简介

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

修订 3 (chenjun, 2022-05-24 01:17) → 修订 4/13 (chenjun, 2022-05-25 09:08)

h4. 师徒玩法命令 

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