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

Fixed a bug where NPCs couldn't attack #695

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

madsboddum
Copy link
Member

The interesting bit is in com.projectswg.holocore.resources.support.objects.swg.custom.AIObject#addDefaultWeapon

@madsboddum madsboddum added the BUGFIX Fix of a bug (Pull Request) label Jul 20, 2022
@Undercova Undercova added this to the Game Update 2 - Brawler milestone Jul 20, 2022
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test

class NpcDefaultAttackTest : TestRunnerSynchronousIntents() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be a TestRunnerSynchronousIntents as opposed to a lighter weight class?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried removing it at a point but maybe that was before I rewrote the entire thing...

I'll check.

@Josh-Larson Josh-Larson merged commit ce1d826 into ProjectSWGCore:cu_quality_assurance Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUGFIX Fix of a bug (Pull Request)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants