Advertisement
XConquer

Reparar Hossu Epica Taoista Manual

Nov 9th, 2018
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.35 KB | None | 0 0
  1. en GameState o GameClient, Buscas  if (item.Plus != 0)
  2.  
  3. y Debajo o Arriba de Esta agregas:
  4.  
  5. #region Fix Manual HP Hossu
  6.                 if (PacketHandler.IsHossu(item.ID))
  7.                 {
  8.                     if (item.Plus == 1)
  9.                     {
  10.                         Entity.ItemHP += 194;
  11.                     }
  12.                     else if (item.Plus == 2)
  13.                     {
  14.                         Entity.ItemHP += 387;
  15.                     }
  16.                     else if (item.Plus == 3)
  17.                     {
  18.                         Entity.ItemHP += 581;
  19.                     }
  20.                     else if (item.Plus == 4)
  21.                     {
  22.                         Entity.ItemHP += 773;
  23.                     }
  24.                     else if (item.Plus == 5)
  25.                     {
  26.                         Entity.ItemHP += 966;
  27.                     }
  28.                     else if (item.Plus == 6)
  29.                     {
  30.                         Entity.ItemHP += 1157;
  31.                     }
  32.                     else if (item.Plus == 7)
  33.                     {
  34.                         Entity.ItemHP += 1349;
  35.                     }
  36.                     else if (item.Plus == 8)
  37.                     {
  38.                         Entity.ItemHP += 1542;
  39.                     }
  40.                     else if (item.Plus == 9)
  41.                     {
  42.                         Entity.ItemHP += 1928;
  43.                     }
  44.                     else if (item.Plus == 10)
  45.                     {
  46.                         Entity.ItemHP += 2308;
  47.                     }
  48.                     else if (item.Plus == 11)
  49.                     {
  50.                         Entity.ItemHP += 2840;
  51.                     }
  52.                     else if (item.Plus == 12)
  53.                     {
  54.                         Entity.ItemHP += 3522;
  55.                     }
  56.                 }
  57.                 #endregion
  58.  
  59.  
  60. Podes tener Problemas con el PacketHandler, bueno lo cambias por ItemHandler y si tienen Error de que IsHossu no Existe, agregas lo siguiente :
  61.  
  62.  public static bool IsHossu(uint ID)
  63.         {
  64.             if (ID >= 619000 && ID <= 619439)
  65.                 return true;
  66.             return false;
  67.         }
  68.  
  69.  
  70. Si Tenes Fallo de Entity lo cambias por Player o por Owner.
  71.  
  72. en ItemsPlus.ini o en ItemAdd.ini de tu Source lo reemplazas por el siguiente:
  73.  
  74. http://up-4.net/d/7lyQ
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement