Jump to content
  • 0

SC_FREEZE + sc_def2 + luk


Cyrix

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   13
  • Joined:  02/16/12
  • Last Seen:  

Hi,
 
I need help to have resistance vs freezing and fast unfreezing using luk. (rev 17205 Pre-re)
 
case SC_FREEZE:
sc_def = status->mdef*100;   // works fine... 100 mdef + 0 luk. I have resistance and ~2 sec frozen
sc_def2 = status->luk*10; //dont work. I have 0 mdef, and 255 luk  but  have low resistance and ~11sec fronzen
break; 

 

how to make luk not depend of mdef to give resistance and fast unfreezing?

luk depends of mdef to give resistanse and fast unfreezing?

 

 

Thanks.

Edited by Cyrix
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   13
  • Joined:  02/16/12
  • Last Seen:  

========== Rebuild All: 4 succeeded, 0 failed, 0 skipped ==========

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  106
  • Reputation:   3
  • Joined:  01/01/12
  • Last Seen:  

Find this code and delete it(backup first):

    if(sc->data[SC_FREEZE])
        mdef += 25*mdef/100;

 

Lines 5089 - 5090

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   13
  • Joined:  02/16/12
  • Last Seen:  

i delete it

if(sc->data[sC_FREEZE])

mdef += 25*mdef/100;

 

 

but 255 luk dont work.

I have 0 mdef, and 255 luk but,  I have low resistance and ~11sec fronzen.

 


if a player without mdef use luk (0 ~ 255), to have resistance and fast unfreezing like mdef (0 ~ 100).

Edited by Cyrix
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  106
  • Reputation:   3
  • Joined:  01/01/12
  • Last Seen:  

Did you recompile server? =\

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