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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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