summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-03 17:53:57 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-03 17:53:57 +0000
commit0eb4ba12344652dd948c3aece8264865ffa857e5 (patch)
tree7cb3e638401ac4f4e447f85fa559c0f2008d5997 /src/map/battle.c
parent2e6efcc4c718d89bf832cd10b5261add097c8bf6 (diff)
downloadhercules-0eb4ba12344652dd948c3aece8264865ffa857e5.tar.gz
hercules-0eb4ba12344652dd948c3aece8264865ffa857e5.tar.bz2
hercules-0eb4ba12344652dd948c3aece8264865ffa857e5.tar.xz
hercules-0eb4ba12344652dd948c3aece8264865ffa857e5.zip
- Kaite, Kaute will now show a skill effect when they trigger.
- Fusion's cast time reduced to 0. - Knowledge will now only trigger if you logon to the memorized map, not walk into it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6462 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index d042ef75f..97aaf1ee3 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -451,7 +451,6 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,i
if(sc->data[SC_DODGE].timer != -1 && !sc->opt1 &&
(flag&BF_LONG || sc->data[SC_SPURT].timer != -1)
&& rand()%100 < 20) {
- if (sd && pc_issit(sd)) pc_setstand(sd); //Stand it to dodge.
clif_skill_nodamage(bl,bl,TK_DODGE,1,1);
if (sc->data[SC_COMBO].timer == -1)
sc_start4(bl, SC_COMBO, 100, TK_JUMPKICK, src->id, 0, 0, 2000);
@@ -464,6 +463,7 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,i
if(sc->data[SC_KAUPE].timer != -1 && rand()%100 < sc->data[SC_KAUPE].val2)
{
+ clif_skill_nodamage(bl,bl,SL_KAUPE,1,1);
if (--sc->data[SC_KAUPE].val3 <= 0) //We make it work like Safety Wall, even though it only blocks 1 time.
status_change_end(bl, SC_KAUPE, -1);
return 0;