عرض مشاركة واحدة
قديم 2020-02-04, 04:15 PM
المشاركة 37
ElSaher
.:: مشرف قسم المشاكل ::.
  • غير متواجد
افتراضي رد: مساعده في تركيب كوسته treasurebox في سورس رايزو
اتفضل يصطي اضافت الnopc

كود:
                #region TreasureThief
                
case 16970:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("I have lost all my treasure boxes inside the DisCity map when I was doing the quest! now you'll need to find them for me!");
                                    
dialog.Option("Send me there."1);
                                    
dialog.Option("Meh!"255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    if (
TreasureBox.OnGoing)
                                    {
                                        
client.Entity.Teleport(3820, (ushort)Kernel.Random.Next(87212), (ushort)Kernel.Random.Next(114200));
                                    }
                                    else
                                    {
                                        
dialog.Text("I can only send you there when it's xx:32 To xx:37 ");
                                        
dialog.Option("Oh I See!."255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion