|
@@ -94,7 +94,8 @@ class TaskProc {
|
|
|
$typeId = $value->typeId;
|
|
|
$item->typeId = $typeId;
|
|
|
$item->cmd = $value->cmd;
|
|
|
- $item->max = explode(',', $value->condition)[0];
|
|
|
+ //$item->max = explode(',', $value->condition)[0];
|
|
|
+ $item->max = $value->num;
|
|
|
$achieveDic->$typeId = $item;
|
|
|
}
|
|
|
ctx()->task->achieveDic = $achieveDic;
|
|
@@ -140,14 +141,14 @@ class TaskProc {
|
|
|
//单件装备等级达到X级
|
|
|
static function accumulateEquiplevel_one($lv) {
|
|
|
$taskEventArg = new Ins_TaskEventArgs(Enum_AchieveType::equiplevel_one, Enum_PropelType::set,$lv, array());
|
|
|
- self::CheckAchieveConditions($taskEventArg);
|
|
|
+ //self::CheckAchieveConditions($taskEventArg);
|
|
|
}
|
|
|
|
|
|
|
|
|
//累计消耗X钻石
|
|
|
static function accumulateCostCash($num) {
|
|
|
$taskEventArg = new Ins_TaskEventArgs(Enum_AchieveType::accumulateCostCash, Enum_PropelType::add,$num, array());
|
|
|
- self::CheckAchieveConditions($taskEventArg);
|
|
|
+ //self::CheckAchieveConditions($taskEventArg);
|
|
|
}
|
|
|
|
|
|
|