BlazblueEntropyEffect.asl 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. state("BlazblueEntropyEffect", "Default")
  2. {
  3. //Gameplay.GameInputManager private LockFlag m_uiActionFlag
  4. int ActionFlag : "GameAssembly.dll", 0x046D98B0, 0xB8, 0x0, 0x58;
  5. int BossTotalHealth : "GameAssembly.dll", 0x0458A7C8, 0xB8, 0x0, 0x48, 0xA0, 0x28, 0x300;
  6. }
  7. state("BlazblueEntropyEffect", "Update 2/29/24")
  8. {
  9. //Gameplay.GameInputManager private LockFlag m_uiActionFlag
  10. int ActionFlag : "GameAssembly.dll", 0x046C5E80, 0xB8, 0x0, 0x58; //13A30
  11. int BossTotalHealth : "GameAssembly.dll", 0x04584060, 0xB8, 0x0, 0xA0, 0x28, 0x300;
  12. }
  13. state("BlazblueEntropyEffect", "Update 3/10/24")
  14. {
  15. //Gameplay.GameInputManager private LockFlag m_uiActionFlag
  16. int ActionFlag : "GameAssembly.dll", 0x046EAB90, 0xB8, 0x0, 0x58; //13A30
  17. int BossTotalHealth : "GameAssembly.dll", 0x0459A720, 0xB8, 0x0, 0xA0, 0x28, 0x300;
  18. }
  19. state("BlazblueEntropyEffect", "Update 3/12/24")
  20. {
  21. //Gameplay.GameInputManager private LockFlag m_uiActionFlag
  22. int ActionFlag : "GameAssembly.dll", 0x046EC6C8, 0xB8, 0x0, 0x58; //13A30
  23. int BossTotalHealth : "GameAssembly.dll", 0x0459BAB0, 0xB8, 0x0, 0xA0, 0x28, 0x300;
  24. }
  25. init
  26. {
  27. vars.HighestBossHealth = 0;
  28. switch (modules.First().ModuleMemorySize)
  29. {
  30. case 688128 :
  31. version = "Default";
  32. break;
  33. default:
  34. version = "Default";
  35. break;
  36. }
  37. }
  38. startup
  39. {
  40. settings.Add("BK", true, "Split on Boss Kills");
  41. }
  42. update
  43. {
  44. if (current.BossTotalHealth > vars.HighestBossHealth)
  45. {
  46. vars.HighestBossHealth = current.BossTotalHealth;
  47. }
  48. }
  49. onStart
  50. {
  51. vars.HighestBossHealth = 0;
  52. }
  53. split
  54. {
  55. if ((settings["BK"]) && (current.BossTotalHealth == 0) && (old.BossTotalHealth > 0) && (vars.HighestBossHealth >= 17000) && (((old.BossTotalHealth - current.BossTotalHealth) < 8000)))
  56. {
  57. vars.HighestBossHealth = 0;
  58. return true;
  59. }
  60. }
  61. isLoading
  62. {
  63. return (current.ActionFlag & 1) != 0;
  64. }