Attribute information
crit vs burning players
You can use a value different than 1, In this case, it will make the weapon deal critical damage on a different condition than if the player is burning. You can add the values together if you want to crit on multiple conditions
Condition | Value |
---|---|
TF_COND_BURNING | 1 |
TF_COND_AIMING | 2 |
TF_COND_ZOOMED | 4 |
TF_COND_DISGUISING | 8 |
TF_COND_DISGUISED | 16 |
TF_COND_STEALTHED | 32 |
TF_COND_INVULNERABLE | 64 |
TF_COND_TELEPORTED | 128 |
TF_COND_TAUNTING | 256 |
TF_COND_INVULNERABLE_WEARINGOFF | 512 |
TF_COND_STEALTHED_BLINK | 1024 |
TF_COND_SELECTED_TO_TELEPORT | 2048 |
TF_COND_CRITBOOSTED | 4096 |
TF_COND_TMPDAMAGEBONUS | 8192 |
TF_COND_FEIGN_DEATH | 16384 |
TF_COND_PHASE | 32768 |
TF_COND_STUNNED | 65536 |
TF_COND_HEALTH_BUFF | 131072 |
TF_COND_HEALTH_OVERHEALED | 262144 |
TF_COND_URINE | 524288 |
TF_COND_ENERGY_BUFF | 1048576 |