118 lines
3.5 KiB
C#
118 lines
3.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200007E RID: 126
|
|
[Token(Token = "0x200007E")]
|
|
public class AI_GhostD_Red : AI_GhostD
|
|
{
|
|
// Token: 0x06000536 RID: 1334 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000536")]
|
|
[Address(RVA = "0x16AC280", Offset = "0x16AB080", VA = "0x1816AC280", Slot = "38")]
|
|
protected override void Move()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000537 RID: 1335 RVA: 0x0000CB1C File Offset: 0x0000AD1C
|
|
[Token(Token = "0x6000537")]
|
|
[Address(RVA = "0x16AC050", Offset = "0x16AAE50", VA = "0x1816AC050", 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: 0x06000538 RID: 1336 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000538")]
|
|
[Address(RVA = "0x16AB790", Offset = "0x16AA590", VA = "0x1816AB790", Slot = "41")]
|
|
protected override void FightShot()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000539 RID: 1337 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000539")]
|
|
[Address(RVA = "0x16AB900", Offset = "0x16AA700", VA = "0x1816AB900", Slot = "33")]
|
|
public override void Hit(AttackData Data)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600053A RID: 1338 RVA: 0x0000CC3C File Offset: 0x0000AE3C
|
|
[Token(Token = "0x600053A")]
|
|
[Address(RVA = "0x16AAE20", Offset = "0x16A9C20", VA = "0x1816AAE20")]
|
|
public AI_GhostD_Red()
|
|
{
|
|
this.g_fAttackRadius = 5f;
|
|
this.g_fMoveVal = 1f;
|
|
this.g_Fightting = (AI_GhostD.AIFighting)((ulong)1L);
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x040005F6 RID: 1526
|
|
[FieldOffset(Offset = "0x1E0")]
|
|
[Token(Token = "0x40005F6")]
|
|
private float g_fDashReadyTime;
|
|
|
|
// Token: 0x040005F7 RID: 1527
|
|
[Token(Token = "0x40005F7")]
|
|
private const float g_fDashMoveSpeed = 120f;
|
|
|
|
// Token: 0x040005F8 RID: 1528
|
|
[FieldOffset(Offset = "0x1E4")]
|
|
[Token(Token = "0x40005F8")]
|
|
private float g_fDashMoveSpeedVal;
|
|
|
|
// Token: 0x040005F9 RID: 1529
|
|
[FieldOffset(Offset = "0x1E8")]
|
|
[Token(Token = "0x40005F9")]
|
|
private Vector3 g_v3DashDirection;
|
|
|
|
// Token: 0x040005FA RID: 1530
|
|
[FieldOffset(Offset = "0x1F4")]
|
|
[Token(Token = "0x40005FA")]
|
|
private bool g_bDashAttack;
|
|
}
|