- Fixed buildin_getscrate, thanks Trancid.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9571 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
60e3d1b499
commit
8751fbd631
@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
|||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2006/12/25
|
2006/12/25
|
||||||
|
* Fixed buildin_getscrate, thanks Trancid.
|
||||||
* Applied part 1 of TheUltraMage's socket cleanup.
|
* Applied part 1 of TheUltraMage's socket cleanup.
|
||||||
"Basically what I did was perform simple one-liner substitutions for
|
"Basically what I did was perform simple one-liner substitutions for
|
||||||
ugly repetitive blocks of code. The most apparent are the send/recv
|
ugly repetitive blocks of code. The most apparent are the send/recv
|
||||||
|
@ -7848,7 +7848,7 @@ int buildin_getscrate(struct script_state *st)
|
|||||||
type=conv_num(st,& (st->stack->stack_data[st->start+2]));
|
type=conv_num(st,& (st->stack->stack_data[st->start+2]));
|
||||||
rate=conv_num(st,& (st->stack->stack_data[st->start+3]));
|
rate=conv_num(st,& (st->stack->stack_data[st->start+3]));
|
||||||
if( st->end>st->start+4 ) //指定したキャラの耐性を計算する
|
if( st->end>st->start+4 ) //指定したキャラの耐性を計算する
|
||||||
bl = map_id2bl(conv_num(st,& (st->stack->stack_data[st->start+6])));
|
bl = map_id2bl(conv_num(st,& (st->stack->stack_data[st->start+4])));
|
||||||
else
|
else
|
||||||
bl = map_id2bl(st->rid);
|
bl = map_id2bl(st->rid);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user