#261 spawns table needs a water spawn and flying spawn type support

已关闭
image3 年之前创建 · 2 条评论
image 评论于 3 年之前

Need a flag to allow these options to be set by spawn

Need a flag to allow these options to be set by spawn
image 评论于 3 年之前
协作者
alter table spawn_npcs add column water_type tinyint(1) unsigned not null default 0;
alter table spawn_npcs add column flying_type tinyint(1) unsigned not null default 0;
``` alter table spawn_npcs add column water_type tinyint(1) unsigned not null default 0; alter table spawn_npcs add column flying_type tinyint(1) unsigned not null default 0; ```
image 评论于 3 年之前
协作者

supplementing with using the code values until we have all the DB entries updated in spawn_npcs


    RULE_INIT(R_Spawn, UseHardCodeWaterModelType, "1"); // uses alternate method of setting water type by model type (hardcoded) versus relying on just DB
    RULE_INIT(R_Spawn, UseHardCodeFlyingModelType, "1"); // uses alternate method of setting flying type by model type (hardcoded) versus relying on just DB

if flying type / water type isn't set already, then we will check by model type by a hard coded set. Once we have DB in place these rules can be disabled (0)

supplementing with using the code values until we have all the DB entries updated in spawn_npcs ``` RULE_INIT(R_Spawn, UseHardCodeWaterModelType, "1"); // uses alternate method of setting water type by model type (hardcoded) versus relying on just DB RULE_INIT(R_Spawn, UseHardCodeFlyingModelType, "1"); // uses alternate method of setting flying type by model type (hardcoded) versus relying on just DB ``` if flying type / water type isn't set already, then we will check by model type by a hard coded set. Once we have DB in place these rules can be disabled (0)
image 在代码提交 3 年之前 中引用了该工单
image3 年之前 关闭
登录 并参与到对话中。
正在加载...
取消
保存
这个人很懒,什么都没留下。