## XIIIMP
Class XIIIMPGrenadArena

source: C:\XIII\XIIIMP\Classes\XIIIMPGrenadArena.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Info
             |
             +--Engine.Mutator
                |
                +--XIIIMP.XIIIMPMutator
                   |
                   +--XIIIMP.XIIIMPSniperArena
                      |
                      +--XIIIMP.XIIIMPGrenadArena

Direct Known Subclasses:None

class XIIIMPGrenadArena
extends XIIIMP.XIIIMPSniperArena

    //-----------------------------------------------------------
    //
    //-----------------------------------------------------------

Function Summary
`bool` | `CheckReplacement(Actor Other, out byte)`
    //_____________________________________________________________________________

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class XIIIMPGrenadArena extends XIIIMPSniperArena;
    00005
    00006	//_____________________________________________________________________________
    00007	function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
    00008	{
    00009	    if ( DBMutator ) Log("MUTATOR CheckReplacement for"@Other);
    00010
    00011	    if( ( XIIIWeaponPickup(Other) != none ) && (Other.Class != DefaultAmmoPickupClass) )
    00012	      ReplaceWith(Other, DefaultAmmoPickupName);
    00013	    else if( (XIIIAmmoPick(Other) != none) )
    00014	      ReplaceWith(Other, DefaultAmmoPickupName);
    00015
    00016	    return true;
    00017	}
    00018
    00019
    00020
    00021	defaultproperties
    00022	{
    00023	     defaultAmmoPickupName="XIII.GrenadPick"
    00024	     DefaultWeaponName="XIIIMP.BerettaMulti"
    00025	}

End Source Code