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

cRPG_classes.AbilityLimitBreak

Extends
RPGAbility
Modifiers
config ( UT2004RPG ) abstract

Core.Object
|   
+-- UT2004RPG.RPGAbility
   |   
   +-- cRPG_classes.AbilityLimitBreak

Constants Summary
Inherited Contants from Core.Object
MaxInt, Pi, RF_NotForClient, RF_NotForEdit, RF_NotForServer, RF_Public, RF_Standalone, RF_Transactional, RF_Transient

Variables Summary
Inherited Variables from UT2004RPG.RPGAbility
AbilityName, BotChance, CostAddPerLevel, Description, MaxLevel, StartingCost
Inherited Variables from Core.Object
Class, Name, ObjectFlags, ObjectInternal[7], Outer

Enumerations Summary
Inherited Enumerations from Core.Object
EAxis, ECamOrientation, EDetailMode, EDrawPivot, ESheerAxis

Structures Summary
Inherited Structures from Core.Object
BoundingVolume, Box, Color, CompressedPosition, Coords, FloatBox, Guid, IntBox, InterpCurve, InterpCurvePoint, Matrix, Plane, Quat, Range, RangeVector, Rotator, Scale, TMultiMap, Vector

Functions Summary
functionstring abilityName ()
functionint Cost (RPGPlayerDataObject Data, int CurrentLevel)
function HandleDamage (out int Damage, Pawn Injured, Pawn Instigator, out vector Momentum, class<DamageType> DamageType, bool bOwnedByInstigator, int AbilityLevel)
function ModifyPawn (Pawn p, int abilityLvl)
Inherited Functions from UT2004RPG.RPGAbility
AbilityIsAllowed, BotBuyChance, Cost, HandleDamage, ModifyPawn, ModifyVehicle, ModifyWeapon, OverridePickupQuery, PreventDeath, PreventSever, ScoreKill, UnModifyVehicle
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, AllObjects, Asc, Asin, Atan, BeginState, Caps, Ceil, Chr, Clamp, ClassIsChildOf, ClearConfig, ClockwiseFrom, Cos, Created, Cross, Disable, Divide, Dot, DynamicLoadObject, EatStr, Enable, EndState, Eval, Exp, FClamp, FindObject, FMax, FMin, FRand, GetAxes, GetEnum, GetItemName, GetPerObjectNames, GetPropertyText, GetReferencers, GetStateName, GetUnAxes, GotoState, InStr, InterpCurveEval, InterpCurveGetInputDomain, InterpCurveGetOutputRange, Invert, IsA, IsInState, IsOnConsole, IsSoaking, Left, Len, Lerp, Localize, Locs, Log, Loge, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, OrthoRotation, PlatformIs64Bit, PlatformIsMacOS, PlatformIsUnix, PlatformIsWindows, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RandRange, Repl, ReplaceText, ResetConfig, Right, RotRand, Round, SaveConfig, SetPropertyText, Sin, Smerp, Split, Sqrt, Square, StaticClearConfig, StaticSaveConfig, StopWatch, StrCmp, Tan, VRand, VSize, Warn, ^, ^^, |, ||, ~, ~=


Functions Detail

abilityName Source code

static function string abilityName ( )
Returns a name for this ability
Should Must be unique and sub-classes must override.

Cost Source code

static simulated function int Cost ( RPGPlayerDataObject Data, int CurrentLevel )
Get the cost of purchasing LimitBreak for param CurrentLevel.
No specific class or lvl requirments implemented.

HandleDamage Source code

static function HandleDamage ( out int Damage, Pawn Injured, Pawn Instigator, out vector Momentum, class<DamageType> DamageType, bool bOwnedByInstigator, int AbilityLevel )
Award limit points on taking damage.
Ignore if self-damage.

Note
LimitBreakUtil stores and calculates a lot of the variables used in this ability.

ModifyPawn Source code

static function ModifyPawn ( Pawn p, int abilityLvl )
While isLimit give pawn the limit break for pawns abilityLvl.


Defaultproperties

defaultproperties
{

    AbilityName="Limit break"
    Description="Each map you start with 0 limit points as you play you are given limit points when | a.)You are awarded kill bonuses | b.)Are damaged by the enemy (calculated based on your current health & level)|Cost (per level): 7,14,21"
    StartingCost=7
    CostAddPerLevel=7
    MaxLevel=3

}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Sun 4/3/2007 21:34:53.714 - Created with UnCodeX