• Due to recent spam attacks that heavily used compormised accounts we did reset all user passwords, AGAIN, if it happens and your account got compromised again due to re-used passwords your account will be perma-banned.

Koe source code convertion

thanna

Member
Messages
212
Points
18
Hello I have a little source code for KOE that worked before and it is made from rathena, can someone help me to convert it ot hercules because Im having error when Im compilng it

here's the code

Code:
	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), "vmorocc" ) ) &&			( sd->status.guild_id == mapreg_readreg( add_str("$KOEGUILD") ) || battle_getcurrentskill(src) > 0 ) )		return 0;	}
 
Back
Top