From 215674c27bd3ba99de23c81356a77c94bc967b6a Mon Sep 17 00:00:00 2001 From: skotlex Date: Sat, 8 Apr 2006 19:05:21 +0000 Subject: - Fixed skill_nocast_db reading so that when the same skill is specified multiple times, the blocked effects add up instead of replacing each other. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5960 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/skill.c b/src/map/skill.c index b94916433..34605d016 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -10991,7 +10991,7 @@ int skill_readdb(void) i = GD_SKILLRANGEMIN + i - GD_SKILLBASE; if(i<=0 || i>MAX_SKILL_DB) continue; - skill_db[i].nocast=atoi(split[1]); + skill_db[i].nocast|=atoi(split[1]); k++; } fclose(fp); -- cgit v1.2.3-70-g09d2