http://upantcho.com/summon.patch
i tried to put similar to homunculus/mercenarys but there are some major differences between then so is not exactly the same
i know somethings can be better polished like:
Code: Select all
} elsif (UNIVERSAL::isa($actor, "Actor::Slave")) {
$slavesList->add($actor);
+ if (defined $char->{summon} && ($char->{summon}{ID} == $args->{ID}) && !defined $char->{summon}{name}) {#set global name of summon
+ $char->{summon}{name} = $jobs_lut{$args->{type}};
+ }
}
anyway, here is an example of config using this patch:
Code: Select all
useSelf_skill El Control {
lvl 2
summon 1
summon_sp > 200
summon_type Ventus 3
whenNotGround Unknown 239 #this is like a pneuma, my tables must be outdated
whenStatusInactive El ControlDelay
monsters Penomena
}
useSelf_skill El Cure {
summon 1
summon_hp < 40%
hp > 80%
timeout 1
}
summon_sp and summon_hp are same as always
summon_type = one of the types at globals.pm (i used agni, aqua, ventus and tera 1/2/3 but im not sure if these names are correct)
the command "sll" now list summons as slaves and the new command "summon" was added to show the summon's status
PS: i had to redo somethings (dont know why the first patchs were crashing openkore). this looks ok on a updated svn