Jump to content

  •  

Muyo

Member Since 17 Aug 2013
Offline Last Active Jan 16 2015 01:21 PM
-----

Topics I've Started

Luk and freezing

13 December 2014 - 03:08 PM

On old emulator this do that LUK unfreeze more fast

 

src/map/status.c

 

case SC_FREEZE:			sc_def = status->mdef*100;			sc_def2 = status->luk*10;			tick = status->luk>249?0:tick; // luk:250 = unfreeze			break;

 

Now, the new emulator is (src/map/status.c)

 

case SC_FREEZE:		sc_def = st->mdef*100;		sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10);		tick_def = 0; //No duration reduction

And if add this "tick = status->luk>249?0:tick;" gives error.

 

Sorry my english...

 

How do for not freeze with luk = 250?

 

Thanks