Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
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 |
class DruidAmmoRegen extends AbilityAmmoRegen abstract; static simulated function int Cost(RPGPlayerDataObject Data, int CurrentLevel) { local bool ok; local int x; for (x = 0; x < Data.Abilities.length; x++) if (Data.Abilities[x] == class'ClassWeaponsMaster' || Data.Abilities[x] == class'ClassAdrenalineMaster') ok = true; if(!ok) { if(CurrentLevel > 0) log("Warning:"@data.Name@"has"@default.class@"Level"@CurrentLevel@"but does not have an associated Class to allow them to purchase it"); return 0; } return Super.Cost(Data, CurrentLevel); } defaultproperties { Description="Adds 1 ammo per level to each ammo type you own every 3 seconds. Does not give ammo to superweapons or the translocator. You must have a Max Ammo stat of at least 50 to purchase this ability. (Max Level: 4)|You must be a Weapons Master or Adrenaline Master to purchase this skill." } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |