Jump to content
  • 0

Diff bNoComa


Gladius

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   63
  • Joined:  04/29/19
  • Last Seen:  

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
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   7
  • Joined:  04/13/12
  • Last Seen:  

 

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

On 11/9/2019 at 10:24 AM, Gladius said:

 

@edit

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

image.png.9453493b6b1cd21897ee29f1c3ae0ef8.png



 

 

any updated code on this part?

im getting unknown bonus also

case SC_COMA:

+       if(sd && sd->special_state.no_coma)

+           return 0;

+       break;

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