spell_error_versions UPDATE
Posted: Thu Oct 12, 2017 12:29 pm
in spells.h add the following defines, i have added all i found including ones that DBG apparently uses for debugging, it will make for easier change tracking in the future, and allow us to use the ones for debugging as well
here is a table replacement for the spell_error_versions table
Code: Select all
#define SPELL_ERROR_NOT_CANNOT_CAST_BUG_UNKNOWN_FAILURE 86
#define SPELL_ERROR_NOT_CANNOT_CAST_BUG_SPELL_TEMPLATE 87
#define SPELL_ERROR_NOT_PREPARED_BUG 88
#define SPELL_ERROR_NOT_CANNOT_CAST_BUG_NO_GAME_WORLD 89
#define SPELL_ERROR_NOT_CANNOT_CAST_BUG_NO_OWNER 90
#define SPELL_ERROR_NOT_CANNOT_CAST_BUG_OWNER_TYPE 91
#define SPELL_ERROR_NOT_CANNOT_CAST_BUG_NO_CASTER 92
#define SPELL_ERROR_NO_RESPONSE_10 93
#define SPELL_ERROR_BUG_PARTIAL_INTERUPT 94
#define SPELL_ERROR_NO_RESPONSE_15 95
#define SPELL_ERROR_BUG_TARGET_RESISTED 96
#define SPELL_ERROR_BUG_TARGET_REFLECTED 97
#define SPELL_ERROR_NO_RESPONSE_18 98
#define SPELL_ERROR_NO_RESPONSE_35 99
#define SPELL_ERROR_BUG_UNKNOWN_43 100
#define SPELL_ERROR_BUG_UNKNOWN_44 101
#define SPELL_ERROR_BUG_UNKNOWN_47 102
#define SPELL_ERROR_TARGET_IMMUNE_HEALED_WITH_REPAIRS 103
#define SPELL_ERROR_NOT_WHILE_MENTORING 104
#define SPELL_ERROR_BUG_NO_EFFECTS_LANDED 105
#define SPELL_ERROR_TOO_MUCH_DISSONANCE 106
#define SPELL_ERROR_BUG_INVALID_SPELL_INDEX 107
#define SPELL_ERROR_CANNOT_CAST_NOT_FOUND_95 108
#define SPELL_ERROR_BUG_CONTAINMENT_TYPE 109
#define SPELL_ERROR_BUG_SLOT_FULL 110
#define SPELL_ERROR_CANNOT_CAST_NO_SPELL_101 111
#define SPELL_ERROR_RECOVERING_ITEM_ABILITY 112
#define SPELL_ERROR_NO_RESPONSE_110 113
#define SPELL_ERROR_ALREADY_CAST_ON_TARGET 114