summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-25 05:47:09 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-25 05:47:09 -0300
commit9cfcbea43fc86fbad15eec4a7725c7d5be11c2eb (patch)
tree97b66762a45b50d02d30d9fecc152b32aa3bf2b8 /npc/functions
parent66044baa72ca209270a37d0010c11da910bfa3cf (diff)
downloadserverdata-9cfcbea43fc86fbad15eec4a7725c7d5be11c2eb.tar.gz
serverdata-9cfcbea43fc86fbad15eec4a7725c7d5be11c2eb.tar.bz2
serverdata-9cfcbea43fc86fbad15eec4a7725c7d5be11c2eb.tar.xz
serverdata-9cfcbea43fc86fbad15eec4a7725c7d5be11c2eb.zip
Remove the traces from the Subclass System, which was extinct along Magic v1
Diffstat (limited to 'npc/functions')
-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