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/functions/util.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/functions/util.txt')
-rw-r--r-- | npc/functions/util.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 1966ce6df..5d510a709 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -633,6 +633,17 @@ function script alignment { return 0; } +// Returns if you are a legendary weapon holder +// islegendary( {strcharinfo} ) +function script islegendary { + .@you$ = getarg(0, strcharinfo(0)); + return (.@you$ == $LIGHT_HOLDER$ || + .@you$ == $AEGIS_HOLDER$ || + .@you$ == $TYRAN_HOLDER$ || + .@you$ == $RUNES_HOLDER$ || + .@you$ == $DEMUR_HOLDER$); +} + // Returns if an event is a ranked Aurora Event or not // (Had to be moved from functions/aurora.txt) function script FYEventUsesRanking { |