# 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% |  |  | int | HealingAmount
%function_comment% |  |  | int | MaxHealing
%function_comment% |  |  | float | m_fBallisticProtection
%function_comment% |  |  | float | m_fChemicalProtection
%function_comment% |  |  | float | m_fFireProtection
%function_comment% |  |  | float | m_fMaxProtection
%function_comment% |  |  | float | m_fRadioactiveProtection

## Functions

|  |  | Activate ()
|  | float | calcDamage (float fDamage, string damageType)
|  | int | getRefillAmount ()
|  | bool | needRefill ()
|  | int | refill (int nAmout)
|  | bool | upgrade (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