{
    "__comment": "Made by Rav115",
    "display": {
        "title": {"text": "Lunge Time! (Quest)"},
        "description": {"text": "Obtain 1x Ghast Tear.  Reward: 30 Exp, 1x Lunge Spell."},
        
        "icon": {"item": "minecraft:ghast_tear"},
        "frame": "challenge",
        
        "show_toast": true,
        "announce_to_chat": true,
        "hidden": false
    },
    "criteria": {
        "darkrpg_lunge": {
            "trigger": "minecraft:inventory_changed",
            "conditions": {"items": [
                    {
                        "items": ["minecraft:ghast_tear"],
                        "count": {
                            "min": 1
                        }
                    }
                ],
				"player": {"type_specific": {"type": "player","advancements": {"darkrpg_magic:magic_missile": "true"}}}
            }
        }
    },
    "rewards": {
        "function": 
            "darkrpg_magic:lunge"
        ,
		"experience": 30
    },
    "parent": "darkrpg_magic:magic_missile"
}
