diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-01-15 15:27:59 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-01-17 17:35:36 -0800 |
commit | b34acd1a97e7f087882675e812fda04d303dc6e0 (patch) | |
tree | 59a3f0779027a5020fff04661ce0373feb623361 /src/map/skill.cpp | |
parent | f909528c7e64ac7180d9a544f12912efd0867a67 (diff) | |
download | tmwa-b34acd1a97e7f087882675e812fda04d303dc6e0.tar.gz tmwa-b34acd1a97e7f087882675e812fda04d303dc6e0.tar.bz2 tmwa-b34acd1a97e7f087882675e812fda04d303dc6e0.tar.xz tmwa-b34acd1a97e7f087882675e812fda04d303dc6e0.zip |
Remove PC/mob disguises and hard-coded classes
Diffstat (limited to 'src/map/skill.cpp')
-rw-r--r-- | src/map/skill.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/map/skill.cpp b/src/map/skill.cpp index 725bdb8..aef0712 100644 --- a/src/map/skill.cpp +++ b/src/map/skill.cpp @@ -1740,16 +1740,9 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, { int heal = skill_calc_heal(src, skilllv); int heal_get_jobexp; - struct pc_base_job s_class; if (dstsd && dstsd->special_state.no_magic_damage) heal = 0; /* 黄金蟲カード(ヒール量0) */ - if (sd) - { - s_class = pc_calc_base_job(sd->status.pc_class); - if (sd && dstsd && sd->status.partner_id == dstsd->status.char_id && s_class.job == 23 && sd->status.sex == 0) //自分も対象もPC、対象が自分のパートナー、自分がスパノビ、自分が♀なら - heal = heal * 2; //スパノビの嫁が旦那にヒールすると2倍になる - } heal_get_jobexp = battle_heal(NULL, bl, heal, 0, 0); |