SpatialFear.SFDamageProtection

Spatial Fear
Class: SFDamageProtection
Description: Subclass of SFPickup, implements an intellegent damage protection
item. Subclasses of SFDamageProtection should do the model and
sound loading/importing.

Created by: Markus Nuebel

Extends:
Modifiers:
Source code

SpatialFear.SFDamageProtection
%%

Variables

%function_comment%
intHealingAmount
%function_comment%
intMaxHealing
%function_comment%
floatm_fBallisticProtection
%function_comment%
floatm_fChemicalProtection
%function_comment%
floatm_fFireProtection
%function_comment%
floatm_fMaxProtection
%function_comment%
floatm_fRadioactiveProtection

Functions

Activate ()
floatcalcDamage (float fDamage, string damageType)
intgetRefillAmount ()
boolneedRefill ()
intrefill (int nAmout)
boolupgrade (float fProtection, string DamageType)

Default properties

{
     HealingAmount=20
     MaxHealing=20
     m_fFireProtection=0.200000
     m_fChemicalProtection=0.200000
     m_fBallisticProtection=0.200000
     m_fRadioactiveProtection=0.200000
     m_fMaxProtection=0.750000
}


class file time: 12/7/2003 3:58:24 PM - creation time: 12/7/2003 4:03:39 PM
Created with UnCodeX