44 {
45 Fence fence = Fence.Cast( action_data.m_Target.GetObject() );
46 if ( fence )
47 {
49 if ( combination_lock )
50 {
51 combination_lock.AddHealth(
"",
"",-(combination_lock.GetMaxHealth(
"",
"")/
CYCLES));
52
53 if ( combination_lock.IsDamageDestroyed() )
54 {
55 combination_lock.UnlockServer( action_data.m_Player, fence );
57 }
58 }
59 }
60
61 action_data.m_MainItem.DecreaseHealth( UADamageApplied.SAW_LOCK, false );
62 }