Forráskód Böngészése

- The Rest bonus activated by using /doridori while in rest should now trigger with all the class tree (TK/SL/SG)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6493 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 éve
szülő
commit
82ae461fa7
2 módosított fájl, 3 hozzáadás és 1 törlés
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/clif.c

+ 2 - 0
Changelog-Trunk.txt

@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2006/05/05
+	* The Rest bonus activated by using /doridori while in rest should now
+	  trigger with all the class tree (TK/SL/SG) [Skotlex]
 	* Fixed Kaupe always triggering when the one who was under Kaupe was a
 	  player rather than the one attacking... [Skotlex]
 	* /doridori now won't double the HP/SP regen of TKs, it only activates

+ 1 - 1
src/map/clif.c

@@ -10824,7 +10824,7 @@ void clif_parse_NoviceDoriDori(int fd, struct map_session_data *sd) {
 	if ((sd->class_&MAPID_UPPERMASK) == MAPID_SUPER_NOVICE)
 		sd->doridori_counter++;
 	
-	if ((sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON
+	if ((sd->class_&MAPID_BASEMASK) == MAPID_TAEKWON
 		&& sd->state.rest && (level = pc_checkskill(sd,TK_SPTIME)))
 		sc_start(&sd->bl,SkillStatusChangeTable[TK_SPTIME],100,level,skill_get_time(TK_SPTIME, level));
 	return;