学习网页设计网站制作,湖南省建设局网站,建网站的优势,知名网站建设公司字段介绍
spawn_group | spawn_group_template 用来记录与脚本事件或boss战斗有关的 creatures | gameobjects 的刷新数据linked_respawn 用来将 creatures | gameobjects 和 boss 联系起来#xff0c;这样如果你杀死boss#xff0c; creatures | gameobjects 在副本重置之前…字段介绍
spawn_group | spawn_group_template 用来记录与脚本事件或boss战斗有关的 creatures | gameobjects 的刷新数据linked_respawn 用来将 creatures | gameobjects 和 boss 联系起来这样如果你杀死boss creatures | gameobjects 在副本重置之前不会重新刷新335此表被废弃
spawn_group_template
groupId 刷新组的 ID。它必须是一个唯一的数字0-4 保留用于系统任务groupName 刷新组的名称groupFlags 刷新组的标识取值参考源码 SpawnData.h 的 SpawnGroupFlags 定义此值为位掩码要应用多个只需将他们相加
FlagMaskValueDescriptionSPAWNGROUP_FLAG_NONE0x000No flags appliedSPAWNGROUP_FLAG_SYSTEM0x011Group is a system group (applies to standard groups 0-4)SPAWNGROUP_FLAG_COMPATIBILITY_MODE0x022Group will contain legacy objects/creatures that dont work with dynamic spawn changesSPAWNGROUP_FLAG_MANUAL_SPAWN0x044Group will not be spawned by core by default. Scripts can manually spawn/despawn these groups on demand.SPAWNGROUP_FLAG_DYNAMIC_SPAWN_RATE0x088Group will have dynamic spawn rates applied (by default quest interested creatures/gos and gather nodes use this)SPAWNGROUP_FLAG_ESCORTQUESTNPC0x1016Group contains Escort quest NPCs. This further enhances Dynamic spawn to begin respawn time at the point a quest is taken and the escort beginsSPAWNGROUP_FLAG_DESPAWN_ON_CONDITION_FAILURE0x2032Group despawns on condition failure
spawn_group
groupId 刷新组的 ID它必须与 spawn_group_template 表中已存在的组匹配spawnType 刷新类型0 为 creature1 为 gameobjectspawnId 刷新组中所包含的 creature | gameobject 的 guid所有此处 creature | gameobject 的 guid均应在 creature | gameobject 表中有记录
linked_respawn
guid 要链接的creature | gameobject 的 guidlinkedGuid 要链接的 Boss 的 guidlinkType 链接类型
ValueDependentMaster0creaturecreature1creaturegameobject2gameobjectgameobject3gameobjectcreature
举例
以下为黑龙巢穴副本刷新组数据其中 spawn_group_template.groupFlags 4SPAWNGROUP_FLAG_MANUAL_SPAWN表明ID 10 的刷新组系统默认不会自动刷新需要手动通过代码或在 instance_spawn_groups 设置相关数据来控制其是否刷新 参考阅读
instance_spawn_groups