summaryrefslogblamecommitdiff
path: root/npc/027-1/wizard.txt
blob: 355154420d271008bdc92354b118a019d38120a7 (plain) (tree)
































                                                                                                        
// TMW2 Script
// Author:
//  Jesusalva
// Description:
//  Wizard at Magic Academy Entrance

027-1,44,91,0	script	Purple Wizard	NPC_PURPLE_WIZARD_F,{
    mesn;
    mesq l("Hello. I was assigned to guard the ranged training grounds of the mystic forest.");
    next;
    mesn;
    mesq l("It is a dangerous area, so we only allow students enrolled at the academy to participate.");
    if (!ACADEMIC_RANK && !is_sponsor())
        close;
    next;
    mesn;
    mesq l("Do you want to go there? The Red Wizard may be able to offer you training.");
    next;
    select
        l("Not yet."),
        l("Yes please.");
    mes "";
    closeclientdialog;
    if (@menu == 2)
        warp "017-0", 249, 228;
    close;

OnInit:
    .distance = 3;
    .sex = G_FEMALE;
    end;
}