Jump to content
  • 0

Max Capped on Asura and Final Strike


cahadeyelo

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   1
  • Joined:  11/13/14
  • Last Seen:  

anyone knows how to put Maximum cap On asura and Final strike with 2.5mil damage (not on based on stats),  Thanks ,,

Edited by cahadeyelo
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  317
  • Reputation:   63
  • Joined:  11/13/11
  • Last Seen:  

It's currently not possible without a custom source modification. So this topic belongs to Source Support.

Also, if you're aiming to put a damage cap on several skills, you might want to consider this Maximum Damage mod by Cydh.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  06/25/12
  • Last Seen:  

inside the src/map/battle.c

do it like this and put it inside the battle_calc_damage and recompile your server...

//Add Case <Skill_code>: for cap damage
	switch ( skill_id )
	{
	case MO_EXTREMITYFIST:
	case NJ_ISSEN:
	damage = cap_value(damage,0,350000);
	break;
	case HW_MAGICCRASHER:
	damage = cap_value(damage,0,9000);
	break;
	case ASC_BREAKER:
	damage = cap_value(damage,0,25000);
	break;
	case AS_SONICBLOW:
	damage = cap_value(damage,0,150000);
	break;
	case KN_BOWLINGBASH:
	case GS_RAPIDSHOWER:
	case GS_TRACKING:
	case MO_INVESTIGATE:
	case GS_FULLBUSTER:
	case CR_ACIDDEMONSTRATION:
	case SN_SHARPSHOOTING:
	case WS_CARTTERMINATION: 
	case MC_MAMMONITE:
	case WZ_STORMGUST:
	case WZ_METEOR:
	case AS_GRIMTOOTH:
	case GS_DESPERADO:
	case SM_BASH:
	damage = cap_value(damage,0,50000);
	break;
	}
	
	return damage;
Edited by cawogeek
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...