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

Adds new mon flag MECH_DEFENSIVE #33329

Merged
merged 2 commits into from
Aug 19, 2019

Conversation

RedShakespeare
Copy link
Contributor

Add a new optional flag to create fully-protective mechbots.

Summary

SUMMARY: Content "Adds new monster flag 'MECH_DEFENSIVE'"

Purpose of change

Add a new optional flag so that json and mod authors can make mech-bots that are able to protect pilots thoroughly.

Describe the solution

Add a new monster flag MF_MECH_DEFENSIVE in monstergenerator.cpp
Add an examination about whether MF_MECH_DEFENSIVE is included before culculating damage for a rideable creature in creature.cpp.

Additional context

I'm terribly sorry for the administrators' extra work caused by my mishandling in this pull request.

Add a new optional flag to create fully-protective mechbots.
@ZhilkinSerg ZhilkinSerg added [C++] Changes (can be) made in C++. Previously named `Code` [JSON] Changes (can be) made in JSON Monsters Monsters both friendly and unfriendly. Vehicles Vehicles, parts, mechanics & interactions labels Aug 18, 2019
src/mtype.h Outdated Show resolved Hide resolved
Astyle

Co-Authored-By: nshcat <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` [JSON] Changes (can be) made in JSON Monsters Monsters both friendly and unfriendly. Vehicles Vehicles, parts, mechanics & interactions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants