Jump to content

xilence01

Members
  • Posts

    177
  • Joined

  • Last visited

Posts posted by xilence01

  1. Hi rAthena,

    I've added this on my import/item_trade.txt

    7059,475,50		// Free Ticket Kafra Storage

     

    Since I put "50" on group override, it means that group 50 and above can override this TradeMask.

    But when I tried dropping the item. It doesn't dropped!

    Below are the images.

    screenrAthena007.jpg

    screenrAthena009.jpg

  2. On 10/2/2018 at 6:59 PM, Bringer said:

    try to use Suffragium Code

    Hmmm, tried inserting this, but nothing happens:

    		if (sc->data[SC_SUFFRAGIUM]) {
    			if(!(flag&2))
    				time -= time * sc->data[SC_SUFFRAGIUM]->val2 / 100;
    			//Suffragium ends even if the skill is not affected by it
    			status_change_end(bl, SC_SUFFRAGIUM, INVALID_TIMER);
    		}
    		if (sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_GUNNER && skill_id == GS_TRACKING) {
    			if(!(flag&2))
    				time -= time * 50 / 100;
    		}

     

     

    UP

     

    UP

     

    up

  3. Hi, I've successfully implemented a soul link for Gunslingers (SL_GUNNER) on my server.

    I want to add an effect that will reduce the cast time of the Tracking skill to 70% (or remove it totally) when the GS is soul linked.

    I tried putting this code in skill.c BUT it failed

    		case GS_TRACKING:
    			if (sd && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_GUNNER)
    				time = 0;
    			break;

    Any help will be appreciated. Thanks!

  4. Just backup your database and server files from your old VPS then install the necessary tools you need to your new VPS (mysql, phpmyadmin, apache, etc) then transfer your backup files from your old vps to your new vps. DONE.

    Make sure you change the IP both server-side and client-side.

  5. 4 hours ago, idLaZ said:

    Hi, are you using latest rAthena? May I know what lines have you commented? Thanks.

    Hi, Im not using the latest rAthena, but here are the lines I have commented:

    @ skill.c

    case AM_POTIONPITCHER: 
    		{
    			int j,hp = 0,sp = 0;
    			//if( dstmd && dstmd->mob_id == MOBID_EMPERIUM ) {
    			//	map_freeblock_unlock();
    			//	return 1;
    			//}

     

    Anyway, it heals the emperium but not following the formula of Potion Pitcher.
    It only heals it for 0 or 1 Value.

  6. 1 hour ago, Ninja said:

    I think you'd rather put it in status.c instead of skill.c. This is because script.c BUILDIN(sc_start) directly accesses status.c's status_change_start() instead of skill.c's skill_castend_nodamage_id(). So you'll never achieve it if using your current implementation.

    hence:

    status.c

    status_change_start

    
    		case SC_SPIRIT:
    			//1st Transcendent Spirit works similar to Marionette Control
    			if(sd && val2 == SL_HIGH) {
    				int stat,max_stat;
    				struct status_data *status2 = status_get_base_status(bl);
    
    				val3 = 0;
    				val4 = 0;
    				max_stat = (status_get_lv(bl)-10<50)?status_get_lv(bl)-10:50;
    				stat = max(0, max_stat - status2->str); val3 |= cap_value(stat,0,0xFF)<<16;
    				stat = max(0, max_stat - status2->agi ); val3 |= cap_value(stat,0,0xFF)<<8;
    				stat = max(0, max_stat - status2->vit ); val3 |= cap_value(stat,0,0xFF);
    				stat = max(0, max_stat - status2->int_); val4 |= cap_value(stat,0,0xFF)<<16;
    				stat = max(0, max_stat - status2->dex ); val4 |= cap_value(stat,0,0xFF)<<8;
    				stat = max(0, max_stat - status2->luk ); val4 |= cap_value(stat,0,0xFF);
    			}
    			if (sd && val2 == SL_PRIEST) {
    				int skill_id = val2;
    				int skill_lv = val1;
    				clif_skill_nodamage(src, bl, skill_id, skill_lv,
    					sc_start4(src, bl, SC_REFLECTSHIELD, 100, 7, skill_id, 0, 0, skill_get_time(skill_id, skill_lv)));
    			}
    			break;

     

    I noticed that you are still using ".c" which means you're not using the latest rA. I've tested this in latest rA and might not work for you. Try it nonetheless.

    Its working fine now. Thanks a lot!

  7. I tried adding this code in skill.c

       		if (skill_id == SL_PRIEST) {
    			clif_skill_nodamage(src,bl,skill_id,skill_lv,
    				sc_start4(src,bl,SC_REFLECTSHIELD,100,7,skill_id,0,0,skill_get_time(skill_id,skill_lv)));
    		}

    To Automatically receives Lv.7 "Reflect Shield" status that will make melee attacks to be reflected.

    It worked fine when a Soul Linker Job casts the spell on the priest.

    But when i created an item with this item bonus:

    skilleffect "SL_PRIEST",0; sc_start4 SC_SPIRIT,350000,5,454,0,0;

    After the using item, the soul link doesn't work.

     

    I provided screenshots:

    a) When used an item with the given itembonus. NOT WORKING

    b) When a Soul Linker casts the spell. WORKING

    screenYourServerName005.jpg

    screenYourServerName004.jpg

  8. Can someone help me about this one?

    1. Old FCP Behavior

    2. Paladin Link - Increase Shield Chain Damage by 200%

    3. LK Link - Increase Bowling , Brandish , Spiral Damage by 100%

    4. SG Link - Parrying , LOV , Increase damage to boss monster by 200%

    2. Find this in battle.c

     

    case PA_SHIELDCHAIN:
    skillratio += 30 * skill_lv;
    break;

    Replace with:

    case PA_SHIELDCHAIN:
    if (sd && sd->sc.data[sC_SPIRIT] && sd->sc.data[sC_SPIRIT]->val2 == SL_CRUSADER)
    skillratio += 40*skill_lv;
    else
    skillratio += 30 * skill_lv;

     

     

    This is 150% to 200%

  9. Hi rAthena,

     

    how can i make Acid Terror becomes a splash skill in an area of 4x4 around the targetted player or mob and does 100%+110%*SkillLV ATK.

     

    i tried copying the effect of COMBOFINISH, but it didn't work.

    Here's what MO_COMBOFINISH code is:

    	case MO_COMBOFINISH:
    		if (!(flag&1) && sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_MONK)
    		{	//Becomes a splash attack when Soul Linked.
    			map_foreachinrange(skill_area_sub, bl,
    				skill_get_splash(skill_id, skill_lv),splash_target(src),
    				src,skill_id,skill_lv,tick, flag|BCT_ENEMY|1,
    				skill_castend_damage_id);
    		} else
    			skill_attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,flag);
    		break;
    
  10.  

    You'll have to write your own handling what should happen when a PC has SC_REBIRTH.

     

    Right now it only handles monsters (status.c -> status_damage):

    	if (target->type == BL_MOB && sc && sc->data[SC_REBIRTH] && !((TBL_MOB*) target)->state.rebirth) { // Ensure the monster has not already rebirthed before doing so.
    		status_revive(target, sc->data[SC_REBIRTH]->val2, 0);
    		status_change_clear(target,0);
    		((TBL_MOB*)target)->state.rebirth = 1;
    
    		return (int)(hp+sp);
    	}
    

    how can i make it work like SL_KAIZEL? and you can cast it to yourself and other party members.

    Nvm. Thanks for the help playtester and stolao.

    Fixed it already.

  11. Why not use SL skill Kazail?

    I'm planning to do that. but i dont want to change that skill.

    Any idea how to make NPC_Rebirth work like SL_Kaizel? but you can cast it to yourself and/or party members?

  12. Hi, i tried putting the skill "NPC_Rebirth" to priest class.

    According to IRO WIKI:

    • Supportive skill
    • Levels: 3

    When the caster dies, it immediately respawns in the same spot with half HP.

     

    I successfully added it but the problem is, my player doesn't revive.

    I think this is a src error or db error. not sure.

     

    My scenario:

    I casted LVL 3 NPC_Rebirth to my character.

    Enemy killed me.

    Did i revive? NOPE.

×
×
  • Create New...