- Some cleanups in irc.c
- Changed ASC_BREAKER's cast to 700ms - Magic skills that ignore element now also don't take into account elemental cards. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5702 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
9e048bbd7f
commit
f5c4a9bbfc
@ -5,6 +5,9 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EV
|
|||||||
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
|
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
|
||||||
|
|
||||||
2006/03/22
|
2006/03/22
|
||||||
|
* Some cleanups in irc.c [Skotlex]
|
||||||
|
* Magic skills that ignore element now also don't take into account
|
||||||
|
elemental cards. [Skotlex]
|
||||||
* Fixed compiler warnings in battle.c [Lance]
|
* Fixed compiler warnings in battle.c [Lance]
|
||||||
* Changes by [reddozen] -->
|
* Changes by [reddozen] -->
|
||||||
- Updated Full Buster's damage, status effects, and skill levels
|
- Updated Full Buster's damage, status effects, and skill levels
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
=========================
|
=========================
|
||||||
|
|
||||||
03/22
|
03/22
|
||||||
|
* Changed Soul Breaker's cast time to 700ms. [Skotlex]
|
||||||
* Updated Elemental Converter ingredients. Thanks2 Haplo [Lupus]
|
* Updated Elemental Converter ingredients. Thanks2 Haplo [Lupus]
|
||||||
03/21
|
03/21
|
||||||
* Fixed the inf2 for BA_DISSONANCE to be dance-skill. [Skotlex]
|
* Fixed the inf2 for BA_DISSONANCE to be dance-skill. [Skotlex]
|
||||||
|
@ -581,7 +581,7 @@
|
|||||||
//-- ASC_EDP
|
//-- ASC_EDP
|
||||||
378,0,2000,0,20000:30000:40000:50000:60000,20000:30000:40000:50000:60000
|
378,0,2000,0,20000:30000:40000:50000:60000,20000:30000:40000:50000:60000
|
||||||
//-- ASC_BREAKER
|
//-- ASC_BREAKER
|
||||||
379,1000,1000:1200:1400:1600:1800:2000:2200:2400:2600:2800,0,0,0
|
379,700,1000:1200:1400:1600:1800:2000:2200:2400:2600:2800,0,0,0
|
||||||
//==========================================
|
//==========================================
|
||||||
|
|
||||||
|
|
||||||
|
@ -2809,6 +2809,7 @@ struct Damage battle_calc_magic_attack(
|
|||||||
short cardfix=100;
|
short cardfix=100;
|
||||||
|
|
||||||
cardfix=cardfix*(100+sd->magic_addrace[t_race])/100;
|
cardfix=cardfix*(100+sd->magic_addrace[t_race])/100;
|
||||||
|
if (flag.elefix)
|
||||||
cardfix=cardfix*(100+sd->magic_addele[t_ele])/100;
|
cardfix=cardfix*(100+sd->magic_addele[t_ele])/100;
|
||||||
cardfix=cardfix*(100+sd->magic_addsize[t_size])/100;
|
cardfix=cardfix*(100+sd->magic_addsize[t_size])/100;
|
||||||
cardfix=cardfix*(100+sd->magic_addrace[is_boss(target)?10:11])/100;
|
cardfix=cardfix*(100+sd->magic_addrace[is_boss(target)?10:11])/100;
|
||||||
@ -2828,6 +2829,7 @@ struct Damage battle_calc_magic_attack(
|
|||||||
short s_class= status_get_class(src);
|
short s_class= status_get_class(src);
|
||||||
short cardfix=100;
|
short cardfix=100;
|
||||||
|
|
||||||
|
if (flag.elefix)
|
||||||
cardfix=cardfix*(100-tsd->subele[s_ele])/100;
|
cardfix=cardfix*(100-tsd->subele[s_ele])/100;
|
||||||
cardfix=cardfix*(100-tsd->subsize[s_size])/100;
|
cardfix=cardfix*(100-tsd->subsize[s_size])/100;
|
||||||
cardfix=cardfix*(100-tsd->subrace2[s_race2])/100;
|
cardfix=cardfix*(100-tsd->subrace2[s_race2])/100;
|
||||||
|
@ -135,6 +135,10 @@ int irc_parse(int fd)
|
|||||||
{
|
{
|
||||||
if (session[fd]->eof){
|
if (session[fd]->eof){
|
||||||
do_close(fd);
|
do_close(fd);
|
||||||
|
if (irc_si) {
|
||||||
|
aFree(irc_si);
|
||||||
|
irc_si = NULL;
|
||||||
|
}
|
||||||
add_timer(gettick() + 15000, irc_connect_timer, 0, 0);
|
add_timer(gettick() + 15000, irc_connect_timer, 0, 0);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -143,8 +147,10 @@ int irc_parse(int fd)
|
|||||||
irc_si->fd = fd;
|
irc_si->fd = fd;
|
||||||
irc_si->state = 0;
|
irc_si->state = 0;
|
||||||
session[fd]->session_data = irc_si;
|
session[fd]->session_data = irc_si;
|
||||||
}
|
} else if (!irc_si) {
|
||||||
irc_si = (struct IRC_Session_Info*)session[fd]->session_data;
|
irc_si = (struct IRC_Session_Info*)session[fd]->session_data;
|
||||||
|
irc_si->fd = fd;
|
||||||
|
}
|
||||||
if(RFIFOREST(fd) > 0){
|
if(RFIFOREST(fd) > 0){
|
||||||
char *incoming_string=aCalloc(RFIFOREST(fd),sizeof(char));
|
char *incoming_string=aCalloc(RFIFOREST(fd),sizeof(char));
|
||||||
memcpy(incoming_string,RFIFOP(fd,0),RFIFOREST(fd));
|
memcpy(incoming_string,RFIFOP(fd,0),RFIFOREST(fd));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user