Diseases Modifiers - Part 4
-
Create an AbstractModifier entity in the Game module: - id
- trigger: event_name
- triggerDetail: mostly for actions the action name
- delta: cost modified by delta
- target: ActionPoint|MoralPoint|HeathPoint|MovementPoint
-
Create a DiseaseModifier that extends AbstractModifier -
DeaseaseConfig -
Add field to diseaseConfig -
Update fixtures: -
Acid Reflux - lose 2 action point by consume action -
Black Bite : lose 2 AP by consume action -
Black Bite : lose 4 HP if receiving a spore -
Cat Allergy : -6 HP by cat pickup action -
Cold : Every cycle, a 20% chance, -1 AP -
Extreme Tinnitus : -2 Morale Points max -
Extreme Tinnitus : Every cycle, a 16% chance, -1 AP -
Flu : -2 HP max -
Flu : -2 Morale Points max -
Flu : every cycle, a 20% chance, -1 AP -
Flu : every cycle, a 10% chance, -1 HP -
Food poisoning : -1 Max HP -
Fungic infection : -2 Max HP -
Fungic infection : -2 Max Morale Points -
Gastroenteritis : lose 1 MP per cycle -
Gastroenteritis : lose 1 action point by consume action -
Gastroenteritis : Every cycle, a 16% chance, -1 hp -
Gastroenteritis : -1 Max HP -
Migraine : Every cycle, a 20% chance, -1 AP -
Mush allergy : -4 HP while receiving a spore -
Quinck's Oedema : -4 HP Max -
Quinck's Oedema : +1 MP for all actions -
Rejuvenation : Every cycle, a 20% chance, -1 AP -
Rejuvenation : Increase chances of falling ill (but spontaneous diseases not implemented?) -
Rubella : -1 Morale Points max -
Rubella : -1 HP max -
Rubella : Every cycle, a 50% chance, -1 MP -
Sepsis : Every cycle, -4 HP -
Sinus Storm : Every cycle, a 30% chance, -1 AP -
Slight Nausea : Satiety doesn't decrease at cycle change (how to implement?) -
Smallpox : -2HP max -
Smallpox : -2 Morale Points max -
Smallpox : Every cycle, a 40% chance, -2AP -
Smallpox : Every cycle, a 50% chance, -1HP -
Space Rabies : Every cycle, -2HP -
Syphilis : -2 Morale Points max -
Syphilis : Every cycle, a 40% chance, -2AP -
Syphilis : Accuracy -10% (shoot on players and hunters) -
Tapeworm : lose 1 satiety per cycle -
Vitamin Deficiency : Every cycle, a 10% chance, -1AP
-
-
Add a listener for actions -
Consume -
Move -
Take
-
Edited by Evian