I've seen how Mihiles are able to have their shields automatically changed using this code so I changed the values and tried to implement it to fit with DemonSlayers. However, you don't get any shields at all although you can still automatically job advance fine.
Code:
else if (GameConstants.isDemon(job)) {
switch (getLevel()) {
case 10:
Item eq_weapon3 = MapleItemInformationProvider.getInstance().getEquipById(1099001);
eq_weapon3.setPosition((byte) -10);
equip.addFromDB(eq_weapon3);
equipChanged();
changeJob((short) 3100);
break;
case 30:
changeJob((short) 3110);
removeAll(1099001);
Item eq_weapon = MapleItemInformationProvider.getInstance().getEquipById(1099002);
eq_weapon.setPosition((byte) -10);
equip.addFromDB(eq_weapon);
equipChanged();
break;
case 70:
changeJob((short) 3111);
removeAll(1099002);
Item eq_weapon1 = MapleItemInformationProvider.getInstance().getEquipById(1099003);
eq_weapon1.setPosition((byte) -10);
equip.addFromDB(eq_weapon1);
equipChanged();
break;
case 120:
changeJob((short) 3112);
removeAll(1099003);
Item eq_weapon2 = MapleItemInformationProvider.getInstance().getEquipById(1099004);
eq_weapon2.setPosition((byte) -10);
equip.addFromDB(eq_weapon2);
equipChanged();
break;
}
}
Is it possible for me to fix it such that demon slayers automatically gets their shield equipped at level 10?