Jump to content

andybe

Members
  • Content Count

    13
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    andybe reacted to Dduwsmitt in How to make Certain Skills and Critical Hits ignore reflect?   
    Find this line at battle.c

     
    if( sc->data[SC_REFLECTSHIELD] && skill_id != WS_CARTTERMINATION && skill_id != GS_DESPERADO && !(d_bl && !(wd->flag&BF_SKILL)) // It should not be a basic attack if the target is under devotion && !(d_bl && sce_d && !check_distance_bl(target, d_bl, sce_d->val3)) // It should not be out of range if the target is under devotion ) {  
    Add the skills you dont want to reflect on if( sc->data[SC_REFLECTSHIELD] && skill_id != WS_CARTTERMINATION && skill_id != GS_DESPERADO
     
    example i want bash not to be reflected by reflect shield i will add this line: && skill_id != SM_BASH
    so it will be
    if( sc->data[SC_REFLECTSHIELD] && skill_id != WS_CARTTERMINATION && skill_id != GS_DESPERADO && skill_id != SM_BASH  
  2. Upvote
    andybe reacted to meko in mapreg->setreg question   
    It's not getting overwritten; reference_uid() is var, index. In this case "count" is the index, and it's being incremented every time (count++).
     
    To iterate through those variables in script, a simple for() loop will do the trick just fine. See also:
     
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.