420 Commits

Author SHA1 Message Date
skotlex
59e17a948b - Modified PA_GOSPEL so that the random damage attack becomes a BF_MISC attack.
- Added pc_resetskill when lowering job level and there's not enough skpoints to substract.
- Fixed compile error of SG_FUSION in pc.c
- Modified pc_resetskill to receive a flag to indicate if it should or not do status_calc_pc and send skill block updates. Meant to optimize performance when used in the middle of a larger update.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13 16:54:24 +00:00
skotlex
d25d952fc6 - Cleaned up and reorganized status_change_start. Now it also receives the success % rate (0->100)
- Added local function status_get_sc_tick which takes care of reducing the effect duration as need is be.
- Modified status_get_sc_def to handle defense against all related statuses, now returns defense on a scale where 10000 is 100%.
- Added time2 to pangvoice, it is the player effect's duration while time1 is for the mon's effect.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08 16:56:53 +00:00
Valaris
8e410ec582 * Added some of eAIRC bot code, written by me and LittleWolf. It is disabled and has no configuration options yet, as it is not finished. [Valaris]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5201 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-05 17:53:53 +00:00
skotlex
36ff68ba2f - Fixed the reported map when there is an error in report_src (script.c)
- Earth attacks now work on hidden enemies.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5175 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-03 18:53:26 +00:00
skotlex
28c32a9532 - Improved the NPC timer system to enable to have multiple timers going on at a time with different players attached to each. Now npc event timers are of two types: attached or global. The global timers don't have a player attached and can be started/halted by anyone. The character timers have a player attached, and they can only be stopped by a script that has the same player attached.
- Now player attached scripts will auto-abort when the atteched player quits the map server.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5167 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-02 21:26:53 +00:00
skotlex
697d29d7d4 - Fixed a typo bug in SC_STAR_COMFORT handling.
- Fixed a possible crash bug in SC_POISONREACT handling.
- Simplified the skill trigger code for ST_PRESERVE, SG_FUSION, SG_*_COMFORT
- Unified the status change variables into a single structure (sc_count, opt1, opt2, opt3, option, and the array of status change data) which should make it easier to handle sc related stuff.
- TK_DODGE now won't trigger if your opt1 is set ;)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5154 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-01 17:17:09 +00:00
Komurka
05eba2d392 * Added 'restricted' mapflag, based on lordalfa patch
- you can set restriction zone on map (see mapflag/restricted.txt)
- you can turn off item usage on certain restricted map in item_noequip.txt
- you can turn off skill usage on certain restricted map in skill_nocast_db.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-30 14:24:26 +00:00
Valaris
2178a86317 AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.  EVERYTHING ELSE
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:10:48 +00:00
Valaris
fd99753f8e Clearing trunk.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:00:45 +00:00
celest
eba2fb10e6 * Skip partner checking when calculating status with Marionette Control on
* Fixed plagiarised skills become unuseable after saving character
* Fixed double skill fail messages for stone curse
* Added modulus by zero check to rand()

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1419 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-06 09:00:18 +00:00
amber
107001247d Fixed some memory corruptions [MouseJstr]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-01 06:16:28 +00:00
celest
05e31aee3c * Fixed a bug with InitTimer/StopTimer
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1358 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-31 17:21:24 +00:00
amber
13eeee2ee6 More C/C++ Conformance fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1334 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29 16:46:19 +00:00
celest
7e1c16d221 Compile error fix ^^
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1329 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29 07:52:06 +00:00
amber
dfd7258882 Fixe compile time problems with our mixed C++/C conformance
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29 06:18:21 +00:00
veider
de7940888a git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1316 54d463be-8e91-2dee-dedb-b68131a5f0ec 2005-03-28 21:25:11 +00:00
celest
b9a1f0d7fd Check changelog ^^
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-22 16:31:56 +00:00
celest
0b31d2f62b * Added getrefine()
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1253 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-19 08:13:37 +00:00
celest
4d4414fbbc * Added display script filename when a script error is found while parsing
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1244 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-17 10:46:37 +00:00
Lupus
67ec0711d3 fixed script command 'isequippedcnt'
added new script command for new cards 'cardscnt'
(to fix cards exploits! should check old cards, too)
fixed @jail / @unjail SAVE POINT abuse

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1217 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-08 21:23:51 +00:00
celest
b5d12d7ea8 Replaced some free's with aFree
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1208 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-07 16:01:20 +00:00
celest
055dde5bb4 * Updated core and map-server to jA 1115~1137
* Fixed a typo in Volcano

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-07 11:35:13 +00:00
Lupus
9f0d5a05a8 added new script commands
from jA

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-26 07:40:41 +00:00
amber
0b091d02ee PCRE updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1157 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-22 05:01:20 +00:00
celest
509039ac6b * Added skill requirements for the new guild skills
* Allow Emergency Recall to be cast in guild castles
* Add 'minimum job level required' for skill_tree reading
- Berserk now requires job level 50
* Added Spring Trap to be able to trigger ankle snare traps that aren't activated yet
* Added a fix in guild.c by Mellowz
* Some rewrites on the pet skill bonuses system
* Check whether a monster is still alive before starting a status change

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1142 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-20 14:11:43 +00:00
Lupus
6dcb5ae02b added +2 drops slots into MOBS DBs
brushed up srcs for 10 drops

fixed some mobs...

fixed TXT logs

fixed 1 guardian spawn

changed 2 SQL files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1126 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-17 17:19:26 +00:00
celest
c54e7367f7 * Added 2 new script commands to support 2/15's cards patch
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1123 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-17 07:29:01 +00:00
celest
528ed3e19f Added 3 more of the new card effects
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-16 12:46:21 +00:00
celest
899b3ebeeb * 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://svn.code.sf.net/p/rathena/svn/branches/stable@1116 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-16 08:25:45 +00:00
Lupus
03b82d9adb fixed spawn of treasure boxes
fixed present_log
Mobs drops: expanded 8 slots into 10 (except READING info from TXT / SQL dbs. But added a plug - to make eA work with old DBs)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-15 19:30:58 +00:00
(no author)
a6330fd404 git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1101 54d463be-8e91-2dee-dedb-b68131a5f0ec 2005-02-13 04:52:20 +00:00
(no author)
d6688a9f90 * Reduced memory used for the skill_tree DB by 30+mb
* Added script commands isday and isnight
* Updated Sharp Shooting, Ankle Snare, Magnum Break, Tiger Fist, Devotion, Soul Burn

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-11 10:17:53 +00:00
(no author)
c372b3de89 more compile errors
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1040 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-05 06:02:39 +00:00
(no author)
d96cc5a331 * Added crash check for Ice Wall
- reduce mob_data->size variable to 1 bytes
- change from if-else to switch statements in buildin_strmobinfo

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-02 04:26:34 +00:00
(no author)
3ba32cce67 Added status_get_sc_def for calculating resistance against status abnormalities
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-26 11:20:38 +00:00
(no author)
0c541b77fb * Added status.c and status.h of jA 1091 update and moved some functions into the new source files
* Updated auto_counter_type's description in battle_athena
* Removed some unnecessary skill level checks in battle.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@996 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-26 04:54:22 +00:00
(no author)
5618dc9edc Made some more changes, reverted some old ones
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-23 21:52:55 +00:00
(no author)
778e804dd6 update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-23 20:38:44 +00:00
celest
c50add18b1 Added Shinomori's changes to npc event timers
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-11 14:52:10 +00:00
celest
0e8dc29b2d * Completed adding packet DB reading
* Added Shinomori's suggestions for npc timers,
* Removed checking for script event timers' length, and added Shinomori's changes

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@947 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-10 15:25:24 +00:00
celest
5055b2da21 * Added 'max_eventtimer_length' to script_athena.conf
* Removed PCLoginEvent requiring 'PCLoginEvent' for the player to be set to 1 first to be activated

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-10 10:58:12 +00:00
celest
c94c71d282 * Fixed some typos and exploits in the Blacksmith and Hunter job quest
* Modified 'wedding' script command to work with "OnTimer" scripts
* Added 'attachnpctimer' and 'detachnpctimer' script command

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-10 10:16:06 +00:00
codemaster
487f212144 * Added the @sound command and the NPC command of soundeffectall - works just like soundeffect, but plays for everyone in the area [Codemaster] [SVN 942]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@942 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-09 23:08:31 +00:00
celest
0fa3848f60 * Added 'summon' script command
* Added Wallex's fix for script.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@935 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-08 03:37:01 +00:00
celest
da46967b27 * Set 'droprate0item''s default to 'yes'
* Look at item type other than item ID as well to check whether it is a card

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@911 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-05 08:00:53 +00:00
amber
2b85267cda Add new script commands
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@880 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-31 03:12:39 +00:00
amber
0452a9c55f cxx updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-29 19:18:18 +00:00
celest
39521cb4a5 git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@859 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-12-29 17:22:35 +00:00
amber
d8dd831efb update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27 16:29:44 +00:00
amber
70ac0a5e96 Fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-24 21:09:43 +00:00