summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-09 22:57:03 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-09 22:57:03 +0000
commitd4af767c7bc60c330cdc9b470e770bc382b3121e (patch)
tree99f06a2c3453c4d029a10f230548f5ed9eec5423 /src/map/skill.c
parentef6249a84ac41ff029ee37dde1e8c9427515198f (diff)
downloadhercules-d4af767c7bc60c330cdc9b470e770bc382b3121e.tar.gz
hercules-d4af767c7bc60c330cdc9b470e770bc382b3121e.tar.bz2
hercules-d4af767c7bc60c330cdc9b470e770bc382b3121e.tar.xz
hercules-d4af767c7bc60c330cdc9b470e770bc382b3121e.zip
- Reduced drop slots from 15 to 10.
- Updated mob_db.sql with the current data. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6539 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 409cbcb4c..d5ec79977 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2013,9 +2013,8 @@ int skill_attack( int attack_type, struct block_list* src, struct block_list *ds
skill_blown(dsrc,bl,dmg.blewcount);
//Delayed damage must be dealt after the knockback (it needs to know actual position of target)
- if (dmg.amotion) { // do not really deal damage for ASC_BREAKER's 1st attack
+ if (dmg.amotion)
battle_delay_damage(tick+dmg.amotion,src,bl,attack_type,skillid,skilllv,damage,dmg.dmg_lv,dmg.dmotion,0);
- }
if(skillid == RG_INTIMIDATE && damage > 0 && !(status_get_mode(bl)&MD_BOSS)/* && !map_flag_gvg(src->m)*/) {
int s_lv = status_get_lv(src),t_lv = status_get_lv(bl);
@@ -2575,7 +2574,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl,int s
if (skillid == TK_JUMPKICK)
skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag);
if (unit_movepos(src, bl->x, bl->y, 0, 0))
- clif_slide(src,src->x,src->y);
+ clif_slide(src,bl->x,bl->y);
break;
case ASC_BREAKER: /* ソウルブレ?カ? */ // [DracoRPG]
// Separate weapon and magic attacks
@@ -9412,6 +9411,7 @@ struct skill_unit_group *skill_initunitgroup(struct block_list *src,
skill_unit_group_newid = MAX_SKILL_DB;
group->unit=(struct skill_unit *)aCalloc(count,sizeof(struct skill_unit));
group->unit_count=count;
+ group->alive_count=0;
group->val1=group->val2=group->val3=0;
group->skill_id=skillid;
group->skill_lv=skilllv;