Issue information

Issue ID
#8612
Status
New
Severity
None
Started
zloba
Apr 6, 2015 10:03
Last Post
Garr
Apr 6, 2015 11:12
Confirmation
N/A

zloba - Apr 6, 2015 10:03

Possibly map server send wrong homunculus dead state.

In [url="https://github.com/HerculesWS/Hercules/blob/master/src/map/clif.c#L1422"]code[/url] we had:[code=auto:0] WBUFB(buf,26)=(battle_config.hom_rename && hd->homunculus.rename_flag ? 0x1 : 0x0) | (hd->homunculus.vaporize == HOM_ST_REST ? 0x2 : 0) | (hd->homunculus.hp > 0 ? 0x4 : 0); [/code]

Possibly should be something like that:[code=auto:0] WBUFB(buf,26)=(battle_config.hom_rename && hd->homunculus.rename_flag ? 0x1 : 0x0) | (hd->homunculus.vaporize == HOM_ST_REST ? 0x2 : 0) | (hd->homunculus.hp <= 0 ? 0x4 : 0); [/code]

This post has been edited by zloba on Apr 6, 2015 10:04

Garr - Apr 6, 2015 11:12

Also, [url="http://herc.ws/board/topic/8366-homunculus-name-and-rename/"]another change in the same line[/url].