summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlmaatl <lmaatl@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-24 18:43:43 +0000
committerlmaatl <lmaatl@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-24 18:43:43 +0000
commitde93c666eda2459d42f6dda0ade56655ef643291 (patch)
treec3e3e7cca74699201e9f5f98ee78d038d7572160
parentd690f8e4b30669b088b99e7b038348dbceb69d5c (diff)
downloadhercules-de93c666eda2459d42f6dda0ade56655ef643291.tar.gz
hercules-de93c666eda2459d42f6dda0ade56655ef643291.tar.bz2
hercules-de93c666eda2459d42f6dda0ade56655ef643291.tar.xz
hercules-de93c666eda2459d42f6dda0ade56655ef643291.zip
- Fixed bugreport:6101, the points of skills are not restarted after change the job
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16340 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--npc/custom/jobmaster.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/npc/custom/jobmaster.txt b/npc/custom/jobmaster.txt
index ccd2faaed..74c0ee762 100644
--- a/npc/custom/jobmaster.txt
+++ b/npc/custom/jobmaster.txt
@@ -3,11 +3,14 @@
//===== By: ==================================================
//= Euphy
//===== Current Version: =====================================
-//= 1.0
+//= 1.1
//===== Compatible With: =====================================
//= rAthena SVN r16114+
//===== Description: =========================================
//= A fully functional job changer.
+//===== Additional Comments: =================================
+//= 1.0 First Version
+//= 1.1 Fixed the problem of skill points on change job
//============================================================
prontera,153,193,6 script Job Master 123,{
@@ -100,7 +103,8 @@ function Job_Menu {
if (.@i==4001) {
if (.LastJob) set lastJob, Class;
jobchange .@i;
- resetlvl(1); }
+ resetlvl(1);
+ set SkillPoint, 0; }
else jobchange .@i;
specialeffect2 338; specialeffect2 432;
if (.Platinum) callsub Get_Platinum;