Guest User

Untitled

a guest
Nov 8th, 2014
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.42 KB | None | 0 0
  1.  
  2. if (Settings.GetBool("ItemAlert.PlaySound") && !this.playedSoundsCache.Contains(entity.LongId))
  3. {
  4.  
  5. if (ip.Name.Contains("Mirror of Kalandra"))
  6. {
  7. this.playedSoundsCache.Add(entity.LongId);
  8. Sounds.MirrorSound.Play();
  9. }
  10. else if (ip.Rarity == ItemRarity.Unique)
  11. {
  12. this.playedSoundsCache.Add(entity.LongId);
  13. Sounds.UniqueSound.Play();
  14. }
  15. else if (ip.Name.Contains("Eternal Orb"))
  16. {
  17. this.playedSoundsCache.Add(entity.LongId);
  18. Sounds.EternalSound.Play();
  19. }
  20. else if (ip.Name.Contains("Exalted Orb"))
  21. {
  22. this.playedSoundsCache.Add(entity.LongId);
  23. Sounds.ExaltedSound.Play();
  24. }
  25. else if (ip.Name.Contains("Divine Orb"))
  26. {
  27. this.playedSoundsCache.Add(entity.LongId);
  28. Sounds.DivineSound.Play();
  29. }
  30. else if (ip.NumLinks == 6)
  31. {
  32. this.playedSoundsCache.Add(entity.LongId);
  33. Sounds.SixLinkSound.Play();
  34. }
  35. else if (ip.Name.Contains("Regal Orb"))
  36. {
  37. this.playedSoundsCache.Add(entity.LongId);
  38. Sounds.RegalSound.Play();
  39. }
  40. else if (ip.Name.Contains("Gemcutter's Prism"))
  41. {
  42. this.playedSoundsCache.Add(entity.LongId);
  43. Sounds.GCPSound.Play();
  44. }
  45. else if (ip.Name.Contains("Chaos Orb"))
  46. {
  47. this.playedSoundsCache.Add(entity.LongId);
  48. Sounds.ChaosSound.Play();
  49. }
  50. else if (ip.NumSockets == 6)
  51. {
  52. this.playedSoundsCache.Add(entity.LongId);
  53. Sounds.SixSocketSound.Play();
  54. }
  55. else if (ip.NumSockets == 6 && ip.NumLinks == 5)
  56. {
  57. this.playedSoundsCache.Add(entity.LongId);
  58. Sounds.FiveLinkSixSocketSound.Play();
  59. }
  60. else if (ip.NumSockets == 5 && ip.NumLinks == 5)
  61. {
  62. this.playedSoundsCache.Add(entity.LongId);
  63. Sounds.FiveLinkSound.Play();
  64. }
  65. else if (ip.Name.Contains("Vaal Orb"))
  66. {
  67. this.playedSoundsCache.Add(entity.LongId);
  68. Sounds.VaalSound.Play();
  69. }
  70. else if (ip.Name.Contains("Orb of Regret"))
  71. {
  72. this.playedSoundsCache.Add(entity.LongId);
  73. Sounds.RegretSound.Play();
  74. }
  75. else if (ip.Name.Contains("Blessed Orb"))
  76. {
  77. this.playedSoundsCache.Add(entity.LongId);
  78. Sounds.BlessedSound.Play();
  79. }
  80. else if (ip.MapLevel > 0)
  81. {
  82. this.playedSoundsCache.Add(entity.LongId);
  83. Sounds.MapSound.Play();
  84. }
  85. else if (ip.Name.Contains("Cartographer's Chisel"))
  86. {
  87. this.playedSoundsCache.Add(entity.LongId);
  88. Sounds.ChiselSound.Play();
  89. }
  90. else if (ip.Name.Contains("Orb of Fusing"))
  91. {
  92. this.playedSoundsCache.Add(entity.LongId);
  93. Sounds.FusingSound.Play();
  94. }
  95. else if (ip.Name.Contains("Orb of Alchemy"))
  96. {
  97. this.playedSoundsCache.Add(entity.LongId);
  98. Sounds.AlchemySound.Play();
  99. }
  100. else if (ip.IsSkillGem == true & ip.Quality > 0)
  101. {
  102. this.playedSoundsCache.Add(entity.LongId);
  103. Sounds.QualityGemSound.Play();
  104. }
  105. else if (ip.Name.Contains("Orb of Chance"))
  106. {
  107. this.playedSoundsCache.Add(entity.LongId);
  108. Sounds.ChanceSound.Play();
  109. }
  110. else if (ip.Name.Contains("Orb of Scouring"))
  111. {
  112. this.playedSoundsCache.Add(entity.LongId);
  113. Sounds.ScouringSound.Play();
  114. }
  115. else if (ip.Name.Contains("Chromatic Orb"))
  116. {
  117. this.playedSoundsCache.Add(entity.LongId);
  118. Sounds.ChromaticSound.Play();
  119. }
  120. else if (ip.WorthChrome == true)
  121. {
  122. this.playedSoundsCache.Add(entity.LongId);
  123. Sounds.RGBSound.Play();
  124. }
  125. else if (currencyNames.Contains(ip.Name))
  126. {
  127. this.playedSoundsCache.Add(entity.LongId);
  128. Sounds.CurrencySound.Play();
  129. }
  130. else if (ip.IsSkillGem == true & ip.Quality == 0)
  131. {
  132. this.playedSoundsCache.Add(entity.LongId);
  133. Sounds.NormalGemSound.Play();
  134. }
  135. else
  136. {
  137. this.playedSoundsCache.Add(entity.LongId);
  138. Sounds.AlertSound.Play();
  139. }
  140. }
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148. if (current.Contains("MonsterExplodesOnDeathCold1"))
  149. {
  150. Sounds.IceBloodSound.Play();
  151. }
  152. else if (current.Contains("MonsterExplodesOnDeathFire1"))
  153. {
  154. Sounds.FlameBloodSound.Play();
  155. }
  156. else if (current.Contains("MonsterExplodesOnDeathLightning1"))
  157. {
  158. Sounds.StormBloodSound.Play();
  159. }
  160. else if (current.Contains("MonsterAuraPhysicalThorns1"))
  161. {
  162. Sounds.PhysReflectSound.Play();
  163. }
  164. else if (current.Contains("MonsterPhysicalThorns"))
  165. {
  166. Sounds.PhysReflectSound.Play();
  167. }
  168. else if (current.Contains("MonsterAuraElementalThorns1"))
  169. {
  170. Sounds.EleReflectSound.Play();
  171. }
  172. else if (current.Contains("MonsterElementalThorns"))
  173. {
  174. Sounds.EleReflectSound.Play();
  175. }
  176. else if (current.Contains("MonsterNemesisCorruptedBlood"))
  177. {
  178. Sounds.CorruptingBloodSound.Play();
  179. }
  180. else if (current.Contains("MonsterNemesisUniqueDrop"))
  181. {
  182. Sounds.InnerTreasureSound.Play();
  183. }
  184. else if (current.Contains("MonsterImplicitNemesisUniqueDrop"))
  185. {
  186. Sounds.InnerTreasureSound.Play();
  187. }
  188. else if (current.Contains("MonsterItems1"))
  189. {
  190. Sounds.WealthSound.Play();
  191. }
  192. else if (current.Contains("Metadata/Monsters/BeyondDemons/BeyondDemon3-1"))
  193. {
  194. Sounds.BeyonderSound.Play();
  195. }
  196. else if (current.Contains("Metadata/Monsters/BeyondDemons/BeyondDemon3-2"))
  197. {
  198. Sounds.BeyonderSound.Play();
  199. }
  200. else if (current.Contains("Metadata/Monsters/BeyondDemons/BeyondDemon3-3"))
  201. {
  202. Sounds.BeyonderSound.Play();
  203. }
  204. else if (current.Contains("Metadata/Monsters/BeyondDemons/BeyondDemon3-4"))
  205. {
  206. Sounds.BeyonderSound.Play();
  207. }
  208. else if (current.Contains("Metadata/Monsters/BeyondDemons/BeyondDemon3-5"))
  209. {
  210. Sounds.BeyonderSound.Play();
  211. }
  212. else if (current.Contains("Metadata/Monsters/BeyondDemons/BeyondDemon3-6"))
  213. {
  214. Sounds.BeyonderSound.Play();
  215. }
  216. else
  217. {
  218. Sounds.DangerSound.Play();
  219. }
Advertisement
Add Comment
Please, Sign In to add comment