Today I stayed awake until 6AM trying to solve my problem with Rest (Vaporize) Skill of my Alchemist.
I made this code block:
Code: Select all
useSelf_skill Vaporize {
lvl 1
inMap rachel
homunculus 1
timeout 1
}
But the condition "homunculus 1" didn't work (even homunculus at my side all the time), I removed the condition and Kore the call of this skill worked properly.
So I open Misc.pm to check "homunculus" block to check "WTF is happening dude". I found the following code:
Code: Select all
if ($config{$prefix."_homunculus"} =~ /\S/) {
return 0 if (!!$config{$prefix."_homunculus"}) ^ (!$char->{homunculus} && !$char->{homunculus}{state});
}
Code: Select all
if ($config{$prefix."_homunculus"} =~ /\S/) {
return 0 unless (defined($char->{homunculus}) && ($char->{homunculus}{state} == 1)) #1 means present
}

How to fix?
Best