diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-04 17:55:26 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-04 17:55:26 +0000 |
commit | 163426a80f31a7d3fb4fa5878a7afbafff032345 (patch) | |
tree | d0edfca727c0d0b8e4f4a542a8b3ede02fe06728 /src/map/status.c | |
parent | b95dffc4e9c9530fd301273888db270e8e365fe6 (diff) | |
download | hercules-163426a80f31a7d3fb4fa5878a7afbafff032345.tar.gz hercules-163426a80f31a7d3fb4fa5878a7afbafff032345.tar.bz2 hercules-163426a80f31a7d3fb4fa5878a7afbafff032345.tar.xz hercules-163426a80f31a7d3fb4fa5878a7afbafff032345.zip |
- bonus3 autospell (and autospell when hit) will now select for spell target self when the skill is tagged a support skill.
- Increased the amount of autospells that can be held at a time from 10 to 15
- Updated several item scripts to use bonus3 autospells rather than bonus4 ones.
- Changed the "autocasted strip skills don't have a duration" to apply only to Full Strip.
- Cleaned up some the Signum Crucis code.
- Added initialization of hp_loss/sp_loss/hp_regen/sp_regen which somehow was not commited before.
- Magic Mirror's duration now is reduced /15 when used on players.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11124 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index d97a887e3..3255e0d64 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1697,6 +1697,10 @@ int status_calc_pc(struct map_session_data* sd,int first) + sizeof(sd->addeff2) + sizeof(sd->skillatk) + sizeof(sd->skillheal) + + sizeof(sd->hp_loss) + + sizeof(sd->sp_loss) + + sizeof(sd->hp_regen) + + sizeof(sd->sp_regen) + sizeof(sd->skillblown) + sizeof(sd->skillcast) + sizeof(sd->add_def) @@ -4453,10 +4457,11 @@ int status_get_sc_def(struct block_list *bl, int type, int rate, int tick, int f tick /= 5; sc_def = status->agi; break; + case SC_MAGICMIRROR: case SC_ARMORCHANGE: if (sd) //Duration greatly reduced for players. tick /= 15; - //No defense against it. + //No defense against it (buff). default: //Effect that cannot be reduced? Likely a buff. if (!(rand()%10000 < rate)) |