From 53e1375cb6926b55a1487b61e5616b299e34e2be Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 29 Mar 2007 20:34:17 +0000 Subject: - Added "do_abort" function to the core. It is invoked when the server has received a Segmentation Fault or Floating Point Exception signal. Currently the only one that uses it is the map-server, which then attempts to save all online characters before aborting. - Note that due to the current coding of the sig plugin, do_abort will not be invoked if you use it! This plugin needs to be updated... - Cleaned up a bit the change element code. val1 is the elemental level, val2 is the element now. - Hardcoded the element and elemental level of SC_CHANGEUNDEAD. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10089 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 5c77f186a..65cc19bcf 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4831,7 +4831,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case NPC_CHANGETELEKINESIS: case NPC_CHANGEUNDEAD: clif_skill_nodamage(src,bl,skillid,skilllv, - sc_start4(bl, type, 100, skilllv, skillid, skill_get_pl(skillid,skilllv), 0, + sc_start2(bl, type, 100, skilllv, skill_get_pl(skillid,skilllv), skill_get_time(skillid, skilllv))); break; -- cgit v1.2.3-70-g09d2