Jump to content
  • 0

Asura Strike less damage to frozen targets.


prism

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   1
  • Joined:  04/28/12
  • Last Seen:  

How can I make it so that Asura Strike does less damage to a target that is frozen? 25-50% for example.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  161
  • Reputation:   31
  • Joined:  12/06/11
  • Last Seen:  

Change: battle.c

		case MO_EXTREMITYFIST:
			skillratio += 100 * (7 + sstatus->sp / 10);
			skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection
			break;

To: 

		case MO_EXTREMITYFIST: {
			int ratio = (100 * (7 + sstatus->sp / 10));
			if (tsd->sc.data[SC_FREEZE]) {
				ratio /= 2; //Could also do the following: ratio *= 0.5 (50% reduction) 0.7 (30% reduction) etc. 
			}
			skillratio += ratio;
			skillratio = min(500000, skillratio); //We stop at roughly 50k SP for overflow protection
			break;
		}
Edited by Ajjwidjdneidjenw
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   1
  • Joined:  04/28/12
  • Last Seen:  

Thank you very much.

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