Advertisement
xThomas

draft XS rebalance

Dec 16th, 2021
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. int player = 0;
  2. int camelArmorClass = 0;
  3. int tower = 0;
  4. int desiredCamelAtt = 0;
  5. int camelAtt = camelArmorClass * 256 + desiredCamelAtt;
  6.  
  7. xsEffectAmount(cSetAttribute, tower, cAttack, camelAtt, player);
  8.  
  9. /* ==== ==== ==== ==== */
  10. int mangudai = 0;
  11. xsEffectAmount(cSetAttribute, mangudai, cAttackDelay, 0, player);
  12.  
  13. float oldBaseSpeed = 1.43;
  14. float baseSpeed = 1.4;
  15. float desiredSpeed = 1.43 * 1.1;
  16.  
  17. // husbandry makes setting unit speed confusing
  18.  
  19. xsEffectAmount(cSetAttribute, mangudai, desiredSpeed, 1.43, player);
  20.  
  21.  
  22. /* ==== ==== ==== ==== */
  23. int kipachaka = 0;
  24. xsEffectAmount(cSetAttribute, kipachaka, cAttackDelay, 0, player);
  25. float oldBaseROF = 1.8;
  26. float baseROF = 2.2;
  27. float desiredROF = 1.8 * 1.15;
  28.  
  29. // if i set ROF to 1.8 do i lose thumb ring's rof buff?
  30.  
  31. xsEffectAmount(cSetAttribute, kipachaka, cRateOfFire, desiredROF, player);
  32.  
  33. /* ==== ==== ==== ==== */
  34. const int cVikings = 0;
  35. int arb = 0;
  36. int skirm = 0;
  37. int ca = 0;
  38.  
  39. xsEffectAmount(cSetAttribute, arb, cAccuracy, 100, player);
  40. xsEffectAmount(cSetAttribute, skirm, cAccuracy, 100, player);
  41. xsEffectAmount(cSetAttribute, ca, cAccuracy, 100, player);
  42. xsEffectAmount(cMulAttribute, arb, cRateOfFire, 1.3, player);
  43. xsEffectAmount(cMulAttribute, ca, cRateOfFire, 1.15, player);
  44.  
  45. /* ==== ==== ==== ==== */
  46. int koreans = 0;
  47. int mangonel = 0;
  48. rule
  49. if koreanally(){
  50. xsEffectAmount(cAddAttribute, mangonel, cRange, 1, player);
  51. }
  52.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement