Jump to content

Naruto

Members
  • Posts

    416
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Naruto

  1. Nothing solid, you might be able to do something using mobavail since those sprites have dont use simple targeting 

     

    Sounds possible that you can use hat effect and link it to the tiles but i havnt bothered

     

     

    specialeffect works but its just like a cast anim that repeats based on the interval

  2. 9 hours ago, Hnomkeng said:

    How to use ?

    Hmm nevermind thats not the one I used, but its something you use in your command prompth or something like mingw

     

    Ill attach the simple one but idk where I got it 

    1234.png

     

    just open the bat with notepad and add the lines - 

    your gonna have to redif your client probably and change your iteminfo 

     

     

     

    LuaDec for Lua 5.1.4.zip

  3. probably just need to add a if bl_hom tag and return 0 to this section near the top with the others

    		case UNT_WHISTLE:
    		case UNT_ASSASSINCROSS:
    		case UNT_POEMBRAGI:
    		case UNT_APPLEIDUN:
    		case UNT_HUMMING:
    		case UNT_DONTFORGETME:
    		case UNT_FORTUNEKISS:
    		case UNT_SERVICEFORYOU:
    			if (sg->src_id==bl->id && !(sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_BARDDANCER))
    				return 0;
    
    			if (!sc) return 0;
    			if (!sce)
    				sc_start4(ss, bl,type,100,sg->skill_lv,sg->val1,sg->val2,0,sg->limit);
    			else if (sce->val4 == 1) { //Readjust timers since the effect will not last long.
    				sce->val4 = 0; //remove the mark that we stepped out
    				delete_timer(sce->timer, status_change_timer);
    				sce->timer = add_timer(tick+sg->limit, status_change_timer, bl->id, type); //put duration back to 3min
    			}
    			break;

     

  4. 2 hours ago, pachupappy said:

    I am making a simplified effect grf for all skills in general. but apparently i am stucked with the heal effect of SPP.

    whenever it heals mana it uses MG_SRECOVERY 

     

     

    just delete your texture folder and wait for the effect to kick in

     

     

    • Upvote 1
  5. 4 hours ago, pachupappy said:

    might screw up skill.c, and I don't want that to happen XD
    I managed to find the Acolyte's heal and remove it but i don't think spp uses the same effect from it. i think it uses 3d effects? not sure though

    Tell me what you want it to do 

  6. case CR_SLIMPITCHER:
    		// Updated to block Slim Pitcher from working on barricades and guardian stones.
    		if (dstmd && (dstmd->mob_id == MOBID_EMPERIUM || status_get_class_(bl) == CLASS_BATTLEFIELD))
    			break;
    		if (potion_hp || potion_sp) {
    			int hp = potion_hp, sp = potion_sp;
    			hp = hp * (100 + (tstatus->vit<<1))/100;
    			sp = sp * (100 + (tstatus->int_<<1))/100;
    			if (dstsd) {
    				if (hp)
    					hp = hp * (100 + pc_checkskill(dstsd,SM_RECOVERY)*10 + pc_skillheal2_bonus(dstsd, skill_id))/100;
    				if (sp)
    					sp = sp * (100 + pc_checkskill(dstsd,MG_SRECOVERY)*10 + pc_skillheal2_bonus(dstsd, skill_id))/100;
    			}
    			if (tsc && tsc->count) {
    				uint8 penalty = 0;
    
    				if (tsc->data[SC_WATER_INSIGNIA] && tsc->data[SC_WATER_INSIGNIA]->val1 == 2) {
    					hp += hp / 10;
    					sp += sp / 10;
    				}
    				if (tsc->data[SC_CRITICALWOUND])
    					penalty += tsc->data[SC_CRITICALWOUND]->val2;
    				if (tsc->data[SC_DEATHHURT])
    					penalty += 20;
    				if (tsc->data[SC_NORECOVER_STATE])
    					penalty = 100;
    				if (penalty > 0) {
    					hp -= hp * penalty / 100;
    					sp -= sp * penalty / 100;
    				}
    			}
    			if(hp > 0)
    				clif_skill_nodamage(NULL,bl,AL_HEAL,hp,1);
    			if(sp > 0)
    				clif_skill_nodamage(NULL,bl,MG_SRECOVERY,sp,1);
    			status_heal(bl,hp,sp,0);
    		}
    		break;

     

    your probably looking to tweak this 

    if (potion_hp || potion_sp) {
    			int hp = potion_hp, sp = potion_sp;
    			hp = hp * (100 + (tstatus->vit<<1))/100;
    			sp = sp * (100 + (tstatus->int_<<1))/100;
    			if (dstsd) {
    				if (hp)
    					hp = hp * (100 + pc_checkskill(dstsd,SM_RECOVERY)*10 + pc_skillheal2_bonus(dstsd, skill_id))/100;
    				if (sp)
    					sp = sp * (100 + pc_checkskill(dstsd,MG_SRECOVERY)*10 + pc_skillheal2_bonus(dstsd, skill_id))/100;
    			}

     

    but in the other chunk you can modify the bonus recieved from those extra things 

    • Upvote 1
×
×
  • Create New...