diff options
author | Emistry Haoyan <Equinox1991@gmail.com> | 2017-03-04 00:03:18 +0800 |
---|---|---|
committer | Emistry Haoyan <Equinox1991@gmail.com> | 2017-03-05 02:22:36 +0800 |
commit | 70ac738138ec2d3c48faccab6f1cde7b1a014516 (patch) | |
tree | 1dbde0e57787c9ea36953f8fabde43e5511c0a9c /npc | |
parent | 9fba7e8c5966bb0aa5ce1c31ebe5cec96180e1d5 (diff) | |
download | hercules-70ac738138ec2d3c48faccab6f1cde7b1a014516.tar.gz hercules-70ac738138ec2d3c48faccab6f1cde7b1a014516.tar.bz2 hercules-70ac738138ec2d3c48faccab6f1cde7b1a014516.tar.xz hercules-70ac738138ec2d3c48faccab6f1cde7b1a014516.zip |
Update Global Function - Remove F_Sex
- not using in any script, could be easily replace by simply if-else
condition.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/other/Global_Functions.txt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt index f6068d598..544e3a672 100644 --- a/npc/other/Global_Functions.txt +++ b/npc/other/Global_Functions.txt @@ -156,16 +156,6 @@ function script F_Rand { return getarg(rand(getargcount())); } -//== Function F_Sex ======================================== -// Returns 1st argument if female, 2nd argument otherwise -// Example: mes callfunc("F_Sex","What a beautiful lady!","What a handsome man!"); -function script F_SexMes { - if (Sex == SEX_MALE) - return getarg(0); - else - return getarg(1); -} - //== Function F_Hi ========================================= // Returns random HELLO message function script F_Hi { |