This commit is contained in:
aozhiwei 2023-02-27 15:22:15 +08:00
parent d2d132f410
commit e310e51349
3 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,7 @@ namespace mt
if (graspbuff_id2() && !buff2_meta) { if (graspbuff_id2() && !buff2_meta) {
abort(); abort();
} }
if (hero_lv_sets.find(hero_lv()) != hero_lv_sets.end()) { if (hero_lv_sets.find(hero_lv()) == hero_lv_sets.end()) {
abort(); abort();
} }
} }

View File

@ -41,9 +41,11 @@ namespace mt
{ {
_trigger_type = type; _trigger_type = type;
_trigger_subtype = a8::XValue(strings2.at(1)); _trigger_subtype = a8::XValue(strings2.at(1));
#if 0
if (_trigger_subtype != (int)GraspBuffTriggerCond_e::kImprint) { if (_trigger_subtype != (int)GraspBuffTriggerCond_e::kImprint) {
abort(); abort();
} }
#endif
_trigger_cond.push_back(a8::XValue(strings2.at(2))); _trigger_cond.push_back(a8::XValue(strings2.at(2)));
_trigger_cond.push_back(a8::XValue(strings.at(1))); _trigger_cond.push_back(a8::XValue(strings.at(1)));
} }

View File

@ -42,7 +42,7 @@ namespace mt
size_t slot = a8::XValue(strings2[0]); size_t slot = a8::XValue(strings2[0]);
size_t num = a8::XValue(strings2[1]); size_t num = a8::XValue(strings2[1]);
if (slot >= 0 && slot < volume_.size()){ if (slot >= 0 && slot < volume_.size()){
volume_[slot] = num; _volume[slot] = num;
} }
} }
} }