Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/16/22 in Posts

  1. if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) { struct map_session_data *sd = BL_CAST(BL_PC, s_bl); struct mob_data *md = BL_CAST(BL_MOB, t_bl); if ( ( ( md->class_ == 1288 || md->class_ == 1905 ) && !strcmp( mapindex_id2name(sd->mapindex), "arug_que01" ) ) && ( sd->status.guild_id == mapreg_readreg( add_str("$koegid") ) || battle_getcurrentskill(src) > 0 ) ) switch(battle_getcurrentskill(src)){ case AL_PNEUMA: case MG_SAFETYWALL: case PR_SANCTUARY: //add more skill here break; default: return 0; } }
    1 point
  2. Error 1 error C2065: 'sc' sc = status_get_sc(sd); if (sc->data[sC_TRICKDEAD]) { Error 5 error C2223: left of '->data' must point to struct/union if (sc->data[sC_TRICKDEAD]) { i got these error by the way problem solve. just remove the sc = status_get_sc(sd); and simply change the if (sc->data[sC_TRICKDEAD]) to if (sd->sc.data[sC_TRICKDEAD]) thanks for showing how it works.
    1 point
×
×
  • Create New...