MythicRPG - Different Class Groups Having the Same Trigger

Sludgo Bombo
2025-10-28T05:23:52Z

**Summary**

Currently having an issue where my Archetype, TestArche's initiate skill is applying tiggers from the TestClass's Init/Quit skills. I originally used ~onClassGain and ~onClassLoss, but the issue is still occuring after switching over to this method.

The same applies for when I lose the archetype TestArche; it triggers the QuitSkill trigger from TestClass when it should only be triggering the TestArche Quitskill.

**Steps to reproduce**

https://pastebin.com/Gq2RD30

Step: Enter command /mmrpg archetypes set USER CLASS TestClass

Then: /mmrpg archetypes set KingSherman ARCHETYPE TestArche

**Current behavior**

Essentially, the bug is triggering Innit/Quit trigger skills from OTHER class groups as if they are shared. TestClass and TestArche are completely independant from eachother, being a class/archetype respectively. When I give myself the TestArche Archetype while I have the TestClass CLASS, TestClass executes its init skill - message{m="Blurp Test!"} @self when I give myself the TestArche archetype when it should only initiate when I give myself the TestClass CLASS. Also, I still retain the TestClass when I lose the TestArche (The command works as intended for testing and removes only the archetype), but the message from the QuitSkill is still being triggered.

**Intended correct behavior**

The Innit/Quit triggers should only initiate on the class gain/loss of THAT class, individually.