Check for 'incorporeal' as part of the sprint/mount available
This commit is contained in:
parent
0ac2757a57
commit
09d50b1305
@ -235,8 +235,6 @@ internal sealed unsafe class GameFunctions
|
|||||||
|
|
||||||
public bool TeleportAetheryte(uint aetheryteId)
|
public bool TeleportAetheryte(uint aetheryteId)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
if (IsAetheryteUnlocked(aetheryteId, out var subIndex))
|
if (IsAetheryteUnlocked(aetheryteId, out var subIndex))
|
||||||
{
|
{
|
||||||
if (aetheryteId == PlayerState.Instance()->HomeAetheryteId &&
|
if (aetheryteId == PlayerState.Instance()->HomeAetheryteId &&
|
||||||
@ -518,7 +516,10 @@ internal sealed unsafe class GameFunctions
|
|||||||
{
|
{
|
||||||
var battleChara = (BattleChara*)gameObject;
|
var battleChara = (BattleChara*)gameObject;
|
||||||
StatusManager* statusManager = battleChara->GetStatusManager;
|
StatusManager* statusManager = battleChara->GetStatusManager;
|
||||||
return statusManager->HasStatus(565) || statusManager->HasStatus(404) || statusManager->HasStatus(2730);
|
return statusManager->HasStatus(565) ||
|
||||||
|
statusManager->HasStatus(404) ||
|
||||||
|
statusManager->HasStatus(2729) ||
|
||||||
|
statusManager->HasStatus(2730);
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user