summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-15 03:51:59 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-15 03:51:59 +0000
commit5a6c73fcc0948c1b570b5df99b191514d06337dd (patch)
tree8c545cf9b0134ead22a19e29ed65042d799b7b78 /src/map/skill.c
parent83e2e93b0fc640dfc733dd67f55bbb9cae3178cf (diff)
downloadhercules-5a6c73fcc0948c1b570b5df99b191514d06337dd.tar.gz
hercules-5a6c73fcc0948c1b570b5df99b191514d06337dd.tar.bz2
hercules-5a6c73fcc0948c1b570b5df99b191514d06337dd.tar.xz
hercules-5a6c73fcc0948c1b570b5df99b191514d06337dd.zip
- Some cleaning of the slave moving code.
- Fixed the icon for Provoke not showing. - Fixed skill_timerskills (type was not being stored, water-ball at least got broken, doing only 1 hit always) - pc_setinventorydata won't try to set data for positions with no item. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5283 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index b1836c6bc..24298fb82 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2330,7 +2330,7 @@ int skill_addtimerskill(struct block_list *src,unsigned int tick,int target,int
}
for(i=0;i<max && sts[i].timer != -1;i++);
if (i>=max) return 1;
-
+
sts[i].timer = add_timer(tick, skill_timerskill, src->id, i);
sts[i].src_id = src->id;
sts[i].target_id = target;
@@ -2339,6 +2339,7 @@ int skill_addtimerskill(struct block_list *src,unsigned int tick,int target,int
sts[i].map = src->m;
sts[i].x = x;
sts[i].y = y;
+ sts[i].type = type;
sts[i].flag = flag;
if (count)
(*count)++;
@@ -2532,11 +2533,11 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl,int s
case NPC_HOLYATTACK:
case NPC_DARKNESSATTACK:
case NPC_TELEKINESISATTACK:
+ case NPC_UNDEADATTACK:
case NPC_BREAKARMOR:
+ case NPC_BREAKWEAPON:
case NPC_BREAKHELM:
case NPC_BREAKSHIELD:
- case NPC_BREAKWEAPON:
- case NPC_UNDEADATTACK:
case LK_AURABLADE: /* オ?ラブレ?ド */
case LK_SPIRALPIERCE: /* スパイラルピア?ス */
case LK_HEADCRUSH: /* ヘッドクラッシュ */