This is because the conditional statement does not work correctly.
Wherever you made changes, there should be.
Alles anzeigenCode
- Your code:
- if (ch)
- ++regen->count;
- #ifdef __ENABLE_MONSTER_CONTROLLER__
- if (MonsterControllerNS::GetCounterType(ch->GetRaceNum()).has_value())
- CMonsterController::instance().HandleCounter(ch, ch->GetMapIndex());
- #endif
- Correct code:
- if (ch)
- {
- ++regen->count;
- #ifdef __ENABLE_MONSTER_CONTROLLER__
- if (MonsterControllerNS::GetCounterType(ch->GetRaceNum()).has_value())
- CMonsterController::instance().HandleCounter(ch, ch->GetMapIndex());
- #endif
- }
Thx man!!
1 dude.. Bitte melden Sie sich an, um diesen Link zu sehen.
Bosses don't count... how can I get them to count boss-mini-bosses?