Jump to content
  • 0

I need help how to IgnoreDamage of reflect skill in some mobs


lyleham

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   4
  • Joined:  09/25/15
  • Last Seen:  

Hello Good day rathena,
I need some help on how my idea will work
here is the explanation and some example

I duplicated a Monster and modified some of its stats
What I need is 100HP Monster
and a 1HP damage receive per attack of player
and I already fix this parts of the modification
 using
 Modes:
      IgnoreMagic: true
      IgnoreMelee: true
      IgnoreMisc: true
      IgnoreRanged: true 
this is the result, and this is perfect!
BUT, Check the second picture

help1.thumb.png.84d2d52907675d7431c9b4b84ab64959.png


Here is the problem,
When the player use a reflect buff like reject sword,. the monster will die easy if not 1hit (Because of 100HP)., 
This part is I need some help, ? I want the reject sword or any reflect damage will have 1hp damage only or none at all.

help2.thumb.png.daf70e8b3d098d0eb91327dd22f57783.png

I hope someone will have an idea on how to do it thank you
More power!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

3 hours ago, lyleham said:

Hello Good day rathena,
I need some help on how my idea will work
here is the explanation and some example

I duplicated a Monster and modified some of its stats
What I need is 100HP Monster
and a 1HP damage receive per attack of player
and I already fix this parts of the modification
 using
 Modes:
      IgnoreMagic: true
      IgnoreMelee: true
      IgnoreMisc: true
      IgnoreRanged: true 
this is the result, and this is perfect!
BUT, Check the second picture

help1.thumb.png.84d2d52907675d7431c9b4b84ab64959.png


Here is the problem,
When the player use a reflect buff like reject sword,. the monster will die easy if not 1hit (Because of 100HP)., 
This part is I need some help, ? I want the reject sword or any reflect damage will have 1hp damage only or none at all.

help2.thumb.png.daf70e8b3d098d0eb91327dd22f57783.png

I hope someone will have an idea on how to do it thank you
More power!

	case ST_REJECTSWORD:
		sc_start(src,bl,SC_AUTOCOUNTER,(skill_lv*15),skill_lv,skill_get_time(skill_id,skill_lv));
		break;

Reject Sword is triggering SC_AUTOCOUNTER (Knight skill Auto Counter or not sure if this one's exclusive for Reject Sword) for this so maybe you can try and do something at KN_AUTOCOUNTER in battle.cpp

 

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...