- Fixed the memset in status_calc_pc, corrects some mysterious bugs such as item-drop bonuses suddenly not working anymore.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8658 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
315112e520
commit
acf83e7574
@ -4,6 +4,8 @@ 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.
|
||||
|
||||
2006/09/06
|
||||
* Fixed the memset in status_calc_pc, corrects some mysterious bugs such as
|
||||
item-drop bonuses suddenly not working anymore. [Skotlex]
|
||||
* Corrected SC_INCREASEAGI and SC_DECREASEAGI speed-change formula.
|
||||
[Skotlex]
|
||||
* Fixed Aex Aeterna ending on Soul Breaker's first half. [Skotlex]
|
||||
|
@ -708,7 +708,7 @@ struct map_session_data {
|
||||
// zeroed structures end here
|
||||
// zeroed vars start here.
|
||||
int arrow_atk,arrow_ele,arrow_cri,arrow_hit;
|
||||
int nhealhp,nhealsp,nshealhp,nshealsp,nsshealhp,nsshealsp;
|
||||
int nsshealhp,nsshealsp;
|
||||
int critical_def,double_rate;
|
||||
int long_attack_atk_rate; //Long range atk rate, not weapon based. [Skotlex]
|
||||
int near_attack_def_rate,long_attack_def_rate,magic_def_rate,misc_def_rate;
|
||||
@ -952,7 +952,6 @@ struct mob_data {
|
||||
struct {
|
||||
int id;
|
||||
int dmg;
|
||||
unsigned char to_homun; //[blackhole89] - determines whether this damage was dealt by homunculus or its master
|
||||
} dmglog[DAMAGELOG_SIZE];
|
||||
struct spawn_data *spawn; //Spawn data.
|
||||
struct item *lootitem;
|
||||
|
@ -1674,6 +1674,8 @@ int status_calc_pc(struct map_session_data* sd,int first)
|
||||
+ sizeof(sd->hp_loss_type)
|
||||
+ sizeof(sd->hp_gain_value)
|
||||
+ sizeof(sd->sp_gain_value)
|
||||
+ sizeof(sd->sp_vanish_rate)
|
||||
+ sizeof(sd->sp_vanish_per)
|
||||
+ sizeof(sd->add_drop_count)
|
||||
+ sizeof(sd->unbreakable)
|
||||
+ sizeof(sd->unbreakable_equip)
|
||||
|
Loading…
x
Reference in New Issue
Block a user