Jump to content
  • 0

Questions about Stats


Virtue

Question


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

Where do I edit the stats so that 100int becomes Immune to frost?

Link to comment
Share on other sites

17 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

This will require Source Edits I believe :/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   4
  • Joined:  11/10/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   0
  • Joined:  11/26/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   6
  • Joined:  01/06/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   0
  • Joined:  11/26/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  67
  • Reputation:   23
  • Joined:  11/14/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   0
  • Joined:  11/26/11
  • Last Seen:  

@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


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  67
  • Reputation:   23
  • Joined:  11/14/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   0
  • Joined:  11/26/11
  • Last Seen:  

still not working @fatal . if i use that 1 . luk = 88 can immune to frost already . didnt need higher than 88 .. any other ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  67
  • Reputation:   23
  • Joined:  11/14/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   0
  • Joined:  11/26/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   0
  • Joined:  11/26/11
  • Last Seen:  

This is my status.c ..

Mayb someone can help me with it ? please . :/

http://pastebin.com/NRvGnUgB

Edited by iSkiddo
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   0
  • Joined:  11/26/11
  • Last Seen:  

@ 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


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

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