Implement the special version of the skill picker for the Has Enough of Statisic? node

This commit is contained in:
2025-03-02 20:19:50 -05:00
committed by Celtic Minstrel
parent 50637d3ddd
commit aad5460acb
4 changed files with 16 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ namespace {
.ex2b(STRT_CMP);
node_properties_t S_STAT = node_builder_t(eSpecType::IF_STATISTIC)
.ex1b(eSpecPicker::NODE)
.ex2a(+STRT_SKILL)
.ex2a(STRT_SKILL_CHECK)
.ex2b(STRT_ACCUM);
node_properties_t S_TEXT = node_builder_t(eSpecType::IF_TEXT_RESPONSE)
.msg1(+eSpecPicker::MSG_SINGLE)

View File

@@ -670,7 +670,7 @@ node_function_t operator+(eSpecPicker picker) {
node_function_t operator+(eStrType str) {
node_function_t n(str);
if(str == STRT_SPELL_PAT || str == STRT_SKILL) {
if(str == STRT_SPELL_PAT) {
n.augmented = true;
}
return n;

View File

@@ -136,7 +136,8 @@ struct node_category_info_t {
enum eStrType {
STRT_MONST, STRT_ITEM, STRT_TER, STRT_BUTTON,
STRT_SPEC_ITEM, STRT_MAGE, STRT_PRIEST, STRT_ALCHEMY,
STRT_TOWN, STRT_SECTOR, STRT_SKILL, STRT_TRAIT, STRT_RACE,
STRT_TOWN, STRT_SECTOR, STRT_SKILL, STRT_SKILL_CHECK,
STRT_TRAIT, STRT_RACE,
STRT_PICT, STRT_CMP, STRT_ACCUM, STRT_TRAP,
STRT_ATTITUDE, STRT_STAIR, STRT_LIGHT, STRT_CONTEXT,
STRT_SHOP, STRT_COST_ADJ, STRT_STAIR_MODE, STRT_TALK_NODE,