summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-23 21:33:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-23 21:33:24 +0000
commitaf86b0e57fdfa0064770513b868834bf27cb5b56 (patch)
tree408bddf7eec20051adfbcd93123b10c29bd94f3f /src/map/skill.c
parentb2acf3488abe6f9818904fdaacbc697fce9ed1c3 (diff)
downloadhercules-af86b0e57fdfa0064770513b868834bf27cb5b56.tar.gz
hercules-af86b0e57fdfa0064770513b868834bf27cb5b56.tar.bz2
hercules-af86b0e57fdfa0064770513b868834bf27cb5b56.tar.xz
hercules-af86b0e57fdfa0064770513b868834bf27cb5b56.zip
- Corrected ASC_BREAKER. Int-based damage is applied after attribute fixes and before card reductions. The skill now completely disregards left weapon.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7319 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 6bb438690..f787bf5fd 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4155,7 +4155,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
case TF_STEAL: // スティール
- if(sd && dstmd) {
+ if(sd) {
if(pc_steal_item(sd,bl))
clif_skill_nodamage(src,bl,skillid,skilllv,1);
else
@@ -4165,10 +4165,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case RG_STEALCOIN: // スティールコイン
if(sd) {
- if(pc_steal_coin(sd,bl)) {
+ if(pc_steal_coin(sd,bl))
clif_skill_nodamage(src,bl,skillid,skilllv,1);
- mob_target(dstmd,src,skill_get_range2(src,skillid,skilllv));
- }
else
clif_skill_fail(sd,skillid,0,0);
}