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

Raid abuse fix #1991

Merged
merged 3 commits into from
Jun 13, 2022
Merged

Raid abuse fix #1991

merged 3 commits into from
Jun 13, 2022

Conversation

BONNe
Copy link
Member

@BONNe BONNe commented Jun 13, 2022

This PR fixes #1976.

It introduces a new world flag: VISITOR_TRIGGER_RAID. This flag indicates if visitors can trigger raids on other player islands.

Also, I added protection for abuse MOB spawning rules to skip fighting any mobs in the raid. Players will not be able to trigger raid to start if mob spawning is disabled, as well as remove the HERO_OF_THE_VILLAGE effect, if they finish raid with mob spawning disabled.

BONNe added 3 commits June 14, 2022 01:45
This world settings flag allows toggling if visitors can or cannot start a raid on an island they are visiting.

Relates to #1976
@BONNe BONNe merged commit c543584 into develop Jun 13, 2022
@BONNe BONNe deleted the raid-fix branch June 13, 2022 23:42
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.

Raids can be transferred to other islands
1 participant