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

JSONize AEP_SMOKE and add emitters to enchantments #38260

Merged
merged 5 commits into from
Mar 12, 2020

Conversation

KorGgenT
Copy link
Member

Summary

SUMMARY: Features "JSONize AEP_SMOKE and add emitters to enchantments"

Purpose of change

part of the artifact rewrite project and #38193

Describe the solution

call map::emit_field() in enchantment::activate_passive() with the new cata::optional<emit_id> member of enchantment. This PR creates AEP_SMOKE as an example.

Describe alternatives you've considered

Testing

added the enchantment to a drive belt in json for testing. spawns a decent-sized cloud of thin smoke roughly every 5-10 turns or so.

@KorGgenT KorGgenT added [JSON] Changes (can be) made in JSON [C++] Changes (can be) made in C++. Previously named `Code` Artifacts Otherworldly items with special effects 0.E Feature Freeze labels Feb 23, 2020
@ZhilkinSerg ZhilkinSerg changed the base branch from master to dev March 11, 2020 06:50
@ZhilkinSerg ZhilkinSerg merged commit 1116a74 into CleverRaven:dev Mar 12, 2020
@ZhilkinSerg ZhilkinSerg mentioned this pull request Mar 12, 2020
13 tasks
@KorGgenT KorGgenT deleted the artifact-emitters branch August 13, 2020 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Artifacts Otherworldly items with special effects [C++] Changes (can be) made in C++. Previously named `Code` [JSON] Changes (can be) made in JSON
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants