diff options
-rw-r--r-- | npc/commands/grantpower.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/npc/commands/grantpower.txt b/npc/commands/grantpower.txt index 81d599800..0e678657c 100644 --- a/npc/commands/grantpower.txt +++ b/npc/commands/grantpower.txt @@ -10,6 +10,16 @@ OnCall: .@request$ = ""; .@request$ += implode(.@atcmd_parameters$, " "); + if (is_admin()) { + if (.@request$ == "" && !$LEGENDARYINIT) { + inventoryplace Lightbringer, 3; // Script Handled: LB and AS + getitembound DemureAxe, 1, 1; + getitembound Tyranny, 1, 1; + getitembound Runestaff, 1, 1; + $LEGENDARYINIT=true; + Exception("Legendary weapons not previously initialized.", RB_ISFATAL|RB_DISPBOTTOM); + } + } // Player is not attached .@id = getcharid(0, .@request$); |