Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved EnemyEntity methods to FormulaHelper for mod override #2493

Merged

Conversation

KABoissonneault
Copy link
Collaborator

Added FormulaHelpers for EnemyEntity:

  • GetEnemyGroup
  • GetLanguageSkill
  • GetWeightInClassicUnits

The first is necessary for the functioning of Pacify and Dispel spells effects to work on custom enemies. The second is for the language pacification feature.
image

The third one, I don't plan on using just yet, but I felt I might as well add it for completion.

…Group, GetLanguageSkill, GetWeightInClassicUnits
@Interkarma
Copy link
Owner

I think this one is OK despite the feature lock. The original methods are still in place with their original signatures, I don't think this will break any mods calling those public methods. Is that right, Kab?

@KABoissonneault
Copy link
Collaborator Author

Yeah the whole point of this approach was to avoid having to refactor any code. This only adds functions.

@Interkarma Interkarma merged commit 01cfffb into Interkarma:master Apr 22, 2023
@KABoissonneault KABoissonneault deleted the feat/enemy-group-lang-weight branch January 29, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants