Jump to content
  • 0

Changing EDP effect


chowking

Question


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

Change Lvl 1 EDP to 60% Levels 2, 3, 4, 5 effect stays the same, please :)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

this worked for me since im going to put autocast lvl 1 EDP on card,  did a slight change on your code, thanks

	if( pc_checkskill(sd,ASC_EDP) == 0 ) {
		val3 = 60; //Damage increase (60%)
	} 
	else {
		val3 = 50*(val1+1); //Damage increase (+50 +50*lv%)
	}
Edited by chowking
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  15
  • Reputation:   3
  • Joined:  09/11/13
  • Last Seen:  

Try this on line 7404 in your status.c

 

if(val1 === 0) {
    val3 = 60*(val1+1); //Damage increase (+50 +50*lv%)
} else {
    val3 = 50*(val1+1); //Damage increase (+50 +50*lv%)
}
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...