summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r--npc/functions/util.txt31
1 files changed, 0 insertions, 31 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 9ac8d1fc5..9b5d63d02 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -664,37 +664,6 @@ function script mstone {
readparam(Sp) == readparam(MaxSp));
}
-/*
-// Gets how many subclasses were actually filled
-// total_subclass( )
-function script total_subclass {
- .@i=0;
- if (MAGIC_SUBCLASS & CL_PALADIN)
- .@i+=1;
- if (MAGIC_SUBCLASS & CL_TANKER)
- .@i+=1;
- if (MAGIC_SUBCLASS & CL_BERSERKER)
- .@i+=1;
- if (MAGIC_SUBCLASS & CL_RANGER)
- .@i+=1;
- if (MAGIC_SUBCLASS & CL_SNIPER)
- .@i+=1;
- if (MAGIC_SUBCLASS & CL_WIZARD)
- .@i+=1;
- if (MAGIC_SUBCLASS & CL_SAGE)
- .@i+=1;
- if (MAGIC_SUBCLASS & CL_PRIEST)
- .@i+=1;
- return .@i;
-}
-
-// Gets how many subclasses were actually allowed
-// max_subclass()
-function script max_subclass {
- return (MAGIC_LVL/2);
-}
-*/
-
// MAGIC_PTS → Amount of used Magic Skill Points
// sk_maxpoints() → Max Magic Skill Points you may use
// Returns how many points you can use