diff options
Diffstat (limited to 'npc/commands/kami.txt')
-rw-r--r-- | npc/commands/kami.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/commands/kami.txt b/npc/commands/kami.txt index 1211fae0..1571ca1a 100644 --- a/npc/commands/kami.txt +++ b/npc/commands/kami.txt @@ -26,6 +26,16 @@ OnServMsg: } end; +OnInstNuke: + // This can be slow, beware + .@c = getunits(BL_PC, .@players, MAX_CYCLE_PC); + for (.@i = 0; .@i < .@c; .@i++) { + attachrid(.@players[.@i],); + X21INIT(5); + detachrid(); + } + end; + OnBuff: // Disabled command, used for debug purposes .@c = getunits(BL_PC, .@players, MAX_CYCLE_PC); @@ -62,6 +72,7 @@ OnInit: bindatcmd "blessing", "@k::OnBuff", 99, 100, 1; bindatcmd "instcheck", "@k::OnInstCheck", 99, 100, 1; bindatcmd "instdestr", "@k::OnInstDestroy", 99, 100, 1; + bindatcmd "instnuke", "@k::OnInstNuke", 99, 100, 1; end; } |