Exemple #1
0
        protected void AttackObject(SimulationEvent ev)
        {//ObjectID,TargetObjectID,CapabilityName,PercentageApplied
            String targetID = ((StringValue)ev["TargetObjectID"]).value;

            _dddConnection.SendObjectAttributeUpdateEvent(targetID, "Throttle", DataValueFactory.BuildDouble(0));
        }