123456789101112131415161718192021222324252627282930313233343536 |
-
- using CommonLang;
- using XmdsCommonServer.Plugin;
- using XmdsCommonServer.Plugin.XmdsSkillTemplate.DamageCalculator;
- namespace XmdsCommonSkill.Plugin.FunctionEvent
- {
-
-
-
- public class XmdsBattleFunctionEvent_10005 : XmdsBattleFunctionEventBase
- {
- public static int EventID = 10005;
- private readonly int BuffValue_1 = 5000;
-
- public override int GetEventID()
- {
- return EventID;
- }
- protected override void OnTriggerEvent(XmdsVirtual target, XmdsVirtual sender)
- {
-
- float p = (BuffValue_1 / XmdsDamageCalculator.PERER);
- int v = CUtils.CastInt(p * target.MirrorProp.MaxHP);
- target.AddHP(v);
-
-
-
-
- }
- }
- }
|