summaryrefslogtreecommitdiff
path: root/npc/commands/python.txt
blob: 3d198f8278a96ce62faaebe095229c95b9bd57c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// The Mana World script
// Author: Gumi <gumi@themanaworld.org>
// Author: Jesusalva <jesusalva@themanaworld.org>
//
// Stomp stomp stomp (use with caution)

-	script	@python	32767,{
    end;

OnCall:
    specialeffect(69, AREA, playerattached());
    .@zone$=getmapinfo(MAPINFO_ZONE, .@mapa$);
    if (.@zone$ == "MMO")
        end;
    sc_start SC_CASH_DEATHPENALTY, 1000, 1;
    addtimer 380, .name$+"::OnKill";
    end;

OnKill:
    percentheal -100, -100;
    //dispbottom l("Oh look, it is Cupid!");
    end;

OnInit:
    bindatcmd "python", "@python::OnCall", 60, 60, 1;
    end;
}