From c69e4b6cf853d31f18ef9c2f04d2bc965f4ad158 Mon Sep 17 00:00:00 2001 From: malufett Date: Tue, 5 Feb 2013 19:12:39 +0800 Subject: Fix Bug # 7049 Added new item bonuses bFixedCast, bVariableCast & bFixedCastrate. (see 'doc/item_bonus.txt' for info) Added new conf for max walk path.(Bug Report # 7042) http://hercules.ws/board/tracker/issue-7049-do-we-need-new-bonus/?gopid=16578#entry16578 --- src/map/script.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index 60a61654a..0b649f990 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -7860,6 +7860,7 @@ BUILDIN_FUNC(bonus) case SP_SKILL_FIXEDCAST: case SP_SKILL_VARIABLECAST: case SP_VARCASTRATE: + case SP_FIXCASTRATE: case SP_SKILL_USE_SP: // these bonuses support skill names val1 = ( script_isstring(st,3) ? skill_name2id(script_getstr(st,3)) : script_getnum(st,3) ); -- cgit v1.2.3-70-g09d2 From 2eb3e450d53a450d2493fae0ede3632802de6dd6 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Tue, 5 Feb 2013 18:58:39 -0200 Subject: Updating Headers of modified files Signed-off-by: shennetsind --- src/map/battle.h | 8 ++++++-- src/map/map.h | 5 +++-- src/map/script.c | 5 +++-- src/map/unit.c | 5 +++-- 4 files changed, 15 insertions(+), 8 deletions(-) (limited to 'src/map/script.c') diff --git a/src/map/battle.h b/src/map/battle.h index 6586f4561..1354da78a 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -1,5 +1,6 @@ -// Copyright (c) Athena Dev Teams - Licensed under GNU GPL -// For more information, see LICENCE in the main folder +// Copyright (c) Hercules dev team, licensed under GNU GPL. +// See the LICENSE file +// Portions Copyright (c) Athena dev team #ifndef _BATTLE_H_ #define _BATTLE_H_ @@ -483,9 +484,12 @@ extern struct Battle_Config int atcommand_mobinfo_type; int mob_size_influence; // Enable modifications on earned experience, drop rates and monster status depending on monster size. [mkbu95] + + /** Hercules **/ int skill_trap_type; int item_restricted_consumption_type; int max_walk_path; + } battle_config; void do_init_battle(void); diff --git a/src/map/map.h b/src/map/map.h index bb0bccf2c..06995024f 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -1,5 +1,6 @@ -// Copyright (c) Athena Dev Teams - Licensed under GNU GPL -// For more information, see LICENCE in the main folder +// Copyright (c) Hercules dev team, licensed under GNU GPL. +// See the LICENSE file +// Portions Copyright (c) Athena dev team #ifndef _MAP_H_ #define _MAP_H_ diff --git a/src/map/script.c b/src/map/script.c index 0b649f990..b4f0a5d9b 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -1,5 +1,6 @@ -// Copyright (c) Athena Dev Teams - Licensed under GNU GPL -// For more information, see LICENCE in the main folder +// Copyright (c) Hercules dev team, licensed under GNU GPL. +// See the LICENSE file +// Portions Copyright (c) Athena dev team //#define DEBUG_DISP //#define DEBUG_DISASM diff --git a/src/map/unit.c b/src/map/unit.c index fca406e5f..45aca7d41 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1,5 +1,6 @@ -// Copyright (c) Athena Dev Teams - Licensed under GNU GPL -// For more information, see LICENCE in the main folder +// Copyright (c) Hercules dev team, licensed under GNU GPL. +// See the LICENSE file +// Portions Copyright (c) Athena dev team #include "../common/showmsg.h" #include "../common/timer.h" -- cgit v1.2.3-70-g09d2