|
@@ -18,16 +18,8 @@ namespace ET.Server
|
|
|
reply();
|
|
|
return;
|
|
|
}
|
|
|
- // 参数判断
|
|
|
- if (request.EffectID <= 0 || request.Value <= 0 || request.Time <= 0)
|
|
|
- {
|
|
|
- Log.Debug($"参数错误...EffectID={request.EffectID}, Value={request.Value}, Time={request.Time}");
|
|
|
- response.Error = ErrorCode.ERR_ParameterError;
|
|
|
- reply();
|
|
|
- return;
|
|
|
- }
|
|
|
|
|
|
- player.GetXmdsManager().triggrBattleFunction(player.GetId().ToString().Trim(), request.EffectID, request.Value, request.Time, 0, 0, 0 ,0);
|
|
|
+ player.GetXmdsManager().triggrBattleFunction(player.GetId().ToString().Trim(), request.TriggerID, request.Value1, request.Value2, request.Value3, request.Value4, request.Value5, request.Value6);
|
|
|
|
|
|
reply();
|
|
|
|