114 lines
3.4 KiB
C#
114 lines
3.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200007F RID: 127
|
|
[Token(Token = "0x200007F")]
|
|
public class AI_GhostD_Red : AI_GhostD
|
|
{
|
|
// Token: 0x0600053A RID: 1338 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600053A")]
|
|
[Address(RVA = "0x181E320", Offset = "0x181D320", VA = "0x18181E320", Slot = "38")]
|
|
protected override void Move()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600053B RID: 1339 RVA: 0x0000C7D8 File Offset: 0x0000A9D8
|
|
[Token(Token = "0x600053B")]
|
|
[Address(RVA = "0x181E0F0", Offset = "0x181D0F0", VA = "0x18181E0F0", Slot = "40")]
|
|
protected override void InitFightingType(AI_GhostD.AIFighting Type)
|
|
{
|
|
this.g_Move.SetDragMove(6f);
|
|
WizardGirlManage g_WM = this.g_WM;
|
|
this.g_Fightting = Type;
|
|
if (!g_WM.GetIsDead() && Game.sceneManager.stageState != SceneManager.GameState.Script)
|
|
{
|
|
AI_GhostD.AIFighting g_Fightting = this.g_Fightting;
|
|
if (g_Fightting == AI_GhostD.AIFighting.WatchFirst)
|
|
{
|
|
this.g_fWaitTime = 0f;
|
|
this.g_fTrackTime = 30f;
|
|
return;
|
|
}
|
|
if (g_Fightting != AI_GhostD.AIFighting.WatchFirst)
|
|
{
|
|
if (g_Fightting != AI_GhostD.AIFighting.WatchFirst)
|
|
{
|
|
if (g_Fightting == AI_GhostD.AIFighting.Watch)
|
|
{
|
|
GhostDEffectPlay g_Effect = this.g_Effect;
|
|
this.g_fWaitTime = 1.8f;
|
|
g_Effect.StopAllEffect();
|
|
Animator g_Anim = this.g_Anim;
|
|
int num = 0;
|
|
int num2 = 0;
|
|
g_Anim.CrossFade("GhosDDash", 0.03f, num2, (float)num);
|
|
this.g_fDashReadyTime = 1.26f;
|
|
}
|
|
return;
|
|
}
|
|
GhostDEffectPlay g_Effect2 = this.g_Effect;
|
|
this.g_fWaitTime = 0.9f;
|
|
this.g_fAttackTips = 0f;
|
|
g_Effect2.PlayEffectCharge();
|
|
return;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.g_Fightting = (AI_GhostD.AIFighting)((ulong)1L);
|
|
}
|
|
float num3 = UnityEngine.Random.Range(2.7f, 3.6f);
|
|
this.g_fWaitTime = num3;
|
|
this.g_fTrackTime = 15f;
|
|
}
|
|
|
|
// Token: 0x0600053C RID: 1340 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600053C")]
|
|
[Address(RVA = "0x181D7D0", Offset = "0x181C7D0", VA = "0x18181D7D0", Slot = "41")]
|
|
protected override void FightShot()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600053D RID: 1341 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600053D")]
|
|
[Address(RVA = "0x181D940", Offset = "0x181C940", VA = "0x18181D940", Slot = "33")]
|
|
public override void Hit(AttackData Data)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600053E RID: 1342 RVA: 0x0000C8F8 File Offset: 0x0000AAF8
|
|
[Token(Token = "0x600053E")]
|
|
[Address(RVA = "0x181D7C0", Offset = "0x181C7C0", VA = "0x18181D7C0")]
|
|
public AI_GhostD_Red()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000619 RID: 1561
|
|
[FieldOffset(Offset = "0x1F0")]
|
|
[Token(Token = "0x4000619")]
|
|
private float g_fDashReadyTime;
|
|
|
|
// Token: 0x0400061A RID: 1562
|
|
[Token(Token = "0x400061A")]
|
|
private const float g_fDashMoveSpeed = 120f;
|
|
|
|
// Token: 0x0400061B RID: 1563
|
|
[FieldOffset(Offset = "0x1F4")]
|
|
[Token(Token = "0x400061B")]
|
|
private float g_fDashMoveSpeedVal;
|
|
|
|
// Token: 0x0400061C RID: 1564
|
|
[FieldOffset(Offset = "0x1F8")]
|
|
[Token(Token = "0x400061C")]
|
|
private Vector3 g_v3DashDirection;
|
|
|
|
// Token: 0x0400061D RID: 1565
|
|
[FieldOffset(Offset = "0x204")]
|
|
[Token(Token = "0x400061D")]
|
|
private bool g_bDashAttack;
|
|
}
|