From 70ac738138ec2d3c48faccab6f1cde7b1a014516 Mon Sep 17 00:00:00 2001 From: Emistry Haoyan Date: Sat, 4 Mar 2017 00:03:18 +0800 Subject: Update Global Function - Remove F_Sex - not using in any script, could be easily replace by simply if-else condition. --- npc/other/Global_Functions.txt | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'npc/other/Global_Functions.txt') 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 { -- cgit v1.2.3-60-g2f50