Browse Source

- Corrected the Soul Drain formula, thanks to Haplo for pointing it out.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5932 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 years ago
parent
commit
57ef599e9e
2 changed files with 3 additions and 1 deletions
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/mob.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.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 
 2006/04/06
 2006/04/06
+	* Corrected the Soul Drain formula, thanks to Haplo for pointing it out.
+	  [Skotlex]
 	* Addded missing aldeg_cas01 to NOWARP mapflags, thanks to Justin84 [Lupus]
 	* Addded missing aldeg_cas01 to NOWARP mapflags, thanks to Justin84 [Lupus]
 		- And we set lhz_dun03 nowarpto mapflag by default till check it on eRO/kRO
 		- And we set lhz_dun03 nowarpto mapflag by default till check it on eRO/kRO
 	* Changed the random warping of mobs with no players from mob_spawn to
 	* Changed the random warping of mobs with no players from mob_spawn to

+ 1 - 1
src/map/mob.c

@@ -1867,7 +1867,7 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type)
 		{	//Soul Drain should only work on targetted spells [Skotlex]
 		{	//Soul Drain should only work on targetted spells [Skotlex]
 			if (pc_issit(sd)) pc_setstand(sd); //Character stuck in attacking animation while 'sitting' fix. [Skotlex]
 			if (pc_issit(sd)) pc_setstand(sd); //Character stuck in attacking animation while 'sitting' fix. [Skotlex]
 			clif_skill_nodamage(src,&md->bl,HW_SOULDRAIN,i,1);
 			clif_skill_nodamage(src,&md->bl,HW_SOULDRAIN,i,1);
-			sp += (status_get_lv(&md->bl))*(65+15*i)/100;
+			sp += (status_get_lv(&md->bl))*(95+15*i)/100;
 		}
 		}
 		sp += sd->sp_gain_value;
 		sp += sd->sp_gain_value;
 		sp += sd->sp_gain_race[race];
 		sp += sd->sp_gain_race[race];