protected override void Load(Dsl.CallData callData, SkillInstance instance) { instance.AddImpactForInit(this); int num = callData.GetParamNum(); if (num >= 5) { StartTime = long.Parse(callData.GetParamId(0)); m_RelativeCenter.x = float.Parse(callData.GetParamId(1)); m_RelativeCenter.y = float.Parse(callData.GetParamId(2)); m_RelativeCenter.z = float.Parse(callData.GetParamId(3)); m_RelativeToTarget = callData.GetParamId(4) == "true"; } }
protected override void Load(Dsl.CallData callData, SkillInstance instance) { instance.AddImpactForInit(this); int num = callData.GetParamNum(); if (num >= 5) { StartTime = long.Parse(callData.GetParamId(0)); m_RelativeCenter.x = float.Parse(callData.GetParamId(1)); m_RelativeCenter.y = float.Parse(callData.GetParamId(2)); m_RelativeCenter.z = float.Parse(callData.GetParamId(3)); m_DurationTime.Set(callData.GetParam(4)); } if (num >= 6) { m_FinishOnCollide = callData.GetParamId(5) == "true"; } if (num >= 7) { m_SingleHit = callData.GetParamId(6) == "true"; } }