游侠荣誉会员
- UID
- 1051274
- 主题
- 0
- 阅读权限
- 50
- 帖子
- 331
- 精华
- 6
- 积分
- 1366
- 金钱
- 568
- 荣誉
- 0
- 人气
- 0
- 在线时间
- 1 小时
- 评议
- 0
- 帖子
- 331
- 精华
- 6
- 积分
- 1366
- 金钱
- 568
- 荣誉
- 0
- 人气
- 0
- 评议
- 0
|
world\contentdb\templates\actors\evil\b
从这路径下找出法帝斯的档案资料
valdis
手动分析了资料后发现他增加了这一些参数好让法帝斯符合可以招换条件
[t:template,n:valdis_summon]
{
doc = "valdis_summon";
specializes = valdis_summon_stats;
}
[t:template,n:valdis_summon_stats]
{
specializes = base_valdis;
[actor]
{
[skills]
{
monster_level = (40.0 * #is_normal) + (64.0 * #is_veteran) + (85.0 * #is_elite);
strength = 1, 0;
dexterity = 1, 0;
intelligence = 1, 0;
melee = 1, 0;
}
[state_resistances]
{
freeze = 1.0;
stun = 1.0;
silence = 1.0;
slow = 1.0;
ignite = 1.0;
immobilize = 1.0;
knockback = 1.0;
slide = 1.0;
fear = 1.0;
power_damage= 0.25;
}
}
[aspect]
{
manages_own_damage = true;
}
[body]
{
is_visible = false;
experience_value = 0;
life = 1;
max_life = 1;
life_recovery_unit = 1.0;
life_recovery_period = 2.0;
scale_base = 1.0;
initial_chore = chore_fidget;
[chore_dictionary]
{
chore_prefix = a_c_ebb_011_fs;
[chore_attack]
{
chore_stances = 4;
skrit = select_attack;
[anim_files]
{
00 = at;
01 = at-02;
02 = at-03;
}
}
[chore_default]
{
chore_stances = 0,4;
skrit = simple_loop;
[anim_files] { 00=dfs; }
}
[chore_die]
{
chore_stances = 0,4;
skrit = select_transition;
[anim_files] { 00=dfs; }
}
[chore_fidget]
{
chore_stances = 0,4;
skrit = select_fidget;
[anim_files]
{
00 = dff;
}
}
[chore_magic]
{
chore_stances = 0,4;
skrit = select_attack;
[anim_files]
{
00=mg;
}
}
[chore_misc]
{
chore_stances = ignore;
skrit = select_transition;
[anim_files]
{
stg1 = a_c_ebb_011_fs4_stgr;
jump = a_c_ebb_011_fs4_stgr; //armed stagger, for jump job
srd1 = a_c_ebb_011_fs4_at;
srd2 = a_c_ebb_011_fs4_at-02;
srd3 = a_c_ebb_011_fs4_at-03;
agry = a_c_ebb_011_fs4_nis_agry;
gfdt = a_c_ebb_011_fs4_nis_gfdt;
gtup = a_c_ebb_011_fs4_nis_gu;
srf1 = a_c_ebb_011_fs4_nis_srf;
tlk1 = a_c_ebb_011_fs4_nis_tlk;//nis talk
tlk2 = a_c_ebb_011_fs4_tlk; //talk
land = a_c_ebb_011_fs4_nis_land;
swp1 = a_c_ebb_011_fs4_nis_swipe;
brk1 = a_c_ebb_011_fs4_brk-sword;
tel1 = a_c_ebb_011_fs4_tele-1;
tel2 = a_c_ebb_011_fs4_tele-2;
}
}
[chore_walk]
{
chore_stances = 0,4;
skrit = select_walk;
[anim_files]
{
00=wl;
}
}
}
}
[inventory]
{
selected_active_location = il_hand_1;
[equipment]
{
es_weapon_hand = sd_1h_vds;
}
[other]
{
il_spell_1=spell_valdis_line_attack;
il_spell_2=spell_valdis_magma_attack;
il_spell_3=spell_valdis_sword_attack;
}
}
[controlled_teleport]
{
sfx = "ffx_monster_teleport_valdis";
activatemsg = we_user_valdis_teleport;
destinationscid = 0xFEA001BB;
delaytime = 0.5;
}
[mind]
{
actor_life_ratio_low_threshold = 0.8;
jat_brain = world\ai\jobs\common\brain_hero.skrit;
jat_fidget = world\ai\jobs\common\job_fidget.skrit;
jat_startup = "world\ai\jobs\common\job_startup_reveal.skrit?auto_reveal=true&invisible=true";
movement_orders = mo_free;
sight_range = 15.0;
melee_engage_range = 15.0;
ranged_engage_range = 15.0;
outer_comfort_zone_range = 15.0;
}
}
之后为了方便购买我变更了购买地点变成药材店
指定路标是
world\contentdb\templates\interactive
的spl_ds2_spellscmagic
增加了一条自己设定的参数代码
////////////////////////////////
// SUMMON TRASAK001
[t:template,n:base_spell_summon_trasak001]
{
category_name = "magic";
doc = "base spell summon trasak001";
specializes = base_spell_combat;
[common]
{
screen_name = "Summon Valdis";
description = "Summons Valdis to fight for the caster.\n";
}
[gui]
{
active_icon = b_gui_ig_m_i_summon_bracken_defender;
inventory_icon = b_gui_ig_i_sp_summon_bracken_defender;
mini_icon = b_gui_ig_m_chiclet-summon-up;
item_level = 0;
}
[magic]
{
apply_enchantments = false;
cast_range = 10;
cast_reload_delay = 3.0;
cast_sub_animation = 4;
caster_state_name = "Controlling";
effect_duration = 600;
is_one_shot = true;
can_autocast = true;
mana_cost = 0;
mana_cost_modifier = 0;
required_level = 0;
requires_line_of_sight = true;
require_state_check = true;
use_intel_level = false;
speed_bias = 1;
target_type_flags = tt_terrain;
usage_context_flags = uc_passive;
state_name = "spell_summon_valdis";
}
[spell_summon_effects]
{
charge_ffx = "ffx_spell_nature_summon_charge";
start_ffx = "ffx_spell_nature_summon";
end_ffx = "ffx_spell_nature_unsummon";
}
[spell_summon]
{
template_name = valdis_summon;
description = "Summoned Creature";
caster_description = "Controlling Summoned";
}
} |
|