Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define ARMORCOUNT 4
- int DakkaKnownArmors[ARMORCOUNT][1] =
- {
- {"ArmorBonus"},
- {"GreenArmor"},
- {"BlueArmor"},
- {"RawEnergyDeposit"},
- };
- #define ARM_VALUECOUNT 5
- #define ARM_COMPAREMODE 0
- #define ARM_TYPE 1
- #define ARM_PICKUPPOINTS 2
- #define ARM_MAXPOINTS 3
- #define ARM_PROTECTION 4
- // SET means "set the armor to the pickup value if it would amount of health protected"
- // ADD means "add armor up to the max value"
- // OLDSET means "set the armor the the pickup value if armor points would rise OR if protection would rise"
- // REPLACE means "set armor to this type"
- // SAME means "keep current armor type if available"
- #define AMODE_HEALTH 0
- #define AMODE_ARMOR 1
- #define ATYPE_REPLACE 0
- #define ATYPE_BONUS 1
- int DakkaArmorValues[ARMORCOUNT][ARM_VALUECOUNT] =
- {
- {AMODE_HEALTH, ATYPE_BONUS, 1, 200, 0.33335},
- {AMODE_HEALTH, ATYPE_REPLACE, 100, 100, 0.33335},
- {AMODE_HEALTH, ATYPE_REPLACE, 200, 200, 0.5},
- {AMODE_HEALTH, ATYPE_REPLACE, 150, 150, 1.0},
- };
Advertisement
Add Comment
Please, Sign In to add comment