Jump to content
  • 0
Sign in to follow this  
Gladius

Diff bNoComa

Question

Hi guys!

I'm trying to install a coma immunity bonus diff
unfortunately the version I found available are out of date


- https://github.com/carloshenrq/brAScript/blob/master/brAthena/src/brA_bComaImunity_20180802.diff

Can anyone update these scripts?
Or have a different one that works?

 

@edit

i'am using the diff https://pastebin.com/H6MBB9dN and solved this problem

image.png.9453493b6b1cd21897ee29f1c3ae0ef8.png

if this dif

 

/root/emulador/src/map/script_constants.hpp

line 740 ~ 743
+	export_constant2("bNoComa", SP_NO_COMA);

 

Edited by Gladius

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

 

Edit these files and add the lines with ++ (ofc erase the ++)

status.cpp

		case SC_NORECOVER_STATE:
			tick_def2 = status->luk * 100;
			break;
++		case SC_COMA:
++			break;
		default:
			// Effect that cannot be reduced? Likely a buff.
			if (!(rnd()%10000 < rate))

script_constants.cpp

	export_constant2("Eff_Fear",SC_FEAR);
	export_constant2("Eff_Burning",SC_BURNING);
	export_constant2("Eff_Crystalize",SC_CRYSTALIZE);
++	export_constant2("Eff_Coma",SC_COMA);

	export_constant2("SC_ALL",SC_NONE);



on item script just add 

bonus2 bResEff,Eff_Coma,10000;

Edited by tribal0306

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.