when i do "sp Caprice <target name>"
always saying "Skill Caprice cannot be used because your character has no such skill."
homunculus,mercanary skills check bug
Moderators: Moderators, Developers
-
- Human
- Posts: 24
- Joined: 01 Sep 2008, 02:11
- Noob?: Yes
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: homunculus,mercanary skills check bug
That's because Task::UseSkill assumes that every skill is a $char's skill.
-
- Human
- Posts: 24
- Joined: 01 Sep 2008, 02:11
- Noob?: Yes
Re: homunculus,mercanary skills check bug
i hope it will check if the homunculus or mercenary has that skill also so that the skill of the homun/merce will be used also.
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: homunculus,mercanary skills check bug
Fixed in r7491.
-
- Human
- Posts: 24
- Joined: 01 Sep 2008, 02:11
- Noob?: Yes
Re: homunculus,mercanary skills check bug
tried it using a macro
still the same problem 
Code: Select all
automacro Creator 6 {
overrideAI 1
# exclusive 1
class Creator
console /You are casting Acid Bomb on Player .* \((\d+)\)/i
equipped leftAccessory Upgrade Clip [Zerom] [1], leftAccessory Neo Skull Ring, leftAccessory Vesper Core 02, , rightHand Combat Knife
call {
$name = @nick ($.lastMatch1)
do sp 8013 $name 5
do eq leftAccessory Glove [Phen] [1]
do eq rightHand Bazerald
}
}

-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: homunculus,mercanary skills check bug
Actual problem is:
After start/respawn there is Caprice in $char->{skills}, at some point it disappears because the server sends additional skills_list with character skills which erases homunculus skills from $char.
Also skills_update needs fixing because it always assumes Skill::OWNER_CHAR.
After start/respawn there is Caprice in $char->{skills}, at some point it disappears because the server sends additional skills_list with character skills which erases homunculus skills from $char.
Also skills_update needs fixing because it always assumes Skill::OWNER_CHAR.
-
- Human
- Posts: 24
- Joined: 01 Sep 2008, 02:11
- Noob?: Yes
Re: homunculus,mercanary skills check bug
fixed @ r7492 thanks harvest!