Damage calculation / API
#9
Rev 1087 has the first version of the refactoring. I think it should work, but I'm unable to test neither armor nor PvP. I need people to test this. Best would be if someone added an OnTakeDamage hook to the Debuggers plugin that would log the amount of damages that the server sends in TakeDamageInfo, so that people can verify correct values are being given.
Also, armor is currently not depleted by absorbing hits. And of course, we don't have enchantments yet (but the code is ready for them Wink

Debuggers plugin logs the dealt damage, as of rev 1089. So now I need testers. Here's the referential mc-wiki page: http://www.minecraftwiki.net/wiki/Damage#Dealing_damage
Reply
Thanks given by:


Messages In This Thread
Damage calculation / API - by xoft - 11-16-2012, 08:01 PM
RE: Damage calculation / API - by FakeTruth - 11-16-2012, 08:38 PM
RE: Damage calculation / API - by xoft - 11-16-2012, 08:45 PM
RE: Damage calculation / API - by FakeTruth - 11-16-2012, 10:53 PM
RE: Damage calculation / API - by xoft - 11-17-2012, 12:32 AM
RE: Damage calculation / API - by xoft - 12-18-2012, 09:54 PM
RE: Damage calculation / API - by Luksor - 12-19-2012, 04:09 AM
RE: Damage calculation / API - by keyboard - 12-19-2012, 02:39 PM
RE: Damage calculation / API - by xoft - 12-21-2012, 09:08 PM
RE: Damage calculation / API - by NiLSPACE - 12-21-2012, 10:36 PM
RE: Damage calculation / API - by xoft - 12-22-2012, 06:00 PM
RE: Damage calculation / API - by NiLSPACE - 12-29-2012, 10:14 PM



Users browsing this thread: 4 Guest(s)