Jump to content
  • 0

Change Sacrament


Question

Posted

Hi Guys,

I tried to change the Bonus from Sacrament from fixed to variable cast time. 

I changed

if (sc->data[SC_SECRAMENT])
	fixcast_r = max(fixcast_r, sc->data[SC_SECRAMENT]->val2);

to

if (sc->data[SC_SECRAMENT])
	VARCAST_REDUCTION(sc->data[SC_SECRAMENT]->val2);
	//fixcast_r = max(fixcast_r, sc->data[SC_SECRAMENT]->val2);

after that i tried

reduce_cast_rate += sc->data[SC_SECRAMENT]->val2;

both did not work for me sadly 😞

I just recently started working on skills and so far everything worked fine but Sacrament just won't do anything ._.

Anyone knows what I'm doing wrong?

2 answers to this question

Recommended Posts

  • 0
Posted

Hey, it's easier than you thought.

 

Go to db/re/skill_cast_db.txt

 

and change:

 

//-- AB_SECRAMENT
2515,1000,500,0,60000:90000:120000:150000:180000,0,0,1000

 

 

to

 

//-- AB_SECRAMENT

2515,1000,500,0,60000:90000:120000:150000:180000,0,0,0

 

 

Let me know if it works

  • 0
Posted

Thanks for the reply. That would only change the CD of the skill.

I was able to fix the issue though

I had to add the skill to Pre-RE since im running the server in Pre-RE.

if (sc->data[SC_SECRAMENT]) {
	if (!(flag & 2))
		time -= time * sc->data[SC_SECRAMENT]->val2 / 100;

 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...