-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Monster spells can not be used in melee #55528
Comments
If you're invisible you're not a valid target for special attacks - random-walking or scent/sound-tracking monsters bumping into you trigger a normal melee attack. |
oh, mistake, i write "debug invincibility" |
Okay, the problem seems to be that they have a 1-turn cooldown on bites and a 28-turn one on the spell. Bumping the bite cooldown to 2 lets them get a spell off when in melee range. |
You want their bite to be on cooldown. If you set their bit to 2 turns they can fire the spell (unsurprisingly, I tested it before commenting...). |
hmmm |
This looks good to close, if I'm reading this correctly if you have one special attack that can be used every turn then the monster will use it every turn and never use their other attacks? |
Describe the bug
The game dont allow to use spells for monsters, if the enemy on 1 tile range, and use default melee instead (which is not okay sometimes, especially if you try to make AoE melee attack)
for example:
Steps to reproduce
.
You can see it doesnt vomit sludge and spews bile anymore, instead it only attack you in melee
Expected behavior
Allow to use spells in melee combat, same as another
special_attacks
or
Make a field in
special_attacks
, that allow to use the spell in melee combatScreenshots
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Fungal Growth [no_fungal_growth],
Bionic Professions [package_bionic_professions],
Magiclysm [magiclysm]
]
Additional context
No response
The text was updated successfully, but these errors were encountered: