Jump to content
  • 0

Question

4 answers to this question

Recommended Posts

Posted

Where are you getting that weird information ?. Since Renewal started STR never gave me inmunity to Stun neither 100 Luk gave me inmunity to Freeze / Frozen.

This is how it works the Renewal Stats:
http://irowiki.org/wiki/Stats

This is how it works the Renewal Status:
http://irowiki.org/wiki/Stun#Stun

But if you still wanting to be immune to Freeze with 100 Luk and Stun with 100 Vit just go to yourserver/src/map/status.c and find the following:

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



And change it like this:
 

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



For immunity to Stun having 100 Str inside of status.c find the following:
 

CODE
status = status_get_status_data(bl);
    switch (type)
    {
    case SC_STUN:
    case SC_POISON:
    case SC_DPOISON:
    case SC_SILENCE:
    case SC_BLEEDING:
        sc_def = 3 +status->vit;



And change it like this:
 

CODE
status = status_get_status_data(bl);
    switch (type)
    {
    case SC_STUN:
              sc_def = 3 +status->str;
              break;
    case SC_POISON:
    case SC_DPOISON:
    case SC_SILENCE:
    case SC_BLEEDING:
        sc_def = 3 +status->vit;



Remember to recompile your server.

 

FROM eAthena forum.

Credits eAthena.

Posted

Well if i disable rathena features in the core , should it work normally?
Anyway my code is :

 

 

case SC_FREEZE:
			sc_def = status->mdef*100;
			sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10;
			tick_def2 = status_src->luk*-10; //Caster can increase final duration with luk
			break;

should i rewrite this?

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