コード例 #1
0
 // Token: 0x06003327 RID: 13095 RVA: 0x000D333C File Offset: 0x000D153C
 public void OnCollectMaxHealthContainerPickup(MaxHealthContainerPickup maxHealthContainerPickup)
 {
     maxHealthContainerPickup.Collected();
     Randomizer.getPickup(maxHealthContainerPickup.Bounds.center);
     if (GameWorld.Instance.CurrentArea != null)
     {
         GameWorld.Instance.CurrentArea.DirtyCompletionAmount();
     }
 }
コード例 #2
0
    // Token: 0x06003327 RID: 13095 RVA: 0x000D333C File Offset: 0x000D153C
    public void OnCollectMaxHealthContainerPickup(MaxHealthContainerPickup maxHealthContainerPickup)
    {
        int repeatable = Randomizer.RepeatableCheck(maxHealthContainerPickup.Bounds.center);

        if (repeatable != 1)
        {
            Randomizer.getPickup(maxHealthContainerPickup.Bounds.center);
        }
        if (repeatable > 0)
        {
            return;
        }
        maxHealthContainerPickup.Collected();
        if (GameWorld.Instance.CurrentArea != null)
        {
            GameWorld.Instance.CurrentArea.DirtyCompletionAmount();
        }
    }