Project

General

Profile

Actions

Bug #120

open

Bug Report

Added by MUD over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
11/04/2020
Due date:
% Done:

0%

Estimated time:
reported_by:
Hilapdatus

Description

NPCs can't seem to 'cast <spell> at <target>'. It appears as though can_cast_str_at_liv() returns 1 and all of its dependencies are succeeding and yet the result from can_cast_str(), which is a negative-based string result, is being utilized. While checking this out I found a big bug in CAST_D where the spell_type (CAST_AT, CAST_ON, etc) was being compared to spell_category (SC_COMBAT, SC_DEFENSE, etc). I fixed that bug....

0
Actions #1

Updated by Hilapdatus over 3 years ago

This might be a non-issue. It appears as though this issue is only true when NPCs are trying to cast spells on creators. NPCs casting spells on mortal player characters seems to be working. I need to run some more tests to verify that this is true and then figure out why it is true.

I have not yet found anything in LIB_CREATOR that would prevent NPCs from casting spells at creators. I still need to look into CAST_D, LIB_SPELL, the cast verb, and the individual spells.

Actions

Also available in: Atom PDF