zjqyf

PartyBuffConfigPlugin.cs

Aug 29th, 2017
568
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.00 KB | None | 0 0
  1. using Turbo.Plugins.Default;
  2. namespace Turbo.Plugins.Gigi
  3. {
  4.     public class PartyBuffConfigPlugin : BasePlugin, ICustomizer
  5.     {
  6.         public PartyBuffConfigPlugin()
  7.         {
  8.             Enabled = true;
  9.         }
  10.         public void Customize()
  11.         {
  12.  
  13. Hud.RunOnPlugin<PartyBuffPlugin>(plugin =>
  14. {
  15.     uint[] onWiz = {
  16.         //onWiz
  17.        
  18.  
  19.     };
  20.     uint[] onMonk = {
  21.         //onMonk
  22.  
  23.     };
  24.     uint[] onWD = {
  25.         //onWD
  26.        
  27.     };
  28.     uint[] onBarb = {
  29.         //onBarb
  30.        
  31.     };
  32.     uint[] onCrus = {
  33.         //onCrus
  34.        
  35.     };
  36.     uint[] onDH = {
  37.         //onDH
  38.        
  39.     };
  40.     uint[] onAll = {
  41.         //onAll
  42.         208474,
  43.         134872,
  44.         30725,
  45.         317076,
  46.         96215,
  47.         156484,
  48.         79528,
  49.         79607,
  50.         217819,
  51.         117402,
  52.         67616,
  53.         106237,
  54.         208594,
  55.         218501,
  56.         269032,
  57.         291804,
  58.         309830,
  59.         129216,
  60.         365311,
  61.         129217,
  62.         130695,
  63.         324770,
  64.         402462,
  65.         246562,
  66.         440336,
  67.         429855,
  68.         450294,
  69.         359580,
  70.         445814,
  71.         429673,
  72.         437711,
  73.         439308,
  74.         436426,
  75.         445829,
  76.         445639,
  77.         409428,
  78.         434964,
  79.         423244,
  80.         445266,
  81.         403404,
  82.         266258,
  83.         266254,
  84.         262935,
  85.         266271,
  86.         402461,
  87.         465839,
  88.         472910,
  89.         465952,
  90.  
  91.         334883,
  92.     };
  93.     uint[] onMe = {
  94.         //onMe
  95.         440569,
  96.         359583,
  97.         476583,
  98.         475248,
  99.         476580,
  100.         476689,
  101.         441517,
  102.         476587,
  103.         430289,
  104.         445274,
  105.         449236,
  106.         402458,
  107.         318817,
  108.         318875,
  109.         318821,
  110.         440598,
  111.         30631,
  112.         430228,
  113.  
  114.     };  
  115.     //pass buffs to plugin -> apply them
  116.     uint[] onNec = {
  117.         //onNec
  118.        
  119.     };
  120.     plugin.DisplayOnAll(onAll);
  121.     plugin.DisplayOnMe(onMe);
  122.     plugin.DisplayOnClassExceptMe(HeroClass.Wizard, onWiz);
  123.     plugin.DisplayOnClassExceptMe(HeroClass.Necromancer, onNec);
  124.     plugin.DisplayOnClassExceptMe(HeroClass.Monk, onMonk);
  125.     plugin.DisplayOnClassExceptMe(HeroClass.Barbarian, onBarb);
  126.     plugin.DisplayOnClassExceptMe(HeroClass.WitchDoctor, onWD);
  127.     plugin.DisplayOnClassExceptMe(HeroClass.DemonHunter, onDH);
  128.     plugin.DisplayOnClassExceptMe(HeroClass.Crusader, onCrus);
  129.             });
  130.         }
  131.     }
  132. }
Add Comment
Please, Sign In to add comment