diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-24 19:33:37 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-24 19:33:37 +0000 |
commit | 34a1a63f26ecc52c524183e6aa477ebfc5dab904 (patch) | |
tree | 4da6076ebc49228099c95e6306720cf9ff02b4bc /src/map/skill.c | |
parent | 6240fbceaa9a5f366bfcf7b95c3dd959ec04e60c (diff) | |
download | hercules-34a1a63f26ecc52c524183e6aa477ebfc5dab904.tar.gz hercules-34a1a63f26ecc52c524183e6aa477ebfc5dab904.tar.bz2 hercules-34a1a63f26ecc52c524183e6aa477ebfc5dab904.tar.xz hercules-34a1a63f26ecc52c524183e6aa477ebfc5dab904.zip |
- NPC_MAGICALATTACK now starts a state similar to Sacrificial Ritual, in the sense that every normal attack afterwards becomes a Magical Attack. The skill duration is 15 secs.
- Corrected some trade-cancel calls in trade_traderequest.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10346 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 36477a61d..bb895c68d 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3133,7 +3133,6 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int case AL_HOLYLIGHT: case WZ_JUPITEL: case NPC_DARKTHUNDER: - case NPC_MAGICALATTACK: case PR_ASPERSIO: case MG_FROSTDIVER: case WZ_SIGHTBLASTER: @@ -3144,6 +3143,11 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int skill_attack(BF_MAGIC,src,src,bl,skillid,skilllv,tick,flag); break; + case NPC_MAGICALATTACK: + skill_attack(BF_MAGIC,src,src,bl,skillid,skilllv,tick,flag); + sc_start(src,SkillStatusChangeTable(skillid),100,skilllv,skill_get_time(skillid,skilllv)); + break; + case HVAN_CAPRICE: //[blackhole89] { int ran=rand()%4; |