Jump to content

Problem with Dysentery and Typo in buffs.xml


kampnkarl

Recommended Posts

Hey, found a problem in buffs.xml concerning dysentery. buffDysentery01GetBetterDiarrhea, and buffDysentery01UntreatedDiarrhea both modify stat=food. However one modifies 'food' and one modifies 'Food'. I'm fairly certain these stat names are case sensitive, so one of these should not be working. 

 

Line 4785 and 4812 in buffs.xml Alpha 20 stable. 

 

            <triggered_effect trigger="onSelfBuffUpdate" action="ModifyStats" stat="Food" operation="add" value="-.5"/>

 

            <triggered_effect trigger="onSelfBuffUpdate" action="ModifyStats" stat="food" operation="add" value="-.5"/>
 

Edited by kampnkarl (see edit history)
Link to comment
Share on other sites

29 minutes ago, kampnkarl said:

Hey, found a problem in buffs.xml concerning dysentery. buffDysentery01GetBetterDiarrhea, and buffDysentery01UntreatedDiarrhea both modify stat=food. However one modifies 'food' and one modifies 'Food'. I'm fairly certain these stat names are case sensitive, so one of these should not be working. 

 

Line 4785 and 4812 in buffs.xml Alpha 20 stable. 

 

            <triggered_effect trigger="onSelfBuffUpdate" action="ModifyStats" stat="Food" operation="add" value="-.5"/>

 

            <triggered_effect trigger="onSelfBuffUpdate" action="ModifyStats" stat="food" operation="add" value="-.5"/>
 

Also it appears you can still eat past 100% and have the food counter go up. 

Link to comment
Share on other sites

  • kampnkarl changed the title to Problem with Dysentery and Typo in buffs.xml

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...