Jump to content
  • 0

Please helm with this item


Kozima

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  82
  • Reputation:   2
  • Joined:  10/30/13
  • Last Seen:  

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

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  192
  • Reputation:   9
  • Joined:  05/08/13
  • Last Seen:  

What exactly do you want from the stonehardskin effect?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  82
  • Reputation:   2
  • Joined:  10/30/13
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

That would be a source edit Kozima.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  82
  • Reputation:   2
  • Joined:  10/30/13
  • Last Seen:  

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

 

Will you teach me??

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  82
  • Reputation:   2
  • Joined:  10/30/13
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  192
  • Reputation:   9
  • Joined:  05/08/13
  • Last Seen:  

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;
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  82
  • Reputation:   2
  • Joined:  10/30/13
  • Last Seen:  

 

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 ^_^

Link to comment
Share on other sites

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.

×
×
  • Create New...