-
Notifications
You must be signed in to change notification settings - Fork 31
Immunity
Sklore edited this page Nov 10, 2016
·
5 revisions
To make a player immune to a specific damage type.
Add an eval script with the following code:
- perform hero.assign[DamageImm.]
For a list of Damage type names, open the editor and go to:
General > Damage Types > New (Copy)
Here's a list of code examples for the common damage types:
- perform hero.assign[DamageImm.dtAcid]
- perform hero.assign[DamageImm.dtBludgeon]
- perform hero.assign[DamageImm.dtCold]
- perform hero.assign[DamageImm.dtDisease]
- perform hero.assign[DamageImm.dtFire]
- perform hero.assign[DamageImm.dtForce]
- perform hero.assign[DamageImm.dtLightnin]
- perform hero.assign[DamageImm.dtNecrotic]
- perform hero.assign[DamageImm.dtNonMgic]
- perform hero.assign[DamageImm.dtPiercing]
- perform hero.assign[DamageImm.dtPoison]
- perform hero.assign[DamageImm.dtPsychic]
- perform hero.assign[DamageImm.dtRadiant]
- perform hero.assign[DamageImm.dtRangeWep]
- perform hero.assign[DamageImm.dtSlashing]
- perform hero.assign[DamageImm.dtSpells]
- perform hero.assign[DamageImm.dtThunder]
- perform hero.assign[DamageImm.dt5CBluSla]
- perform hero.assign[DamageImm.dt5CBPSMaW]
- perform hero.assign[DamageImm.dt5CBPSAda]
- perform hero.assign[DamageImm.dt5CBPSNon]
- perform hero.assign[DamageImm.dt5CTrap]
- perform hero.assign[CondImm.pcnPoison]