SAI实例研究(3)

实例3

creature.id = 16295(smart_script.entryorguid)的SAI设置:

  • 共分为0和1两个事件阶段
    • 第0阶段:
      • 第1条(id = 0) 当 creature 刷新时(event_type = 11),creature 对自身(target_type = 1)设置 UNIT_FIELD_BYTES_1(action_type = 90)
        • UNIT_FIELD_BYTES_1 取值参考源码 UnitDefines.h
        • action_param2 = 0 时,action_param1 按 UnitStandStateType 取值,此处 action_param1 = 8(UNIT_STAND_STATE_KNEEL)
      • 第2条(id = 1) 第1条触发后(event_type = 61), creature 对自身(target_type = 1)设置事件阶段为1阶段(action_type = 22)
      • 第3条(id = 2) 当角色接到任务(QuestID = 9212,“逃离墓穴”)时(event_type = 19),creature 对自身(target_type = 1)触发时间线列表动作( action_type = 80,smart_script.entryorguid = 1629500)
      • 第4条(id = 3) 当 creature 移动到第6个预设路径点时(event_type = 40)时(event_type = 19),creature 对自身(target_type = 1)触发时间线列表动作( action_type = 80,smart_script.entryorguid = 1629501)
      • 第5条(id = 4) 当 creature 移动到第12个预设路径点时(event_type = 40)时(event_type = 19),creature 对自身(target_type = 1)触发时间线列表动作( action_type = 80,smart_script.entryorguid = 1629502)
      • 第6条(id = 5) 当 creature 移动到第20个预设路径点时(event_type = 40)时(event_type = 19),creature 对自身(target_type = 1)触发时间线列表动作( action_type = 80,smart_script.entryorguid = 1629503)
      • 第7条(id = 6) 当 creature 移动到第25个预设路径点时(event_type = 40)时(event_type = 19),creature 对自身(target_type = 1)触发时间线列表动作( action_type = 80,smart_script.entryorguid = 1629504)
      • 第8条(id = 7) 当 creature 移动到第31个预设路径点时(event_type = 40)时(event_type = 19),creature 对自身(target_type = 1)触发时间线列表动作( action_type = 80,smart_script.entryorguid = 1629505)
      • 第9条(id = 9) 当 creature 死亡时(event_type = 6),预先储存的目标列表(target_type = 12)中的角色的任务均失败(action_type = 6)
    • 第1阶段:
      • 第1条(id = 8) 当 creature 处于战斗状态之外时(event_type = 1),creature 对预先储存的目标列表(target_type = 12)中的角色说话(action_type = 1)

creature.id = 16295,entryorguid = 1629500 的时间线列表动作有10条 

  • 第1条(id = 0) 将接到任务的队伍(target_type = 16)作为目标列表储存到变量1中(action_type = 64)
  • 第2条(id = 1) creature 对自身设置(target_type = 1)事件阶段为0阶段(action_type = 22)
  • 第3条(id = 2) creature 对自身设置(target_type = 1)npcflag = 3(action_type = 83)
  • 第4条(id = 3) creature 对自身设置(target_type = 1)移除 UNIT_FIELD_BYTES_1(action_type = 91)
  • 第5条(id = 4) 激活(action_type = 9)距离最近的 gameobject(target_type = 20)
  • 第6条(id = 5) creature 对自身(target_type = 1)说话(action_type = 1)
  • 第7条(id = 6) creature 自身(target_type = 1)开始沿预设路径移动(action_type = 53)
  • 第8条(id = 7) creature 对自身设置(target_type = 1)不免疫玩家攻击(action_type = 144)
  • 第9条(id = 8) creature 对自身设置(target_type = 1)不免疫npc攻击(action_type = 145)
  • 第10条(id = 9) creature 对自身设置(target_type = 1)faction = 1603(action_type = 2)

creature.id = 16295,entryorguid = 1629501 的时间线列表动作有2条

  • 第1条(id = 0) creature 暂停自身(target_type = 1)移动4秒(action_type = 54)
  • 第2条(id = 1) creature 对自身(target_type = 1)说话(action_type = 1)

creature.id = 16295,entryorguid = 1629502 的时间线列表动作有3条

  • 第1条(id = 0) creature 暂停自身(target_type = 1)移动4秒(action_type = 54)
  • 第2条(id = 1) 改变 creature 的朝向为特定方位(action_type = 66,target_type = 8)
  • 第3条(id = 2) creature 对自身(target_type = 1)说话(action_type = 1) 

