summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-09 19:43:13 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-09 19:43:13 +0000
commit1ad8c0860982f9f7e01afffcd703a919b7e186c7 (patch)
tree52f6e57f7bda59fe59185e2670640ca655fa8f8b /src/map/skill.c
parent3a562499db31496d4595910760560743d55b478f (diff)
downloadhercules-1ad8c0860982f9f7e01afffcd703a919b7e186c7.tar.gz
hercules-1ad8c0860982f9f7e01afffcd703a919b7e186c7.tar.bz2
hercules-1ad8c0860982f9f7e01afffcd703a919b7e186c7.tar.xz
hercules-1ad8c0860982f9f7e01afffcd703a919b7e186c7.zip
- Added function mob_respawn which makes a mob respawn on spot 3 seconds after deafeat if SC_KAIZEL is active.
- Modified NPC_REBIRTH to use Kaizel level 1. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5240 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index b33211759..9e45d6304 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4949,9 +4949,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
case NPC_REBIRTH:
- if (md && md->state.state == MS_DEAD) {
- mob_setdelayspawn (md->bl.id);
- }
+ //New rebirth System uses Kaizel lv1. [Skotlex]
+ status_change_start(bl,SkillStatusChangeTable[skillid],100,1,0,0,0,skill_get_time(SL_KAIZEL,skilllv),0);
break;
case NPC_DARKBLESSING: