跳至内容
AzerothCore 中文
用户工具
登录
站点工具
搜索
工具
显示页面
修订记录
反向链接
最近更改
媒体管理器
网站地图
登录
>
最近更改
媒体管理器
网站地图
您的足迹:
数据库:world数据库:npc_spellclick_spells
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== npc_spellclick_spells 表 ====== ---- [[数据库:world数据库:首页|<-返回:World 数据库]] This table holds information about spells to be cast upon receiving CMSG_SPELLCLICK. That opcode is sent for quests in which you have to loot creatures, who are already dead at spawning. Examples are Planning for the Future and Rifle the bodies. **表结构** ^Field^Type^Attributes^Key^Null^Default^Extra^Comment^ |[[#npc_entry|npc_entry]]|INT|UNSIGNED|PRI|NO|NULL| |Reference to the creature_template table| |[[#spell_id|spell_id]]|INT|UNSIGNED|PRI|NO|NULL| |The ID of the spell to be cast| |[[#cast_flags|cast_flags]]|TINYINT|UNSIGNED| |NO|NULL| |Who casts the spell on who, creature <=> player (values: 0-3)| |[[#user_type|user_type]]|SMALLINT|UNSIGNED| |NO|0| |Relation with summoner: 0-no 1-friendly 2-raid 3-party player can click| ===== 字段说明 ===== ---- ==== npc_entry ==== Reference to creature_template.entry ==== spell_id ==== The spell which should be cast. Note that for several quests there are more than one spell per click. Planing for the Future for example has Planning for the Future: Create Snowfall Glade Pup which will create the item in the player’s inventory and Planning for the Future: Create Snowfall Glade Pup Cover which despawns the creature. This creates the illusion that the creature has been looted. ==== cast_flags ==== On every spellclick event, a player and a creature "participate". This field defines who casts the spell on who. Lower bit defines caster: 1=Clicker, 0=Clickee; higher bit defines target, same mapping as caster bit. You can use that table for the actual value: ^Caster^Target^cast_flags value^ |Creature|Clickee|0| |Clicker|Clickee|1| |Clickee|Clicker|2| |Clicker|Clicker|3| ==== user_type ==== Relation with summoner: defines who is able to use this spellclick. ^Value^Description^ |0|Only self| |1|Friendly| |2|Raid| |3|Party|
数据库/world数据库/npc_spellclick_spells.txt
· 最后更改: 2023/09/24 21:45 由
admin
页面工具
显示页面
修订记录
反向链接
回到顶部