creature.id = 16295,entryorguid = 1629503 的时间线列表动作有4条

  • 第1条(id = 0) creature 暂停自身(target_type = 1)移动4秒(action_type = 54)
  • 第2条(id = 1) creature 对自身(target_type = 1)说话(action_type = 1)
  • 第3条(id = 2) 激活 creature 自身(target_type = 1)跑步状态(action_type = 59)
  • 第4条(id = 3) 对 creature 自身(target_type = 1)召唤生物组(action_type = 107)并对 creature 进行攻击(action_param2 = 1) 

creature.id = 16295,entryorguid = 1629504 的时间线列表动作有1条

  • 第1条(id = 0) 关闭 creature 自身(target_type = 1)跑步状态(action_type = 59) 

creature.id = 16295,entryorguid = 1629505 的时间线列表动作有9条

  • 第1条(id = 0) creature 暂停自身(target_type = 1)移动(action_type = 54)
  • 第2条(id = 1) creature 对预先储存的目标列表(target_type = 12)中的角色说话(action_type = 1)
  • 第3条(id = 2) 改变 creature 的朝向为预先储存的目标列表中的角色(action_type = 66,target_type = 12)
  • 第4条(id = 3) creature 对自身(target_type = 1)说话(action_type = 1)
  • 第5条(id = 4) 改变 creature 的朝向为距离最近的 creature(action_type = 66,target_type = 19)
  • 第6条(id = 5) 使预先储存的目标列表(target_type = 12)中的角色任务完成(action_type = 15)
  • 第7条(id = 6) creature 对距离最近的 creature(target_type = 19)说话(action_type = 1)
  • 第8条(id = 7) creature 对距离最近的 creature(target_type = 19)说话(action_type = 1)
  • 第9条(id = 8) 使 creature 自身(target_type = 1)消失(action_type = 41) 

参考阅读:

SAI专栏

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mfbz.cn/a/357188.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

【网络】传输层TCP协议 | 三次握手 | 四次挥手

目录 一、概述 2.1 运输层的作用引出 2.2 传输控制协议TCP 简介 2.3 TCP最主要的特点 2.4 TCP连接 二、TCP报文段的首部格式 三、TCP的运输连接管理 3.1 TCP的连接建立(三次握手) 3.2 为什么是三次握手? 3.3 为何两次握手不可以呢? 3.4 TCP的…

ChatGPT4 比 ChatGPT3.5 强在了那里?

刚开始的时候我还在纠结,一个月20 刀的ChatGPT4 ,到底值不值这个价钱?使用过后发现,诶嘛真香。因为 GPT4 比 GPT3.5 多了太多功能,特别是识图能力,用好的话效率翻倍。 1. 看图写代码 ChatGPT4 相比 ChatG…

colab使用自己数据集进行模型训练的方法汇总

在 Google Colab 上使用自己的数据集进行模型训练。Colab 允许通过多种方式上传数据,包括直接从本地计算机上传、从 Google Drive 加载或通过网络链接下载,从github导入等。 GitHub导入 使用以下的代码将github上的文件克隆到colab的当前目录下 !git …

除了Adobe之外,还有什么方法可以将Excel转为PDF?

