Disease HasDisease
From Dragon Age Toolset Wiki
Revision as of 19:14, 16 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = Disease_HasDisease |brief = Returns whether or not a character has a Disease |param1type = object |param1name = oCharacter |param1desc = the Creature to che...')
Returns whether or not a character has a Disease
- Parameters:
- oCharacter
- the Creature to check
- nDiseaseID
- the Disease to check for. If -1, it will return TRUE if ANY disease is present.
- Returns:
- TRUE if the Creature has the Disease; otherwise FALSE
- Source:
- Core Resources.sys_disease
Description
Checks if a Character currently has a certain Disease Effect applied to him.
Disease Effects are defined in the Disease 2DA (diseases.xls)