فهرست منبع

* Attempt to fix Kyrie Eleison not castable on enemy players
- please test, I can't double client to test it in pvp
- don't forget to recompile before testing

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

Playtester 18 سال پیش
والد
کامیت
ea4b252218
3فایلهای تغییر یافته به همراه12 افزوده شده و 4 حذف شده
  1. 4 0
      Changelog-Trunk.txt
  2. 1 1
      db/skill_db.txt
  3. 7 3
      src/map/status.c

+ 4 - 0
Changelog-Trunk.txt

@@ -3,6 +3,10 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
+2007/05/06
+	* Attempt to fix Kyrie Eleison not castable on enemy players [Playtester]
+	- please test, I can't double client to test it in pvp
+	- don't forget to recompile before testing
 2007/05/04
 	* Added an optional read-from-GRF/GAT map loading system back in.
 	- It can be turned on with the use_grf flag in map_athena.conf.

+ 1 - 1
db/skill_db.txt

@@ -111,7 +111,7 @@
 70,9,6,2,6,0x21,0,10,1,yes,0,0,0,magic,1	//PR_SANCTUARY#Sanctuary#
 71,9,6,16,0,0x1,0,4,1,yes,0,0,0,magic,0	//PR_SLOWPOISON#Slow Poison#
 72,9,6,16,0,0x1,0,1,1,yes,0,0,0,magic,0	//PR_STRECOVERY#Status Recovery#
-73,9,6,16,0,0x1,0,10,1,yes,0,0x1000,0,magic,0	//PR_KYRIE#Kyrie Eleison#
+73,9,6,16,0,0x1,0,10,1,yes,0,0,0,magic,0	//PR_KYRIE#Kyrie Eleison#
 74,0,6,4,0,0x3,-1,5,1,yes,0,0,0,magic,0	//PR_MAGNIFICAT#Magnificat#
 75,0,6,4,0,0x3,-1,5,1,yes,0,0,0,magic,0	//PR_GLORIA#Gloria#
 76,5,6,1,0,0x1,0:0:0:0:0:0:0:0:0:0:-1,10,0,yes,0,0,0,magic,0	//PR_LEXDIVINA#Lex Divina#

+ 7 - 3
src/map/status.c

@@ -4594,10 +4594,14 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
 		//Only affects demons and undead.
 		if(status->race != RC_DEMON && !undead_flag)
 			return 0;
-		break;
+	break;
 	case SC_AETERNA:
-	  if (sc->data[SC_STONE].timer != -1 || sc->data[SC_FREEZE].timer != -1)
-		  return 0;
+		if (sc->data[SC_STONE].timer != -1 || sc->data[SC_FREEZE].timer != -1)
+			return 0;
+	break;
+	case SC_KYRIE:
+		if (bl->type == BL_MOB)
+			return 0;
 	break;
 	case SC_OVERTHRUST:
 		if (sc->data[SC_MAXOVERTHRUST].timer != -1)