Hi,
I made a 3rd job suit using this code:
OnEquipScript: <" { changebase roclass(eaclass()|EAJL_THIRD); } ">
OnUnequipScript: <" {changebase Class;} ">
Everything works fine except for the Rune Knight with mount.
I tried to equip it to a Crusader with Peco and when I equip the suit, it changes into a Royal Guard with Gryphon, when I try to do it with a Knight mounted on Peco, it displays the mounted status but the Dragon Mount is not showing.
I also tried to change my job into an actual Rune Knight and tried to mount and the sprites works just fine.
I also tried to use the class_suits v1.2 script using an NPC. Same result.
Here is the before and after:
Again, if I used an actual RK job, it shows the mount:
EDIT:
I already tried AnnieRuru's suggestion from Hercules to patch my script.c but I still got the same result.
src/map/script.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/map/script.c b/src/map/script.c
index 54d8d33..bac464c 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -11238,6 +11238,9 @@ BUILDIN(changebase) {
return true;
}
+ if ( vclass == JOB_RUNE_KNIGHT && pc->readparam(sd,SP_CLASS) == JOB_KNIGHT && sd->sc.option & OPTION_RIDING )
+ sd->sc.option |= OPTION_DRAGON;
+
if(sd->disguise == -1 && vclass != sd->vd.class_)
pc->changelook(sd,LOOK_BASE,vclass); //Updated client view. Base, Weapon and Cloth Colors.
Anyone have ideas how to fix this? Thank you!