Jump to content

chowking

Members
  • Posts

    178
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by chowking

  1. after updating to d569d288bd from nov 4 git

    hydra cards and other bonus2 AddRace, bonus2 SubRace stopped working

     

    changed the item types from 5 to 4 and 4 to 5 and using akkarin's sql command

     

    Figured out whats wrong,, just needed to include bonuses of previous rc_demihuman with rc_player

  2. in rathena/src/map/battle.c

    Find:
     

    if (sc->data[SC_SPIRIT]){
        if(skill_id == AS_SONICBLOW && sc->data[SC_SPIRIT]->val2 == SL_ASSASIN){
           ATK_ADDRATE(wd.damage, wd.damage2, map_flag_gvg(src->m)?25:100); //+25% dmg on woe/+100% dmg on nonwoe
    
    #ifdef RENEWAL
           ATK_ADDRATE(wd.weaponAtk, wd.weaponAtk2, map_flag_gvg(src->m)?25:100); //+25% dmg on woe/+100% dmg on nonwoe
    #endif
         }
    

    If you're using pre-re

    Replace:
     

     

    ATK_ADDRATE(wd.damage, wd.damage2, map_flag_gvg(src->m)?25:100); //+25% dmg on woe/+100% dmg on nonwoe

    with the percentage you want,

    if using RENEWAL
     

     

    ATK_ADDRATE(wd.weaponAtk, wd.weaponAtk2, map_flag_gvg(src->m)?25:100); //+25% dmg on woe/+100% dmg on nonwoe


    save and recompile

  3. modified @warp command to show the actual time remaining on when they can use the command after hitting / getting hit, but when using the @warp/@go command after hitting / getting hit, map server displays error,

     

    In: src/map/atcommand.c

    if( !pc_get_group_level(sd) && DIFF_TICK(gettick(),sd->warpgodelay_tick) < 10000 ) {	
    	sprintf(atcmd_output, msg_txt(sd,2000), sd->warpgodelay_tick);
    	clif_displaymessage(fd,atcmd_output);
    	return -1;
    }
    

    In: conf/msg_conf/map_msg.conf

    2000: Cannot use @go for %s seconds.
    2001: Cannot use @warp for %s seconds.
    

    Also included in: conf/msg_conf/import/map_msg_eng_conf.txt

    2000: Cannot use @go for %s seconds.
    2001: Cannot use @warp for %s seconds.
    

    Error in Map server:

    [Debug]: Message #2000 not found for langtype 0.
    [Debug]: Selected langtype 0 not loaded, trying fallback...
    
  4. this is kinda late but.... 

     

     

    In rathena/src/map/battle.c

    Find:

    if(sd && (skillv = pc_checkskill(sd,MO_TRIPLEATTACK)) > 0) {
    

    Replace the whole code section with:

    if(sd && (skillv = pc_checkskill(sd,MO_TRIPLEATTACK)) > 0 && 
    	!(t_bl->type == BL_MOB && ((TBL_MOB*)t_bl)->class_ == MOBID_EMPERIUM) ) {
        int triple_rate= 30 - skillv; //Base Rate
        if (sc && sc->data[SC_SKILLRATE_UP] && sc->data[SC_SKILLRATE_UP]->val1 == MO_TRIPLEATTACK) {
            triple_rate+= triple_rate*(sc->data[SC_SKILLRATE_UP]->val2)/100;
            status_change_end(src, SC_SKILLRATE_UP, INVALID_TIMER);
        }
        if (rnd()%100 < triple_rate) {
    		if( skill_attack(BF_WEAPON,src,src,target,MO_TRIPLEATTACK,skillv,tick,0) )
                return ATK_DEF;
                return ATK_MISS;
        }
    }
    

    this would supposedly cancel the chance for doing a "triple attack" when attacking emp, haven't tested this yet though :),

×
×
  • Create New...