Jump to content
  • 0

Help for Capped Damage skills


razermantis

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   0
  • Joined:  12/18/16
  • Last Seen:  

Can someone guide me how to put capped damage to all skills

Example

Bowling Bash = 80,000 Maxed damage ( Edited stats will do nothing ) Maximum Damage
Falcon Assult = 120,000 Maxed damage ( Edited stats will do nothing ) Maximum Damage

Cart Termination = 180,000 Maxed damage ( Edited stats will do nothing ) Maximum Damage

Asura Strike = 999,999 Maxed damage ( Edited stats will do nothing ) Maximum Damage

I've done this before but. sadly i forgot it. it's been 7 years
 

Edited by sader1992
remove things against the rules
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  832
  • Reputation:   317
  • Joined:  02/11/19
  • Last Seen:  

1 hour ago, razermantis said:

Can someone guide me how to put capped damage to all skills

Example

Bowling Bash = 80,000 Maxed damage ( Edited stats will do nothing ) Maximum Damage
Falcon Assult = 120,000 Maxed damage ( Edited stats will do nothing ) Maximum Damage

Cart Termination = 180,000 Maxed damage ( Edited stats will do nothing ) Maximum Damage

Asura Strike = 999,999 Maxed damage ( Edited stats will do nothing ) Maximum Damage

I've done this before but. sadly i forgot it. it's been 7 years

 

Edited by sader1992
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  446
  • Reputation:   229
  • Joined:  03/20/12
  • Last Seen:  

8 hours ago, razermantis said:

Can someone guide me how to put capped damage to all skills

Example

Bowling Bash = 80,000 Maxed damage ( Edited stats will do nothing ) Maximum Damage
Falcon Assult = 120,000 Maxed damage ( Edited stats will do nothing ) Maximum Damage

Cart Termination = 180,000 Maxed damage ( Edited stats will do nothing ) Maximum Damage

Asura Strike = 999,999 Maxed damage ( Edited stats will do nothing ) Maximum Damage

I've done this before but. sadly i forgot it. it's been 7 years
 

Look for this on battle.cpp :

static void battle_calc_weapon_final_atk_modifiers(struct Damage* wd, struct block_list *src,struct block_list *target,uint16 skill_id,uint16 skill_lv)

Add this.. ( remove + ) :

	// Skill damage adjustment
	if ((skill_damage = battle_skill_damage(src, target, skill_id)) != 0)
		ATK_ADDRATE(wd->damage, wd->damage2, skill_damage);
	
+	if (skill_id == MO_EXTREMITYFIST) 
+		wd->damage = cap_value(wd->damage, INT_MIN, 999999 ); //  capped to 999,999
	

Do the same to other skills on your list.

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