[樂游網導讀]這個是通過地址編輯來修改游戲的參數,基本上用到的都可以修改
scripts\shared\spells.txt,發覺似乎可以修改技能的屬性!
如High Elf的火球:注意紅色部分就是一個技能的屬性
mgr.defineSpell( "he_in_feuerball", {
eiStateName = "cSpellCastProjectile",
fxTypeCast = "FX_HE_FEUERBALL_C",
fxTypeSpell = "FX_HE_FEUERBALL",
fxTypeCastSpecial = "FX_HE_CAST_K",
duration = 1.000000,
animType = "ANIM_TYPE_SM01",
animTypeApproach = "ANIM_TYPE_INVALID",
animTypeRide = "ANIM_TYPE_INVALID",
animTypeSpecial = "ANIM_TYPE_RIDESM01-SPECIAL",
causesSpellDamage = 1,
tokens = {
entry0 = {"et_maxangle_cone", 30, 0, 0, 8 }, //什么有4個數值,好像是什么角度,注意那個0。好吧暫時不明白是什么意思往下看
entry1 = {"et_damage_any_rel", 0, 20, 0, 5 }, //注意那個0
entry2 = {"et_spelldamage_fire", 700, 350, 0, 133 }, //火傷害,注意那個0
entry3 = {"et_spelldamage_physical", 350, 175, 0, 133 }, //物理傷害,注意那個0
entry4 = {"et_missile_adapt", 300, 10, 0, 9 },
entry5 = {"et_chance_burning", 297, 3, 1, 133 }, //幾率燃燒……嗯?這里第三位怎么是1,不是0?再看下面,2、3、4、5、6,正好對應6個進階升級~~!!好,全改成0試試看~~!!或者,保險起見,我們把它復制到Fire Demon的火球那里——見下
entry6 = {"et_chance_areasplash", 595, 5, 2, 5 },
entry7 = {"et_missile_adapt", 300, 10, 3, 9 },
entry8 = {"et_spelldamage_fire", 400, 200, 4, 133 },
entry9 = {"et_missile_adapt", 300, 10, 5, 9 },
entry10 = {"et_target_seeker", 1000, 0, 6, 133 },
},
fightDistance = 525.000000,
aspect = "EA_HE_INFERNO",
cooldown = 0.000000,
soundProfile = 0,
cost_level = 150,
cost_base = 300,
focus_skill_name = "skill_HE_inferno_focus",
lore_skill_name = "skill_HE_inferno_lore",
spellClass = "cSpellHeFeuerball",
spellc,
sorting_rank = 1,
})
火焰惡魔的火球:注意entry后面的數字
mgr.defineSpell( "he_firemonkey_fireball", {
eiStateName = "cSpellCast",
fxTypeCast = "FX_HE_FD_FEUERBALL_C",
fxTypeSpell = "FX_HE_FD_FEUERBALL",
duration = 1.000000,
animType = "ANIM_TYPE_MAGICA",
animTypeApproach = "",
animTypeRide = "",
animTypeSpecial = "",
causesSpellDamage = 1,
tokens = {
entry0 = {"et_damage_any_rel", 0, 20, 0, 5 },
entry1 = {"et_spelldamage_fire", 560, 280, 0, 133 },
entry2 = {"et_spelldamage_physical", 420, 210, 0, 133 },
entry3 = {"et_hits_persec", 500, 5, 0, 4 },
entry4 = {"et_range_area", 200, 0, 0, 4 },
entry5 = {"et_damping_fir", 200, 2, 0, 41 },
entry6 = {"et_missile_adapt", 300, 10, 0, 9 },
entry6 = {"et_chance_burning", 297, 3, 0, 133 },
entry7 = {"et_chance_areasplash", 595, 5, 0, 5 },
entry8 = {"et_missile_adapt", 300, 10, 0, 9 },
entry9 = {"et_spelldamage_fire", 400, 200,0, 133 },
entry10 = {"et_missile_adapt", 300, 10, 0, 9 },
entry11 = {"et_target_seeker", 1000, 0, 0, 133 },
fightDistance = 525.000000,
aspect = "EA_HE_INFERNO",
cooldown = 0.000000,
soundProfile = 0,
cost_level = 125,
cost_base = 250,
focus_skill_name = "skill__enemy_focus",
lore_skill_name = "skill__enemy_lore",
spellClass = "cSpellHeFdFeuerball",
spellc,
sorting_rank = 0,
})
——————————
同樣,你甚至可以給火球加上其他傷害或者屬性,只要entry后面的數組第三位為0就可以啦
比如entry# = {"et_spelldamage_magic", 630, 315, 0, 133 } //魔法傷害