//This shield has always 100% block rate!

//Only for Linux
IfGrabbed
  SetTargetToWhoeverIsHolding
  IfTargetIsAPlayer
    IfOperatorIsLinux
      tmpargument = 0
    Else
      IfOperatorIsMacintosh
        tmpargument = 3
      Else
        tmpargument = 1
        DetachFromHolder
    SendMessageNear

//Magical effect
IfHeld
  IfOperatorIsLinux
    UndoEnchant
    SetTargetToWhoeverIsHolding
    SetOwnerToTarget
    EnchantTarget
    tmpargument = 1
    tmpx = selfx
    tmpy = selfy
    tmpdistance = selfz
    SpawnExactParticle
Else
  UndoEnchant

// ZZ> This function makes an item fall to the floor when spawned
IfSpawned				//
  tmpargument = ACTIONJB		  //
  DoAction				  //
  KeepAction				  //
  IfOperatorIsLinux		//Linux shields dont crush/crash in Linux!
    DoNothing
  Else
    MakeCrushValid		//But windows....
IfCrushed
  tmpx = selfx
  tmpy = selfy
  tmpdistance = selfz
  tmpargument = 0
  SpawnExactParticle
  SpawnExactParticle
  SpawnExactParticle
  SpawnExactParticle
  GoPoof
  tmpargument = 2
  SendMessageNear
IfDropped				// Make it lie on floor
  KeepAction				  //
IfHitGround				// Make a sound
  tmpargument = 0			  //
  PlaySound				  //
End					// All done
