游戏之家 > 游戏库

[洛基]4属性修改方法

4属性修改方法....非常简单..

下载witcher_atr_abl.lua用记事本打开后搜索到下面这段

DefAbility({Name = "Strength1", AttrsMod = {Damage_Mult = 1.07, Defence = {Parry_Mod = 7}, PointMax = {VP_Mod = 50}, EffectResistance = {Bleeding_Mod = -7, Falter_Mod = -7}}})

DefAbility({Name = "Strength1 Upgrade1", AttrsMod = {Damage_Mult = 1.35, EffectImmunity = {Pain = 1}, EffectResistance = {Pain_Mult = 0}, Defence = {Parry_Mult = 0.7, Dodge_Mult = 0.7}}, UsageConditions = {AlcoholLevelGE = 20}, StartingConditions = {AbilityRequired = "Strength1"}})

DefAbility({Name = "Strength1 Upgrade2", AttrsMod = {Damage_Mult = 1.8}, UsageConditions = {VitalityPercentageLE = 50}})

Name = "Strength1"    即 力量第一级

AttrsMod = {Damage_Mult = 1.07, Defence = {Parry_Mod = 7}

Damage_Mult = 1.07  攻击增加 7%  注意:1.07=7%   1.2的话就是20%了

Defence = {Parry_Mod = 7},  格挡增加7%  这里单位又变了...数字是几就是%几

PointMax = {VP_Mod = 50}, 血量增加50点

EffectResistance = {Bleeding_Mod = -7, Falter_Mod = -7}   抗性增加

Bleeding_Mod = -7   是流血抗性 增加7%

Falter_Mod = -7  击倒抗性  增加7%

这里单位又变了..注意哦...抗性是负数增强,,,正数减弱..(一会做个提高难度的...适合觉得高难度太简单的玩家.....)

Name = "Strength1 Upgrade1",   即  力量第一级下面一个技能...也就是附属技能啦...

AttrsMod = {Damage_Mult = 1.35   同上..攻击增加35%

Defence = {Parry_Mult = 0.7, Dodge_Mult = 0.7  这里和前面有所不同..

Parry_Mult = 0.7  指闪躲-70% 

Dodge_Mult = 0.7 指格挡-70%

AlcoholLevelGE = 20  血量少于20%

DefAbility({Name = "Strength1 Upgrade2", AttrsMod = {Damage_Mult = 1.8}, UsageConditions = {VitalityPercentageLE = 50}})

AttrsMod = {Damage_Mult = 1.8}, 攻击增加80%

UsageConditions = {VitalityPercentageLE = 50}

UsageConditions 触发条件

VitalityPercentageLE = 50 生命少于50%

Name = "Dexterity  即 机敏(敏捷)

Name = "Endurance 即 耐力

Name = "Intelligence 即 智慧