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

mob spells always targets hostiles #5783

Open
Ignaramico opened this issue Dec 3, 2024 · 0 comments
Open

mob spells always targets hostiles #5783

Ignaramico opened this issue Dec 3, 2024 · 0 comments
Labels
bug src changes related to source code.

Comments

@Ignaramico
Copy link

Describe the bug

idk if its a bug or an oversight on how spells are casted with the player as reference (like how you need to make a spell on a mob/trap to be hostile summon or it gets summoned as friendly)
Anyways, if you make a friendly mob with a spell that targets an ally, it only tries to cast it at a hostile target, i assume this because said spell didnt get casted (since hostile wasnt a valid target, and it ignored the player)
changed the mob to be spawned hostile along with the valid target, and it targets the player like normal (it was a healing spell)

Steps To Reproduce

make a mob
make a spell with valid target as friendly
spawn mob as friendly
check if the mob casts the spell at you

Screenshots

No response

Versions and configuration


15:53:43.943 : Starting log.
15:53:43.943 INFO : Cataclysm BN version ac7253c 64-bit
15:53:43.944 INFO : C locale on startup: 'C'
15:53:43.944 INFO : C++ locale on startup: 'C'
15:53:43.978 INFO : Detected system UI language as 'en_US'
15:53:43.978 INFO : SDL version used during compile is 2.26.2
15:53:43.978 INFO : SDL version used during linking and in runtime is 2.26.2
15:53:47.428 INFO : Number of render drivers on your system: 6
15:53:47.428 INFO : Render driver: 0/direct3d
15:53:47.428 INFO : Render driver: 1/direct3d11
15:53:47.428 INFO : Render driver: 2/direct3d12
15:53:47.428 INFO : Render driver: 3/opengl
15:53:47.428 INFO : Render driver: 4/opengles2
15:53:47.428 INFO : Render driver: 5/software
15:53:47.457 INFO : Set debug classes to: [DEBUGMSG MAIN LUA]
15:53:48.003 INFO : Active renderer: 3/opengl
15:53:49.137 INFO : Active audio driver: wasapi
15:53:49.171 INFO : Opened mixer with specs: 44100 Hz, 2 channel(s), format 0x8010
15:53:49.697 INFO : Language set to 'en_US'
15:53:49.697 INFO : C locale set to 'English_United States.1252'
15:53:49.697 INFO : C++ locale set to 'C'
15:53:51.802 INFO : LAPI version: 2
15:53:51.828 INFO LUA : Lua online.
15:54:43.386 INFO : Loaded tileset: UNDEAD_PEOPLE_BASE
15:55:20.520 INFO : GAME REPORT:

  • OS: Windows
    • OS Version: MINGW/CYGWIN/MSYS2 on unknown Windows version
  • Game Version: ac7253c [64-bit]
  • Graphics Version: Tiles
  • LAPI Version: 2
  • Game Language: English [en_US]
  • Mods loaded: [
    Bright Nights [bn],
    Disable NPC Needs [no_npc_food],
    Simplified Nutrition [novitamins],
    No Rail Stations [No_Rail_Stations],
    Prevent Zombie Revivication [no_reviving_zombies],
    Limit Fungal Growth [limit_fungal_growth],
    Item Category Overhaul [Item_Category_Overhaul],
    UDP Redux [udp_redux],
    A dueliste mod [Aduelistmmod]
    ]

15:55:28.839 : Log shutdown.

Additional context

the test were made with the custom mob,the player and a debug mob in range of the spell

@Ignaramico Ignaramico added the bug label Dec 3, 2024
@RoyalFox2140 RoyalFox2140 added the src changes related to source code. label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug src changes related to source code.
Projects
None yet
Development

No branches or pull requests

2 participants