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

[Customized] Delay automatic attack on the controlled unit #1474

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

CrimRecya
Copy link
Contributor

  • Now you can make the techno that has just been mind controlled not be automatically attacked by its original friendly forces for a period of time defined by AttackMindControlledDelay. This will not affect the manual selection of attacks and is useless with permanent mind control.

In rulesmd.ini:

[General]
AttackMindControlledDelay=0     ; integer, game frames

Copy link

github-actions bot commented Dec 28, 2024

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@Starkku
Copy link
Contributor

Starkku commented Jan 14, 2025

Is there any impact on performance here given that 0x6F7EA2 is at code that is called very often?

@CrimRecya
Copy link
Contributor Author

Is there any impact on performance here given that 0x6F7EA2 is at code that is called very often?

Thank you for your reminding. Although I haven't found any significant frame rate changes yet, it's really not appropriate. I will hook in a relatively backward position later.

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