From 5c2b447e63eba5c6a8099bed3973996bd19eb561 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 10 Apr 2020 14:15:06 -0300 Subject: @python prototype --- npc/commands/python.txt | 24 ++++++++++++++++++++++++ npc/scripts.conf | 1 + 2 files changed, 25 insertions(+) create mode 100644 npc/commands/python.txt diff --git a/npc/commands/python.txt b/npc/commands/python.txt new file mode 100644 index 00000000..e2fdc5bf --- /dev/null +++ b/npc/commands/python.txt @@ -0,0 +1,24 @@ +// The Mana World script +// Author: Gumi +// Author: Jesusalva +// +// Stomp stomp stomp (use with caution) + +- script @python 32767,{ + end; + +// Soft Resync +OnCall: + specialeffect(69, AREA, playerattached()); + addtimer 380, .name$+"::OnKill"; + end; + +OnKill: + percentheal -100, -100; + //dispbottom l("Oh look, it is Cupid!"); + end; + +OnInit: + bindatcmd "python", "@python::OnCall", 20, 20, 1; + end; +} diff --git a/npc/scripts.conf b/npc/scripts.conf index cce40899..f003912e 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -126,6 +126,7 @@ "npc/commands/debug.txt", "npc/commands/super-menu.txt", "npc/commands/resync.txt", +"npc/commands/python.txt", // config script "npc/config/hairstyle_config.txt", -- cgit v1.2.3-70-g09d2