Jump to content
  • 0
Virtue

Questions about Stats

Question

17 answers to this question

Recommended Posts

Yes this would be source edit. Did you mean frost by WZ_Stormgust skill? Look into src/map/status.c

Find

	case SC_FREEZE:
  	 sc_def = 3 + status->mdef;
	break;

Replace with

	case SC_FREEZE:
	if (status->int_ >= 100)
		return 0;
	else
		sc_def = 3 + status->mdef;
	break;

Edited by GHul
Link to comment
Share on other sites

yes, frost status from everyone, Stormgust,frostdriver,jack frost & other cards/equips that causes the frozen status. thanks

Link to comment
Share on other sites

case SC_FREEZE:
 if (status->int_ >= 100)
  return 0;
 else
  sc_def = 3 + status->mdef;
 break;

can i ask whether we can change

 if (status->int_ >= 100)
  return 0;
 else

into

 if (status->Luk_ >= 100)
  return 0;
 else

?

Link to comment
Share on other sites

It'd be:

if(status->luk >= 100)

Int_ is just like that because 'int' is a reserved keyword. As for case-sensitivity... not really sure, but might as well play it safe.

Doesn't having some amount of luck stop all status effects anyway?

Link to comment
Share on other sites

actually i only wanted to make 150 luk = frost duration reduced .. only for frost status ..

.../map/status.c

Search:

	case SC_STONE:
case SC_FREEZE:
	sc_def = 3 +status->mdef;
	break;

Replace with:

	case SC_STONE:
case SC_FREEZE:
	if (type == SC_FREEZE) {
		sc_def = status->luk * 100/150;
		break;
	}
	sc_def = 3 +status->mdef;
	break;

Link to comment
Share on other sites

@Fatalerror : still not working .. its should be when luk total 150 = frost duration reduced . while should be higher luk = easier to unfrost .. ( sorry for my bad english )

bump for anyone can help ?

Link to comment
Share on other sites

change this:

		if (type == SC_FREEZE) {
		sc_def = status->luk * 100/150;
		break;
	}

to this:

		if (type == SC_FREEZE) {
		tick_def = status->luk * 100/150; //Every 15 luk, reduce frozen time by 10%
		break;
	}

Link to comment
Share on other sites

I tried it with my GX with 149 luk, i can still be frozen with SG(less than 1 sec),

tried it again with 150 luk, my GX immune to Frozen..

Don't know why it's not working on you,

well, i don't care..

maybe other can help?

Link to comment
Share on other sites

iSkiddo; you probably have other value affecting sc_def for instance :

if (sc_def < battle_config.pc_max_sc_def)
           sc_def += (battle_config.pc_max_sc_def - sc_def)*
               status->luk/battle_config.pc_luk_sc_def;

I didn't get exactly what kind of reduction you wanted; still read closely status_get_sc_def() and you should be able to put your status reduction.

(nb tick duration are in ms)

Link to comment
Share on other sites

actually i just only wan to reduce the frost status duration . means higher luk , reduce frost duration . which means all my player need to make high luk to be a champion . hehe

Link to comment
Share on other sites

I did something with mine a while back, i'll try to remember what, if what i remember is correct, i didn't do/add anything at the src files, but instead in the conf files. high luk & vit reduces the frost duration.

Link to comment
Share on other sites

@ mnjfx : Really appreciate if you can share with us how do you make that 1 . Mayb you can share my your status.conf ? Really need this to be fixed . Thanks in advance .

Link to comment
Share on other sites

you really didn't read the function did you.

here a quick exemple :

case SC_FREEZE:

tick -= status->luk *1000; //minus -1s each luk point

break;

Even so you'll still have the small luk reduction from the if I stated before. tick_def, will reduce the duration in %

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

Important Information

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