Jump to content
  • 0
ThyroDree

Blast Mine will bypass 1 damage for plant monster

Question

Anyone can help me? It is possible to make Blast Mine (Sniper Trap Skill) will bypass the 1 hp damage for plant monsters?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 1

Hi.

 

In src/map/battle.c find function battle_calc_misc_attack() and replace:

		switch(skill_id){
			case HT_LANDMINE:
			case MA_LANDMINE:
			case HT_BLASTMINE:
			case HT_CLAYMORETRAP:
			case RA_CLUSTERBOMB:
#ifdef RENEWAL
				break;
#endif
			default:
				md.damage = 1;
		}

With:

		switch(skill_id){
			case HT_BLASTMINE:
				break;
			case HT_LANDMINE:
			case MA_LANDMINE:
			case HT_CLAYMORETRAP:
			case RA_CLUSTERBOMB:
#ifdef RENEWAL
				break;
#endif
			default:
				md.damage = 1;
		}

 

 

~Kenpachi

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, Kenpachi said:

Hi.

 

In src/map/battle.c find function battle_calc_misc_attack() and replace:

switch(skill_id){ case HT_LANDMINE: case MA_LANDMINE: case HT_BLASTMINE: case HT_CLAYMORETRAP: case RA_CLUSTERBOMB: #ifdef RENEWAL break; #endif default: md.damage = 1; }


		switch(skill_id){
			case HT_LANDMINE:
			case MA_LANDMINE:
			case HT_BLASTMINE:
			case HT_CLAYMORETRAP:
			case RA_CLUSTERBOMB:
#ifdef RENEWAL
				break;
#endif
			default:
				md.damage = 1;
		}

With:

switch(skill_id){ case HT_BLASTMINE: break; case HT_LANDMINE: case MA_LANDMINE: case HT_CLAYMORETRAP: case RA_CLUSTERBOMB: #ifdef RENEWAL break; #endif default: md.damage = 1; }


		switch(skill_id){
			case HT_BLASTMINE:
				break;
			case HT_LANDMINE:
			case MA_LANDMINE:
			case HT_CLAYMORETRAP:
			case RA_CLUSTERBOMB:
#ifdef RENEWAL
				break;
#endif
			default:
				md.damage = 1;
		}

 

 

~Kenpachi

This works, thanks!

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.