diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-02-18 04:02:52 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-02-18 04:02:52 -0300 |
commit | 802c15e6a7f4c07b7fe0a7ed47d1defbcce4824d (patch) | |
tree | e09b3aafeaad9251fbcdcf146960bab4df12f0ee /npc/commands/grantpower.txt | |
parent | e28a3651adad1c976e5286c356e7eca21f6234cf (diff) | |
download | serverdata-802c15e6a7f4c07b7fe0a7ed47d1defbcce4824d.tar.gz serverdata-802c15e6a7f4c07b7fe0a7ed47d1defbcce4824d.tar.bz2 serverdata-802c15e6a7f4c07b7fe0a7ed47d1defbcce4824d.tar.xz serverdata-802c15e6a7f4c07b7fe0a7ed47d1defbcce4824d.zip |
Aegis Shield Blackbox
Diffstat (limited to 'npc/commands/grantpower.txt')
-rw-r--r-- | npc/commands/grantpower.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/npc/commands/grantpower.txt b/npc/commands/grantpower.txt index 3ce37e47b..d051c5896 100644 --- a/npc/commands/grantpower.txt +++ b/npc/commands/grantpower.txt @@ -55,6 +55,19 @@ OnCall: detachrid(); attachrid(.@ori); delitem .@ite, 1; + switch (.@ite) { + case DemureAxe: + $DEMUR_HOLDER$ = .@request$; break; + case Tyranny: + $TYRAN_HOLDER$ = .@request$; break; + case Runestaff: + $RUNES_HOLDER$ = .@request$; break; + case AegisShield: + $AEGIS_HOLDER$ = .@request$; break; + default: + Exception("Invalid legendary item "+str(.@ite), + RB_DEFAULT|RB_IRCBROADCAST); break; + } } else { Exception("Player not found.", RB_ISFATAL|RB_SPEECH); } |