From 09b2f259b86749e57b1179d795f19f495c5defab Mon Sep 17 00:00:00 2001 From: Skotlex Date: Wed, 10 Aug 2011 15:52:59 +0000 Subject: - Commiting a bunch of cleanups piled up from the past few weeks/months/years. - Updated unitwarp so that an id of "0" causes the script's rid to be warped. - Updated the Brasilis ontouchNPC warp command to use unitwarp instead. - Signum Crucis's duration is now specified in the skill_cast_db file - Updated @warp/@jump commands so that when an invalid tile is specified, a nearby cell is chosen (rather than using a map-wide random value) - The if(req.weapon) code was broken, since req.weapon is never "0" for a skill. Updated the code so that the requirement of '99' (any weapon) is stored as 0, in order to make the checks effective. - Cleaned up the code for script command warpparty - Fixed the define itemdb_canrefine() - Cleaned up some the status_damage() function - Fixed map_random_dir(), which at times would pick cells that didn't preserve the required distance. - Some aesthetic code cleanups. - Fixed some possible crashes for skills where the code assumes the caster is a player. - Fixed a bunch of idiotic code-snippets that should have embarrassed whoever was responsible for them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14929 54d463be-8e91-2dee-dedb-b68131a5f0ec --- db/skill_cast_db.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db') diff --git a/db/skill_cast_db.txt b/db/skill_cast_db.txt index df31fa116..7ded81500 100644 --- a/db/skill_cast_db.txt +++ b/db/skill_cast_db.txt @@ -88,7 +88,7 @@ //-- AL_HOLYWATER 31,1000,500,0,0,0 //-- AL_CRUCIS -32,500,2000,0,0,0 +32,500,2000,0,60000,0 //-- AL ANGELUS 33,500,3500,0,30000:60000:90000:120000:150000:180000:210000:240000:270000:300000,0 //-- AL_BLESSING -- cgit v1.2.3-70-g09d2