Could this be modified for a ToB gate?
I remember some code that used an AA to gate everyone so if possible lets use it to get to ToB
VOID DoGate()
{
// I'm not sure if the FD skill adjustment is required
// I have seen it in one plugin's source code and haven't in another
DWORD curFDSkill = GetCharInfo()->Skill[25];
GetCharInfo()->Skill[25] = 252;
GetCharInfo()->pSpawn->Type = SPAWN_CORPSE;
GetCharInfo()->Skill[25] = curFDSkill;
}
I remember some code that used an AA to gate everyone so if possible lets use it to get to ToB
VOID DoGate()
{
// I'm not sure if the FD skill adjustment is required
// I have seen it in one plugin's source code and haven't in another
DWORD curFDSkill = GetCharInfo()->Skill[25];
GetCharInfo()->Skill[25] = 252;
GetCharInfo()->pSpawn->Type = SPAWN_CORPSE;
GetCharInfo()->Skill[25] = curFDSkill;
}