KilledMonsterCredit must be there but CompleteQuest is for external event to satisfy the quest requirements if it has a specialflag '2'. In this case you remove that specialflag and the code will do nothing.