Przeglądaj źródła

【BUG】MMO-20491: 修正配置读取错误

meijun 3 lat temu
rodzic
commit
8a70c411e5

+ 1 - 1
XmdsVSPlugins/XmdsCommonSkill/Plugin/PassiveSkills/PetGive/PetGive_910003.cs

@@ -65,7 +65,7 @@ namespace XmdsCommonSkill.Plugin.PassiveSkills.PetGive
 			if(source.FromSkillType == XmdsSkillType.active && hitter.mUnit.IsMonster && CommonLang.CUtils.localTimeMS >  this.BuffNextTriggerTime)
 			{
 				var buff = attacker.GetRegisBuffVirtual(Buff_ID_1) as XmdsBuff_Brand;
-				int damageBase = CUtils.CastInt(attacker.MirrorProp.GetFinalAttack(hitter.mUnit.IsMonster) * XmdsUnitProp.PER * valueSet2.GetValue(skill.SkillLevel));
+				int damageBase = CUtils.CastInt(attacker.MirrorProp.GetFinalAttack(hitter.mUnit.IsMonster) * XmdsUnitProp.PER * valueSet.GetValue(skill.SkillLevel));
 				buff.BuffValue = XmdsDamageCalculator.GetDamage(damageBase, attacker, hitter, source);
 
 				hitter.mUnit.AddBuff(Buff_ID_1, attacker.mUnit);