- 0
	
		 Sign in to follow this  
	
	
	
		
		
			Followers
			0
		
	
KoE hitting Emperium Not Compatible to Hercules
				
				
					Asked by 
Shatowolf
				
				
				
			
- 
Recently Browsing 0 membersNo registered users viewing this page. 
 
				
				
					Asked by 
Shatowolf
				
				
				
			
No registered users viewing this page.
By using this site, you agree to our Terms of Use.
KoE hitting Emperium Not Compatible to Hercules
any fix/compatible at hercules?
thanks.
Here's the code that working at rAthena
Index: battle.c===================================================================--- battle.c (revision 16817)+++ battle.c (working copy)@@ -5021,6 +5021,13 @@ if( (s_bl = battle_get_master(src)) == NULL ) s_bl = src; + if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) {+ struct map_session_data *sd = BL_CAST(BL_PC, s_bl);+ if ( ( ((TBL_MOB*)target)->class_ == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) &&+ ( sd->status.guild_id == mapreg_readreg( add_str("$KOEGUILD") ) || battle_getcurrentskill(src) > 0 ) )+ return 0;+ }+ if ( s_bl->type == BL_PC ) { switch( t_bl->type ) { case BL_MOB: // Source => PC, Target => MOBIndex: battle.h===================================================================--- battle.h (revision 16817)+++ battle.h (working copy)@@ -3,6 +3,7 @@ #ifndef _BATTLE_H_ #define _BATTLE_H_+#include "mapreg.h" // state of a single attack attempt; used in flee/def penalty calculations when mobbed typedef enum damage_lv {Share this post
Link to post
Share on other sites