34 Commits

Author SHA1 Message Date
skotlex
de382f40b6 - Added the skill-related variables to pet_data, removed the pet skill delay structure.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5440 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03 02:51:45 +00:00
skotlex
15dc14c30b - Fixed a stupid typo that disabled all pet support skills from ever triggering (except ground-based ones)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5439 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03 00:26:23 +00:00
skotlex
6232f11855 - Added map chk cells types CELL_CHKREACH and CELL_CHKNOREACH, they are the same as their PASS/NOPASS equivalents, but will ignore the cell-stacking mod when enabled.
- Updated path.c with jA's implementation, which should make long path searching more efficient.
- Also added some typedefs from jA for the common structure types (PC/MOB/NPC, etc)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5366 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-22 15:27:04 +00:00
skotlex
8563167d94 - Fixed possible crash due to invalid index in the pet select packet.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5314 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-18 00:36:16 +00:00
skotlex
994d991fc9 - Added NK value 3: No damage + area of effect skill (NK_SPLASH_NO_DAMAGE)
- Removed the double-cast specific code and made it use skill_addtimerskill instead.
- Modified party_foreachsamemap so that it returns to addition of the return value of the functions invoked. Type has been changed for "range", when 0, it scans all party members in the map.
- Updated most skill/battle code to use map_foreachinrange rather than map_foreachinarea.
- map_foreachinrange does not performs an exact range check anymore. However the relevant code is commented and anyone can enable it.
- Updated most skills to use skill_get_splash instead of hardcoded ranges.
- Added function skill_get_casttype which returns the type of function that should be invoked for that skill: skill_castend_pos, skill_castend_nodamage_id or skill_castend_damage_id.
- self skills are sent to skill_castend_nodamage_id regardless of nk (nk should signal if the skill causes damage above everything, it is used on autospell/effects).
- Due to the previous change, self skills where the target and src are different, and don't have an nk of no damage, they are sent to castend_damage_id (assumed target auto-selected skills)
- Applied the relevant updates to db/skill_db.txt, db/skill_unit_db also got updated, as trap ranges should all be 1, the splash damage range is defined now in skill_db
- Cleaned up the implementation of the code related to Gangster's paradise and TK_HP/SPtime


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5313 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-17 21:33:54 +00:00
skotlex
e647a2cbe3 - Pet eggs won't be deleted upon selection for hatching, but on pet data retrieval now.
- Added check to pc_readdb to printout if a certain job is missing it's experience table.
- Added Job_Wedding to db/const.txt


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13 20:55:09 +00:00
skotlex
328de1ec52 - Lures won't be lost now when you use them on a non-mob.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10 19:29:10 +00:00
skotlex
1b71a1a4da - Small fix in pet_attack that would make pets not unlock their target in some situations.
- Fixed invisible shops. callshop scrip command now works!
- Added proper documentation of script command callshop


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-05 11:24:46 +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
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
171609d4a2 * Readded @disablenpc
* Fixed @reloadscript not removing old NPC's and monsters first
* Some changes in mob and NPC unloading
* Changed the original @disablenpc to @hidenpc

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-07 15:14:35 +00:00
celest
72f63ee03e * updated map server to jA1137~1159
* Some tidying up in mob.c and skill.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30 11:44:12 +00:00
shinomori
eeda34c068 read_petdb() loop variable fix [Shinomori]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29 21:23:11 +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
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
244c817d0d * Fixed a crash when freeing memory of pets
* Added Cygwin support to the -DDUMPSTACK option, and changed its format
* Removed duplicate fopen in login_log

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1250 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-18 17:36:03 +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
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
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
(no author)
e4633d731a autoloot, poison spore and more on the unknown skill [Shinomori]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-13 19:53:10 +00:00
(no author)
0fab6904cc Memory leak fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1006 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-27 19:25:09 +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)
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
codemaster
3a5658ce86 * Don't allow Pets to attack Guardians outside of WoE [Codemaster] [SVN 940]
* Require 15% of HP or more for WE_MALE skill [Codemaster] [SVN 940]
* Require 15% of SP or more for WE_FEMALE skill [Codemaster] [SVN 940]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-09 15:38:39 +00:00
amber
169ddd77b8 update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-29 21:16:05 +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
amber
973fe525a7 update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@804 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27 02:46:25 +00:00
amber
2c5b677475 updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-26 22:55:14 +00:00
celest
94fae3e32b * Added Bitmap File system
* Added --run_once flag

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@789 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-26 18:47:04 +00:00
mc_cameri
474756f471 git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@643 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-12-19 17:00:07 +00:00
mc_cameri
64e738cace git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@552 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-12-13 10:51:29 +00:00
amber
d479e29aee Fixed some file types
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-14 16:18:26 +00:00
(no author)
706e785091 git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@2 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-11-04 23:25:09 +00:00