From d923a94a3b12267712d2c2c33bfff66c9e51557f Mon Sep 17 00:00:00 2001 From: Inkfish Date: Tue, 27 Oct 2009 14:46:42 +0000 Subject: * Cast time of Emergency Call is doubled if you master of High Jump. * High Jump can't be used on PvP maps. * Fixed a potential null pointer from last commit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14106 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index c75600180..56969f1db 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1043,7 +1043,11 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh if( k > 2 ) k = 2; // ...but hard-limited to 300%. casttime += casttime * k; } - break; + break; + case GD_EMERGENCYCALL: //Emergency Call double cast when the user has learned Leap [Daegaladh] + if( sd && pc_checkskill(sd,TK_HIGHJUMP) ) + casttime *= 2; + break; } // moved here to prevent Suffragium from ending if skill fails -- cgit v1.2.3-60-g2f50