前言 Java是一种广泛使用的编程语言,它在企业级应用开发中发挥着重要作用。而在实际的开发过程中,我们常常需要处理各种数据格式转换的需求。今天小编为大家介绍下如何使用葡萄城公司的的Java API 组件GrapeCity Documents for Excel(以下简…

vue3使用AntV G6 (图可视化引擎)历程[三]

上期回顾:历程[二]描述了节点抽离自定义节点并做数据静态渲染。下面这篇继续描述节点升级版的模块化抽离以及动态数据渲染 官网地址:https://g6-next.antv.antgroup.com/manual/introduction “antv/g6”: “^4.8.24” 一、 案例效果 二、自定义节点的模…

第九节HarmonyOS 常用基础组件14-DataPanel

1、描述 数据面板组件,用于将多个数据占比情况使用占比图进行展示。 2、接口 DataPanel(options:{values: number[], max?: numner, type?: DataPanelType}) 3、参数 参数名 参数类型 必填 描述 values number[] 是 数据值列表,最多含9条数…

SpringCloud微服务常见问题

1 微服务 返回面试宝典 问题1 SpringCloud常见组件有哪些? SpringCloud包含的组件很多,有很多功能是重复的,其中最常见的组件包括: 注册中心组件:Eureka、Nacos等;负载均衡组件:Ribbon&…

Spring Security的入门案例!!!

一、导入依赖 <dependencies><!--web--><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId></dependency><!--security--><dependency><groupId>…

如何获得《幻兽帕鲁》隐藏帕鲁唤夜兽?13000个配种配方查询 幻兽帕鲁Steam好评率还在涨 Mac苹果电脑玩幻兽帕鲁 Crossover玩Windows游戏

《幻兽帕鲁》是一款Steam平台热门游戏&#xff0c;开放式大陆和养成式冒险结合&#xff0c;成为2024首款热门游戏&#xff0c;不过由于官方仅发布了Windows版的游戏客户端&#xff0c;Mac用户无法直接玩&#xff0c;好在有Crossover这样的神器&#xff0c;让苹果电脑也能玩上《…

OCP NVME SSD规范解读-8.SMART日志要求-2

SMART-7&#xff1a; 软错误ECC计数可能是记录了被第一级ECC&#xff08;比如LDPC Hard Decode&#xff09;成功纠正过的读取错误次数。这意味着数据恢复成功&#xff0c;但依然表明存储介质出现了某种程度上的可靠性下降。 LDPC码是一种基于稀疏矩阵的纠错码&#xff0c;它由…

WebGL 入门:开启三维网页图形的新篇章(下)

&#x1f90d; 前端开发工程师、技术日更博主、已过CET6 &#x1f368; 阿珊和她的猫_CSDN博客专家、23年度博客之星前端领域TOP1 &#x1f560; 牛客高级专题作者、打造专栏《前端面试必备》 、《2024面试高频手撕题》 &#x1f35a; 蓝桥云课签约作者、上架课程《Vue.js 和 E…

go基础-垃圾回收+混合写屏障GC全分析

垃圾回收(Garbage Collection&#xff0c;简称GC)是编程语言中提供的自动的内存管理机制&#xff0c;自动释放不需要的对象&#xff0c;让出存储器资源&#xff0c;无需程序员手动执行。 Golang中的垃圾回收主要应用三色标记法&#xff0c;GC过程和其他用户goroutine可并发运行…

高端车规MCU的破局之路

目录 1 低质量的无效内卷 2 高端车规MCU产品共性 2.1 支持标定测量 2.2 低延迟通信加速 2.3 完备的网络安全解决方案 2.4虚拟化 3 国产替代的囚徒困境 1 低质量的无效内卷 近几年&#xff0c;车规MCU国产替代的呼声此消彼长&#xff0c;但仍然集中在低端产品。 从产…

网络安全知识和华为防火墙

网络安全 网络空间安全 ---Cyberspace 2003年美国提出的网络空间概念 ---一个由信息基础设施组成的互相依赖的网络。 我国官方文件定义&#xff1a;网络空间为继海、陆、空、天以外的第五大人类互动领域。 通信保密阶段 --- 计算机安全阶段 --- 信息系统安全 --- 网络空间安…

引用httplib时报undefined reference to `__imp_WSASocketW‘的解决方案

报错信息如下&#xff1a; undefined reference to __imp_getaddrinfo undefined reference to __imp_WSASocketW’ undefined reference to __imp_socket undefined reference to __imp_setsockopt’ undefined reference to __imp_setsockopt undefined reference to __imp_…

主从数据库MySQL服务重启步骤与注意事项

主从数据库MySQL服务重启步骤与注意事项 实验环境&#xff1a; 172.20.26.34 &#xff08;主应用服务器&#xff09; 172.20.26.26 &#xff08;备应用服务器&#xff09; 172.20.26.37 &#xff08;主库服务器&#xff09; 172.20.26.38 &#xff08;从库服务器&…

防御保护----防火墙基本知识

一.防火墙的基本知识--------------------------------------------------------- 防火墙&#xff1a;可以想象为古代每个城市的城墙&#xff0c;用来防守敌军的攻击。墙&#xff0c;始于防&#xff0c;忠于守。从古至今&#xff0c;墙予人以安全之意。 防火墙的主要职责在于&…

【客户端性能测试】手机设备的“高中端”怎么判断

在做客户端性能测试的时候&#xff0c;选择手机是一个老大难话题了&#xff0c;我们不可能随便拿一台设备就开工&#xff0c;最少也得选择高端机、终端机、低端机来看看结果。 一、先上科普 1.1 SoC 1.2 CPU 1.3 厂商rom 1.4 XXXm 二、划分思路 2.1 思路【目前是没有市面…

python字典JSON 和csv文件

JSON与Python字典 Python中的字典与JSON非常类似而且支持嵌套结构。Json通过key取值的过程和python字典通过索引取值过程完全一致。JavaScript数据类型&#xff08;值&#xff09;对应的Python数据类型&#xff08;值&#xff09; JSONPythonobjectdictarraylist/tuplestring…

Linux自动备份MySQL数据库

目录 1. 创建备份目录2. 创建自动化备份脚本3. 执行备份脚本测试4. 设置每天凌晨两点自动执行 1. 创建备份目录 cd home mkdir backup2. 创建自动化备份脚本 vim backup.sh编辑脚本内容主机&#xff0c;用户名&#xff0c;密码&#xff0c;备份数据库及备份路径自行填写 #!/…
最新文章