Пример #1
0
 // Token: 0x060009DE RID: 2526 RVA: 0x0003CC54 File Offset: 0x0003AE54
 private void SetGhostType()
 {
     GhostTraits.Type ghostType = LevelController.instance.currentGhost.ghostInfo.ghostTraits.ghostType;
     if (ghostType == GhostTraits.Type.Phantom || ghostType == GhostTraits.Type.Banshee || ghostType == GhostTraits.Type.Mare || ghostType == GhostTraits.Type.Wraith || ghostType == GhostTraits.Type.Demon || ghostType == GhostTraits.Type.Yurei)
     {
         this.isFreezingTemperatureGhost = true;
     }
 }
Пример #2
0
 // Token: 0x0600078A RID: 1930 RVA: 0x0002C584 File Offset: 0x0002A784
 public GhostTraits.Type GetGhostType()
 {
     GhostTraits.Type result = GhostTraits.Type.none;
     if (this.ghostTypeIndex != 0)
     {
         result = this.values[this.ghostTypeIndex].type;
     }
     return(result);
 }
Пример #3
0
 // Token: 0x06000757 RID: 1879 RVA: 0x0002AD4C File Offset: 0x00028F4C
 public void SpawnAllGhostTypeEvidence(GhostTraits.Type ghostType)
 {
     if (ghostType != GhostTraits.Type.Spirit && ghostType != GhostTraits.Type.Wraith)
     {
         if (ghostType == GhostTraits.Type.Phantom)
         {
             if (PhotonNetwork.isMasterClient)
             {
                 this.SpawnGhostOrb();
             }
         }
         else if (ghostType == GhostTraits.Type.Poltergeist)
         {
             if (PhotonNetwork.isMasterClient)
             {
                 this.SpawnGhostOrb();
             }
         }
         else if (ghostType != GhostTraits.Type.Banshee)
         {
             if (ghostType == GhostTraits.Type.Jinn)
             {
                 if (PhotonNetwork.isMasterClient)
                 {
                     this.SpawnGhostOrb();
                 }
             }
             else if (ghostType == GhostTraits.Type.Mare)
             {
                 if (PhotonNetwork.isMasterClient)
                 {
                     this.SpawnGhostOrb();
                 }
             }
             else if (ghostType != GhostTraits.Type.Revenant)
             {
                 if (ghostType == GhostTraits.Type.Shade)
                 {
                     if (PhotonNetwork.isMasterClient)
                     {
                         this.SpawnGhostOrb();
                     }
                 }
                 else if (ghostType != GhostTraits.Type.Demon)
                 {
                     if (ghostType == GhostTraits.Type.Yurei)
                     {
                         if (PhotonNetwork.isMasterClient)
                         {
                             this.SpawnGhostOrb();
                         }
                     }
                 }
             }
         }
     }
     if (PhotonNetwork.isMasterClient)
     {
         this.SpawnBoneDNAEvidence();
     }
 }