Jump to content
  • 0

Pre-renewal EDP Skill


Banzou

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  04/03/16
  • Last Seen:  

Could anyone please tell me how I should edit this code if I want to completely disable renewal EDP? Or is there any other way to use Pre-renewal skill settings for all skills on a renewal server? My plan is to have a pre-renewal server with renewal content.

	if (sc->data[SC_EDP]) {
			switch(skill_id) {
				case AS_SPLASHER:
				// Pre-Renewal only: Soul Breaker and Meteor Assault ignores EDP
				// Renewal only: Grimtooth and Venom Knife ignore EDP
				// Both: Venom Splasher ignores EDP [helvetica]
#ifndef RENEWAL
				case ASC_BREAKER:
				case ASC_METEORASSAULT:
#else
				case AS_GRIMTOOTH:
				case AS_VENOMKNIFE:
#endif
					break; // skills above have no effect with edp

#ifdef RENEWAL
				// renewal EDP mode requires renewal enabled as well
				// Renewal EDP: damage gets a half modifier on top of EDP bonus for skills [helvetica]
				// * Sonic Blow
				// * Soul Breaker
				// * Counter Slash
				// * Cross Impact
				case AS_SONICBLOW:
				case ASC_BREAKER:
				case GC_COUNTERSLASH:
				case GC_CROSSIMPACT:
					ATK_RATE(wd.weaponAtk, wd.weaponAtk2, 50);
					ATK_RATE(wd.equipAtk, wd.equipAtk2, 50);
				default: // fall through to apply EDP bonuses
					// Renewal EDP formula [helvetica]
					// weapon atk * (1 + (edp level * .8))
					// equip atk * (1 + (edp level * .6))
					ATK_RATE(wd.weaponAtk, wd.weaponAtk2, 100 + (sc->data[SC_EDP]->val1 * 80));
					ATK_RATE(wd.equipAtk, wd.equipAtk2, 100 + (sc->data[SC_EDP]->val1 * 60));
					break;
#else
				default:
					ATK_ADDRATE(wd.damage, wd.damage2, sc->data[SC_EDP]->val3);

#endif
			}
		}
Edited by Banzou
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  812
  • Reputation:   234
  • Joined:  01/30/13
  • Last Seen:  

My plan is to have a pre-renewal server with renewal content.

In renewal.h you can edit the defines.

 

If you uncomment PRERE then you have a fully pre-renewal server with pre-renewal mechanics.

 

Then if you want renewal content added to pre-re you copy the NPCs and stuff over into the pre-re folders.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  04/03/16
  • Last Seen:  

So I copied all of the files in the NPC and DB directories from the "re" folders to the "pre-re" ones but get these errors now:

[Error]: sv_readdb: Too many columns in line 7 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 9 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 11 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 13 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 15 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 17 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 19 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 21 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 23 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 25 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 27 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 29 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 31 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 33 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 35 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 37 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 39 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 41 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 43 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 45 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 47 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 49 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 51 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 53 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 55 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 57 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 59 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 61 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 63 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 65 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 67 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 69 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 71 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 73 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 75 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 77 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 79 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 81 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 83 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 85 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 87 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 89 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 91 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 93 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 95 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 97 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 99 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 101 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 103 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 105 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 107 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 109 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 111 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 113 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 115 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 117 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 119 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 121 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 123 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 125 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 127 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 129 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 131 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 133 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 135 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 137 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 139 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 141 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 143 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 145 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 147 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 149 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 151 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 153 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 155 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 157 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 159 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 161 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 163 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 165 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 167 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 169 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 171 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 173 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 175 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 177 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 179 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 181 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 183 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 185 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 187 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 189 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 191 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 193 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 195 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 197 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 199 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 201 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 203 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 205 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 207 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 209 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 211 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 213 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 215 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 217 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 219 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 221 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 223 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 225 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 227 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 229 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 231 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 233 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 235 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 237 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 239 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 241 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 243 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 245 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 247 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 249 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 251 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 253 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 255 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 257 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 259 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 261 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 263 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 265 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 267 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 269 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 271 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 273 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Error]: sv_readdb: Too many columns in line 275 of "db/pre-re/job_db1.txt" (found 30, maximum is 29).
[Status]: Done reading '0' entries in 'db/pre-re/job_db1.txt'.
[Status]: Done reading '134' entries in 'db/job_db2.txt'.
[Status]: Done reading '16' entries in 'db/pre-re/job_exp.txt'.
[Status]: Done reading '85' entries in 'db/pre-re/job_basehpsp_db.txt'.
[Status]: Done reading '0' entries in 'db/pre-re/job_param_db.txt'.
[Status]: Done reading '0' entries in 'db/import/statpoint.txt'.
[Status]: Done reading '0' entries in 'db/import/job_db1.txt'.
[Status]: Done reading '0' entries in 'db/import/job_db2.txt'.
[Status]: Done reading '0' entries in 'db/import/job_exp.txt'.
[Status]: Done reading '0' entries in 'db/import/job_basehpsp_db.txt'.
[Status]: Done reading '0' entries in 'db/import/job_param_db.txt'.
[Status]: Done reading '1' entries in 'conf/motd.txt'.
[Status]: Done reading '8' groups in 'conf/groups.conf'.
[Status]: Done reading '4' entries in 'db/pre-re/attr_fix.txt'.
[Status]: Done reading '0' entries in 'db/status_disabled.txt'.
[Status]: Done reading '3' entries in 'db/size_fix.txt'.
[Error]: sv_readdb: Too many columns in line 33 of "db/pre-re/refine_db.txt" (found 24, maximum is 14).
[Error]: sv_readdb: Too many columns in line 35 of "db/pre-re/refine_db.txt" (found 24, maximum is 14).
[Error]: sv_readdb: Too many columns in line 37 of "db/pre-re/refine_db.txt" (found 24, maximum is 14).
[Error]: sv_readdb: Too many columns in line 39 of "db/pre-re/refine_db.txt" (found 24, maximum is 14).
[Error]: sv_readdb: Too many columns in line 41 of "db/pre-re/refine_db.txt" (found 24, maximum is 14).

Considering that I want renewal content in pre-renewal I guess it would be pointless to change these files and instead I would have to change something in the pre-renewal source code to acknowledge these columns from renewal instead?

Edited by Banzou
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  812
  • Reputation:   234
  • Joined:  01/30/13
  • Last Seen:  

Why would you copy over the db files though? You want third jobs?

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