diff options
author | shadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-13 11:39:13 +0000 |
---|---|---|
committer | shadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-13 11:39:13 +0000 |
commit | 304dbe79fc957d7fe757761a70ba0cd7a906d639 (patch) | |
tree | ad411877badbc28c6e23687aab85ba71198deb3b /src/map/skill.c | |
parent | 8605b217a7e1c6ed424a8cdf6a987502e4cd6917 (diff) | |
download | hercules-304dbe79fc957d7fe757761a70ba0cd7a906d639.tar.gz hercules-304dbe79fc957d7fe757761a70ba0cd7a906d639.tar.bz2 hercules-304dbe79fc957d7fe757761a70ba0cd7a906d639.tar.xz hercules-304dbe79fc957d7fe757761a70ba0cd7a906d639.zip |
Fixed some skills working on undead element when they were supposed to work on undead race.
Skills Fixed: GrandCross, Dark GrandCross, Cure, Head Crush, Signum Crusis, Blessing, Demons Bane, Divine Protection.
Skills needing confirmation: Magnus Exorcismus, Evil Land, Sanctuary, Status Recovery.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12820 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 5bf2ee9c9..b2da0e8b5 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3903,8 +3903,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in status_change_end(bl, SC_SILENCE , -1 ); status_change_end(bl, SC_BLIND , -1 ); status_change_end(bl, SC_CONFUSION, -1 ); - //Confusion on undead won't trigger on undead players. - if(!dstsd && battle_check_undead(tstatus->race,tstatus->def_ele)) + //Confusion status will trigger against undead race. + if(tstatus->race==RC_UNDEAD) sc_start(bl, SC_CONFUSION,100,1,skill_get_time2(skillid, skilllv)); clif_skill_nodamage(src,bl,skillid,skilllv,1); break; @@ -6297,7 +6297,7 @@ struct skill_unit_group* skill_unitsetting (struct block_list *src, short skilli case DC_HUMMING: val1 = 2*skilllv+status->dex/10; // Hit increase if(sd) - val1 += 2*pc_checkskill(sd,DC_DANCINGLESSON); + val1 += pc_checkskill(sd,DC_DANCINGLESSON); break; case BA_POEMBRAGI: val1 = 3*skilllv+status->dex/10; // Casting time reduction @@ -6312,8 +6312,8 @@ struct skill_unit_group* skill_unitsetting (struct block_list *src, short skilli val1 = 30*skilllv+status->dex; // ASPD decrease val2 = 100 -2*skilllv -status->agi/10; // Movement speed adjustment. if(sd){ - val1 += pc_checkskill(sd,DC_DANCINGLESSON); - val2 -= pc_checkskill(sd,DC_DANCINGLESSON); + val1 += pc_checkskill(sd,DC_DANCINGLESSON); //TO-DO This is a guessed value + val2 -= pc_checkskill(sd,DC_DANCINGLESSON); //TO-DO This is a guessed value } if (val2 < 1) val2 = 1; break; @@ -6328,11 +6328,11 @@ struct skill_unit_group* skill_unitsetting (struct block_list *src, short skilli } break; case DC_SERVICEFORYOU: - val1 = 10+skilllv+(status->int_/10); // MaxSP percent increase - val2 = 10+3*skilllv+(status->int_/10); // SP cost reduction + val1 = 15+skilllv+(status->int_/10); // MaxSP percent increase TO-DO: this INT bonus value is guessed + val2 = 20+3*skilllv+(status->int_/10); // SP cost reduction if(sd){ - val1 += pc_checkskill(sd,DC_DANCINGLESSON); - val2 += pc_checkskill(sd,DC_DANCINGLESSON); + val1 += pc_checkskill(sd,DC_DANCINGLESSON); //TO-DO This bonus value is guessed + val2 += pc_checkskill(sd,DC_DANCINGLESSON); //TO-DO Should be half this value } break; case BA_ASSASSINCROSS: |