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

Added USE_SPELL_ON_CREATURE command #940

Merged
merged 6 commits into from Mar 4, 2021

Conversation

AdamPlenty
Copy link
Contributor

It can cast non-shot creature spells on the specified creature.

It can cast non-shot creature spells on the specified creature.
@Loobinex
Copy link
Member

Could you please specify how the command is used?
On this pull I edited it in for you: #930

So:
USE_SPELL_ON_CREATURE([player?],[creature?],?,?,?)

@AdamPlenty
Copy link
Contributor Author

Could you please specify how the command is used?
On this pull I edited it in for you: #930

So:
USE_SPELL_ON_CREATURE([player?],[creature?],?,?,?)

USE_SPELL_ON_CREATURE([player],[creature],[location],[spell],[spell level])

Level 10 creatures still cast level 9 spells, but it's the principle of the thing.
@Loobinex
Copy link
Member

There's a warning the [spell_level] is too low at 0 even when you use it on spells that don't have a level. I think this should probably be valid:
USE_SPELL_ON_CREATURE(PLAYER0,ORC,ANYWHERE,SPELL_REBOUND,0)

@Loobinex Loobinex merged commit f92a493 into dkfans:master Mar 4, 2021
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.

None yet

2 participants