I rarely play dead gargoyles.
Looks like it has always been true that dead gargoyles do not honor the #charghost value in EUO. Someone posted that it can be true that #hits = 0, but you are alive. I imagine that is true either for only a moment as you are near death.
#HITS is only updated when the status bar is open for the character. However, #CHARTYPE is updated regardless of the the status bar gump being open - which gives an option for other situations when #CHARGHOST has been depended upon. Here is an alternative to the #HITS test using #CHARTYPE that would need to be updated if another race is ever added to UO:
repeat
if _ , #chartype , _ in _KS_JS_ZU_KV_HDB_IDB_ ; if #charghost = yes
{
set *XIIxResBotDead #TRUE
msg OooOooO$
wait 2s
}
else
set *XIIxResBotDead #FALSE
while #ContSize = 400_350
{
Click 170 240 f
Wait 3s ; was 2
if _ , #chartype , _ notin _KS_JS_ZU_KV_HDB_IDB_ ; if #charghost = no
set *XIIxResBotDead #FALSE
}
until #FALSE
Looking at the EUO Pascal code, there are 4 tests that can set #charghost to YES. My guess is that these 4 conditions are the Human/Elf and Male/Female conditions.
Anyway this is another option to determine ghost or not.
Gaderian