Jump to content
  • 0

Please helm with this item


Question

Posted

hello good day...

 

please help with this item ...

12733,Runstone_Hagalas,Hagalaz Rune,11,100,,100,,,,,0xFFFFFFFF,8,2,,,,,,{ itemskill "RK_STONEHARDSKIN",1; },{},{}

	Cast 'Stonehard Skin' changing your skin into a solid shell for 3 minutes. Has a chance of destroying weapons of attacking enemies.
Consumes 25% of your HP and this skin possesses the same amount of HP consumed.
It disappears when all the HP is consumed.
For monsters, it decreases 25% of Atk for 10 seconds at a fixed rate.
This skill cannot be used for a boss monster.

on my server if Rune Knight use that stone, def going to 127 and mdef going 127

 

How to erase that Def and Mdef ?

 

Sorry for my bad english

 

Please Help 

 

Thanks a lot

8 answers to this question

Recommended Posts

  • 0
Posted

Thanks for Replay Isaiah

 

Right, i will change RK_STONEHARDSKIN if i use this stone, my def and my mdef up to 127 

 

i will remove that def and mdef

 

can you?

  • 0
Posted

Thanks a lot for Replay Stolao, where and how to edit that Rune???

 

Will you teach me??

Unfortunately my computer is down (on phone) I'm waiting on a part atm

  • 0
Posted

src/map/skill.c

	case RK_STONEHARDSKIN:
		if( sd && pc_checkskill(sd,RK_RUNEMASTERY) >= 4 )
		{
			int heal = sstatus->hp / 5; // 20% HP
			if( status_charge(bl,heal,0) )
				clif_skill_nodamage(src,bl,skill_id,skill_lv,sc_start2(src,bl,type,100,skill_lv,heal,skill_get_time(skill_id,skill_lv)));
			else
				clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
		}
		break;

src/map/status.c

		case SC_STONEHARDSKIN:
			if( sd )
				val1 = sd->status.job_level * pc_checkskill(sd, RK_RUNEMASTERY) / 4; // DEF/MDEF Increase
			break;

src/map/battle.c

		if( damage > 0 && ((flag&(BF_WEAPON|BF_SHORT)) == (BF_WEAPON|BF_SHORT)) && (sce = sc->data[SC_STONEHARDSKIN]) ) {
			sce->val2 -= (int)cap_value(damage,INT_MIN,INT_MAX);
			if( src->type == BL_MOB ) //using explicit call instead break_equip for duration
				sc_start(src,src, SC_STRIPWEAPON, 30, 0, skill_get_time2(RK_STONEHARDSKIN, sce->val1));
			else
				skill_break_equip(src,src, EQP_WEAPON, 3000, BCT_SELF);
			if( sce->val2 <= 0 )
				status_change_end(bl, SC_STONEHARDSKIN, INVALID_TIMER);
		}

where to delete def and mdef of STONEHARDSKIN

  • 0
Posted

Well you could use this unorthodox method to preserve the code if you decide to revert the changes. Then don't forget to compile again.

 

src/map/status.c

		case SC_STONEHARDSKIN:
			if( sd )
				val1 = sd->status.job_level * pc_checkskill(sd, RK_RUNEMASTERY) / 4; // DEF/MDEF Increase
			break;

change to

		case SC_STONEHARDSKIN:
			if( sd )
				val1 = sd->status.job_level * pc_checkskill(sd, RK_RUNEMASTERY) * 0; // DEF/MDEF Increase
			break;
  • 0
Posted

 

Well you could use this unorthodox method to preserve the code if you decide to revert the changes. Then don't forget to compile again.

 

src/map/status.c

		case SC_STONEHARDSKIN:
			if( sd )
				val1 = sd->status.job_level * pc_checkskill(sd, RK_RUNEMASTERY) / 4; // DEF/MDEF Increase
			break;

change to

		case SC_STONEHARDSKIN:
			if( sd )
				val1 = sd->status.job_level * pc_checkskill(sd, RK_RUNEMASTERY) * 0; // DEF/MDEF Increase
			break;

 

 

thanks for replay Isaiah ,

 

i will try it first

 

thanks for help ^_^

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...