summaryrefslogtreecommitdiff
path: root/conf-tmpl
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-16 08:25:45 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-16 08:25:45 +0000
commit4431323e09b1ab9875ea8ac67f0ecd1b36420559 (patch)
tree3e45c50e0b8333a87443240bd7cd7653c9bfe948 /conf-tmpl
parent35c7324f5f2f1a5f1dc4fa690020fcbd0c18d891 (diff)
downloadhercules-4431323e09b1ab9875ea8ac67f0ecd1b36420559.tar.gz
hercules-4431323e09b1ab9875ea8ac67f0ecd1b36420559.tar.bz2
hercules-4431323e09b1ab9875ea8ac67f0ecd1b36420559.tar.xz
hercules-4431323e09b1ab9875ea8ac67f0ecd1b36420559.zip
* Fixed a typo in quests/all_quest.txt
* Set 'killerrid' and do PCKillEvent before calling PCDieEvent * Added some new script event related options to script config * Added 10 of the new card effects on the 2/15's patch * Minor rewrites on self and enemy weapon/armor breaking * Added missing code for 'bBreakWeaponRate' and 'bBreakWeaponRate' effects * Added missing code for 'bAddStealRate' effect * Removed redundant 'infinite_autospell' in map_session_data git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1116 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'conf-tmpl')
-rw-r--r--conf-tmpl/script_athena.conf25
1 files changed, 24 insertions, 1 deletions
diff --git a/conf-tmpl/script_athena.conf b/conf-tmpl/script_athena.conf
index 45ee734f7..bc8f1c907 100644
--- a/conf-tmpl/script_athena.conf
+++ b/conf-tmpl/script_athena.conf
@@ -11,4 +11,27 @@ warn_cmd_mismatch_paramnum: yes
check_cmdcount: 8192
-check_gotocount: 512 \ No newline at end of file
+check_gotocount: 512
+
+
+//---- Custom script functions ----
+
+// 0 - Event script is defined as an NPC by itself
+// 1 - Event script can be called by script label
+event_script_type: 0
+
+// Name of event when a player has died
+die_event_name: PCDieEvent
+
+// Name of event when a player kills something
+kill_event_name: PCKillEvent
+
+// Name of event when a player logs out
+logout_event_name: PCLogoutEvent
+
+// Name of event when a player logs in
+login_event_name: PCLoginEvent
+
+// For events to be activated do we require
+// a 'set [EventName],1;' to be called first?
+event_requires_trigger: yes