Przeglądaj źródła

- Modified exp2.txt to use the default official levels instead of 1000
- Corrected exp2.txt's job lines for novice/baby novice.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5225 54d463be-8e91-2dee-dedb-b68131a5f0ec

skotlex 19 lat temu
rodzic
commit
516668a5ec
3 zmienionych plików z 6 dodań i 1 usunięć
  1. 3 0
      Changelog-Trunk.txt
  2. 2 0
      db/exp2.txt
  3. 1 1
      src/map/battle.c

+ 3 - 0
Changelog-Trunk.txt

@@ -4,6 +4,9 @@ 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.  EVERYTHING ELSE
 GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
 
+2006/02/08
+	* Fixes to exp2.txt on the novice job exp. Thanks to rollopop. [Skotlex]
+	- Also modified exp2.txt to use the normal max levels by default.
 2006/02/07
 	* Modified battle_check_distance, mobs should no longer find a diagonal
 	  spot on which they lock onto their target, yet fail to attack from. [Skotlex]

Plik diff jest za duży
+ 2 - 0
db/exp2.txt


+ 1 - 1
src/map/battle.c

@@ -3170,7 +3170,7 @@ int battle_weapon_attack( struct block_list *src,struct block_list *target,
 			if (tsd && sd->sp_drain_type)
 				pc_heal(tsd, 0, -sp);
 
-			if (target && target->type == BL_PC && rand()%1000 < sd->sp_vanish_rate)
+			if (tsd && rand()%1000 < sd->sp_vanish_rate)
 			{
 				sp = tsd->status.sp * sd->sp_vanish_per/100;
 				if (sp > 0)

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików