MrLoick / team-eso

Automatically exported from code.google.com/p/team-eso
0 stars 0 forks source link

MaxRegen/MinDegen will set health, not stop regen/degen #93

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
EpicZones 0.24
Applicable portion of zone config:
regen:
  amount: 1
  bedbonus: 0
  delay: 0
  interval: 60000
  maxregen: 16
  mindegen: 4
  restdelay: 0

If a player's health is above MaxRegen, EZ will reset the player's health to 
MaxRegen at the next tick.

Example:
1. player takes damage and health is below MaxRegen
2. Over time, EZ heals player up to MaxRegen
3. Player eats food and is now a full health (20)
4. At the next tick, EZ will damage the player down to MaxRegen

Logic should be:
4. Player is above MaxRegen, do not regen
Logic seems to be:
4. Player is above MaxRegen, set health to MaxRegen

MinDegen seems to work the same way. Instead of only damaging to a certain 
point and then 'turning off' the degen, it will set the player's health to 
MinDegen if the health is below MinDegen.

As a test, I set MinDegen to 4 and Amount=-1. I then damaged myself down to 2 
(1 heart). At the next tick, EZ set my health to 4. It should have left my 
health at 2, since it was below MinDegen.

If you need any other settings or want me to test anything else, let me know!

Original issue reported on code.google.com by jsla...@gmail.com on 16 May 2011 at 3:59

GoogleCodeExporter commented 8 years ago
Thank you for the issue ticket, This will be fixed in the next release.

Original comment by jbla...@gmail.com on 16 May 2011 at 6:39

GoogleCodeExporter commented 8 years ago

Original comment by jbla...@gmail.com on 18 May 2011 at 3:49