diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-24 01:16:33 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-24 01:16:33 +0000 |
commit | 9694f77616b2f127bcde59d49cc7e3cad832d0b3 (patch) | |
tree | fad4e5b61e2492cd5988c79d686f9812812d600a /src/map/status.c | |
parent | c2697bf53b8f72db25c8a7aa03c2297b17cf7bc5 (diff) | |
download | hercules-9694f77616b2f127bcde59d49cc7e3cad832d0b3.tar.gz hercules-9694f77616b2f127bcde59d49cc7e3cad832d0b3.tar.bz2 hercules-9694f77616b2f127bcde59d49cc7e3cad832d0b3.tar.xz hercules-9694f77616b2f127bcde59d49cc7e3cad832d0b3.zip |
- Player-summoned mobs won't level up now.
- Fixed Super Novice explosion spirits triggering no matter what you said on the third line. It now triggers on the fourth line....
- Fixed GTB blocking targetted spells when gtb_pvp_only was set.
- Merged the code of Ankle snare and Spider web. It no longer moves target if sc failed.
- Players should stop walking as soon as they start vending or get into a chat.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5382 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 13fec7709..91740d663 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -114,6 +114,7 @@ void initChangeTables(void) { set_sc(BS_OVERTHRUST, SC_OVERTHRUST, SI_OVERTHRUST);
set_sc(BS_MAXIMIZE, SC_MAXIMIZEPOWER, SI_MAXIMIZEPOWER);
set_sc(HT_LANDMINE, SC_STUN, SI_BLANK);
+ set_sc(HT_ANKLESNARE, SC_ANKLE, SI_BLANK);
set_sc(HT_SANDMAN, SC_SLEEP, SI_BLANK);
set_sc(HT_FLASHER, SC_BLIND, SI_BLANK);
set_sc(HT_FREEZINGTRAP, SC_FREEZE, SI_BLANK);
@@ -3389,6 +3390,10 @@ int status_get_sc_tick(struct block_list *bl, int type, int tick) // Changed to 3 secs and moved from skill.c [Skotlex]
min = 3000;
break;
+ case SC_SPIDERWEB:
+ if (map[bl->m].flag.pvp)
+ tick /=2;
+ break;
case SC_STOP:
// Unsure of this... but I get a feeling that agi reduces this
// (it was on Tiger Fist Code, but at -1 ms per 10 agi....
@@ -4409,6 +4414,8 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val case SC_CONFUSION:
case SC_CLOSECONFINE:
case SC_CLOSECONFINE2:
+ case SC_ANKLE:
+ case SC_SPIDERWEB:
battle_stopwalking(bl,1);
break;
case SC_HIDING:
|