summaryrefslogtreecommitdiff
path: root/npc/006-6/core.txt
blob: b10bf24d9af6cedf0a36be268a948f0010c84000 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// TMW2 Script
// Author:
//    Jesusalva

006-6,46,26,0	script	Magic Barrier#0066	NPC_HIDDEN,0,0,{
    end;

OnTouch:
    //if (!getq(CandorQuest_Area1)) goto L_Reject;
    //if (!getq(CandorQuest_Area2)) goto L_Reject;
    //if (!getq(CandorQuest_Area3)) goto L_Reject;
    if (getq(General_Narrator) < 17) goto L_Reject; // Frostia Arc must be finished

    // FIXME: B4F is not ready, so fallthrough to L_Reject
L_Reject:
    //warp "006-10", 49, 52;
    specialeffect(5000, SELF, getcharid(3));
    dispbottom l("The power which lies in Candor rejects your strength.");
    sleep2(3000);
    specialeffect(5002, SELF, getcharid(3));
    end;
}