Prevent unequip when changing support jobs?
Posted: Wed Jul 10, 2013 1:41 pm
What src file handles support job changes? I want to prevent streaking upon changing support jobs lol
Go to LandSandBoat
http://forums.dspt.info:80/
Code: Select all
if ((mjob > 0x00) && (mjob < MAX_JOBTYPE))
{
PChar->resetPetZoningInfo();
PChar->SetMJob(mjob);
PChar->SetMLevel(PChar->jobs.job[PChar->GetMJob()]);
PChar->SetSLevel(PChar->jobs.job[PChar->GetSJob()]);
charutils::RemoveAllEquipment(PChar);
}
yeah, that's exactly what i did (i have to do a bunch of BLU stuff in there anyways, seeing it reminded me of your post).aizenmyou wrote:Wow, that was an easy fix. Tested no issues.
Moved "charutils::RemoveAllEquipment(PChar);" into the if() statement for the mjob change.
Code: Select all
if ((mjob > 0x00) && (mjob < MAX_JOBTYPE)) { PChar->resetPetZoningInfo(); PChar->SetMJob(mjob); PChar->SetMLevel(PChar->jobs.job[PChar->GetMJob()]); PChar->SetSLevel(PChar->jobs.job[PChar->GetSJob()]); charutils::RemoveAllEquipment(PChar); }