-
Notifications
You must be signed in to change notification settings - Fork 81
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
Implements transformation mechanic as a spell effect. #3822
base: master
Are you sure you want to change the base?
Conversation
// TODO: Strange condition regarding the fly, check why it's here? | ||
if (!flag_is_set(game.conf.crtr_conf.model[thing->model].model_flags, CMF_IsDiptera)) | ||
// Clear 'TMvF_Flying' only if the creature isn't innately able to fly. | ||
if (!crstat->flying) |
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.
I still don't know why it only checked for diptera, but it makes sense to check for innate flying ability.
'creature_choose_first_available_instance' : Investigate why it doesn't work and only seems to select [instance1] for creatures that don't even know it.
Please, can you make some sample for "automatic" and for offensively mode? |
This comment was marked as outdated.
This comment was marked as outdated.
You just need to give the instance
As for the offensive you just need to give to a shot the SpellEffect:
Try to add this line |
get crstats from original model on others places too
In draft, there is more situations to check for original model. |
PR isn't finished yet, there is more places to verify if it needs to look for the actual model or the original model.
Implements transformation mechanic as a spell effect.
Example spell to replace the unused
SPELL_LIZARD
:Example instance:
The mechanic can also be used offensively. For example, assigning
SpellEffect = SPELL_TRANSFORM
to a shot will transform the target!