Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

JBAddonJailCard.JBWeaponJailCard


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
//=============================================================================
// JBWeaponJailCard
// Copyright 2007 by [GSF]JohnDoe <gsfjohndoe@hotmail.com>
// $Id: JBWeaponJailCard.uc,v 1.3 2007-05-19 15:06:55 johndoe Exp $
//
// The JailCard cardholders can select in the jail to be freed
//
// CHANGELOG:
// 11 feb 2007 - Class created
// 12 feb 2007 - Added myRules variable and corresponding mutator-method
// 19 may 2007 - Moved myRules variable to weaponfire class, changed
//               setGameRules into setVars, changed parameters
//=============================================================================
class JBWeaponJailCard extends BioRifle;


//=============================================================================
// setGameRules
//=============================================================================

function setVars(JBGameRulesJailCard JBGR, Pawn P) {
    JBJailCardFire(FireMode[0]).setVars(JBGR, P);
    JBJailCardFire(FireMode[1]).setVars(JBGR, P);
}



function float GetAIRating()
{
    return AIRating;
}


//=============================================================================
// defaultproperties
//=============================================================================

DefaultProperties
{
    ItemName="Get Out Of Jail Free Card";
    Description="";
    PickupClass=none;
    bCanThrow=false;
    FireModeClass(0)=JBJailCardFire;
    FireModeClass(1)=JBJailCardFire;
    Priority=0;
    InventoryGroup=10;
    AIRating=+2.00
    CurrentRating=+2.00
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: So 16.3.2008 13:48:06.000 - Creation time: Do 14.8.2014 09:58:43.287 - Created with UnCodeX