diff options
author | momacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-11-10 19:44:12 +0000 |
---|---|---|
committer | momacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-11-10 19:44:12 +0000 |
commit | 5d9d3adf3fd4795bf2483ec8549ddc30e01629db (patch) | |
tree | b31963fe134a1e8a5cc694123b80bde0aab03418 /src/map/npc.c | |
parent | 1fc55f1687f9d99ac7270b28082a5f0727640469 (diff) | |
download | hercules-5d9d3adf3fd4795bf2483ec8549ddc30e01629db.tar.gz hercules-5d9d3adf3fd4795bf2483ec8549ddc30e01629db.tar.bz2 hercules-5d9d3adf3fd4795bf2483ec8549ddc30e01629db.tar.xz hercules-5d9d3adf3fd4795bf2483ec8549ddc30e01629db.zip |
- Modified *monster and *areamonster script commands to allow size and ai parameters.
-- Event parameter now no longer works as size & ai replacement.
-- If not defined, it'll assume the default size (0 = medium) and default ai (0 = none).
- Changed all hardcoded AI states to recently created enum.
Please test, if you find any bugs, report on our Bug Tracker.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16904 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 65f5ee577..60f8b14ad 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -383,15 +383,6 @@ int npc_event_doall_id(const char* name, int rid) return c; } - -/// Checks whether or not the event name is used as transport for -/// special flags. -bool npc_event_isspecial(const char* eventname) -{ - return (bool)( eventname && ISDIGIT(eventname[0]) && !strstr(eventname, "::") ); -} - - /*========================================== * Clock event execution * OnMinute/OnClock/OnHour/OnDay/OnDDHHMM |