-
Notifications
You must be signed in to change notification settings - Fork 67
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
feat: Objective wrappers #316
base: dev
Are you sure you want to change the base?
Conversation
they seem kinda useless but yamato wasnts them so ok
@VALERA771 would be great to also have this type of stuff in an event, for when influence is gained and for when the timer is reduced |
maybe it's need an event too..... if no one done that i can make it |
@VALERA771 I see you added a completing objective event, is this event related to my earlier comment? if so I can't see any method to get how the stats changed by completing the objective, is there some sort of method already existing? |
@VALERA771 is this getting merged soon? |
if (newRole == RoleTypeId.None) | ||
{ | ||
if (player.Role == RoleTypeId.ClassD) | ||
newRole = RoleTypeId.ChaosConscript; | ||
else if (player.Role == RoleTypeId.Scientist) | ||
newRole = RoleTypeId.NtfSpecialist; | ||
else | ||
newRole = player.Role; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this it's not logical for what name you gave as argument newRole
I wanted to test event. Don't have time rn |
Description
Describe the changes
Adding wrappers for Objective instances. Possible new objectives will be added soon (ScpObjectiveBase is not used...)
What is the current behavior? (You can also link to an open issue here)
No wrappers
What is the new behavior? (if this is a feature change)
Profit
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information:
I don't know english so idk what to write in docs. Pls help me ;(
Types of changes
Submission checklist
Patches (if there are any changes related to Harmony patches)
Other