DarkstarProject / darkstar

DEPRECATED - FFXI Server Emulator - See Project Topaz
https://github.com/project-topaz/topaz
GNU General Public License v3.0
455 stars 551 forks source link

blackmagic spell bind is reducing mob HP #1213

Open lichtl opened 9 years ago

lichtl commented 9 years ago

It seems that on various mobs bind will cause an HP reduction of approx 3-7%. This also seem to not apply to all mob types or jobs (I've just even confirmed that the same mob type different mobs might be affected while others not)

Zone: Mount Zhayolm Ebony Pudding: 100% Sweeping Cluster: 95%

Zone: Batallia Downs Sabertooth Tiger: 97% / another stays at 100% Mauthe Doog: 100% / another went down to 97% Wight: 97%

maxtherabbit commented 9 years ago

I haven't yet investigated the cause, but I don't think it's exclusive to bind. I've seen it happen with other non-damage spells as well

xipies commented 9 years ago

I've logged in before to zones and seen mobs that started out with ~95-98% hp. Maybe two different hp values being sent to client and the actual hp is making it appear less than 100%.

nesstea commented 9 years ago

Happens with paraylze II as well :)

lichtl commented 9 years ago

Maybe this can bring some more light into it. It seems that the Mob HP is somewhere being recalculated after it is being claimed.

Dave : @scan ----== SystemMessage ==---- Sweeping_Cluster HP: 4045/4045 MP: 0/0 TP: 0 ACC: 288 EVA: 236 STR: 72 DEX: 75 VIT: 55 AGI: 75 MND: 66 CHR: The Sweeping Cluster is out of range. The Sweeping Cluster is out of range. Dave starts casting Bind on the Sweeping Cluster. The Sweeping Cluster is out of range. Unable to see the Sweeping Cluster. Dave : @scan ----== SystemMessage ==---- Sweeping_Cluster HP: 4045/4285 MP: 0/0 TP: 0 ACC: 288 EVA: 236 STR: 72 DEX: 75 VIT: 55 AGI: 75 MND: 66 CHR: Unable to see the Sweeping Cluster. Dave casts Bind.The Sweeping Cluster is bound.

takhlaq commented 9 years ago

https://github.com/DarkstarProject/darkstar/blob/master/src/map/lua/lua_baseentity.cpp#L264 https://github.com/DarkstarProject/darkstar/blob/master/src/map/entities/battleentity.cpp#L448

have fun