1657 Commits

Author SHA1 Message Date
Vicious
ae8573f399 * included MAX_WEAPON_SIZE for flexible weapon types
* more ninja/GS work

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 05:43:51 +00:00
skotlex
d29bdd1949 - Fixed a bug that was making the no_spawn_on_player setting useless.
- Added Deadly Poison and Bleeding to status_get_sc_def, meaning that now vit does increases defense against being inflicted from it.
- Fixed a crash and an infinite loop in @whodrops @.@
- Expanded the item_db column sizes for the names to 50.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 04:05:48 +00:00
Vicious
a3d320f902 more skill fix.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 00:56:11 +00:00
Vicious
ab4248e6b8 Some more skill fix.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 19:43:20 +00:00
skotlex
3eb48e92a4 -pc_jobid2mapid and pc_mapid2jobid now return int, and will return -1 when the class couldn't be deciphered.
- pc_authok will change you to notice if your current class is invalid.
- rewrote pc_jobchange to be much more simple and less of a hassle by using pc_jobid2mapid and pc_mapid2jobid as necessary.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 19:16:56 +00:00
skotlex
4a5e8159d1 - Mobs will now chase you even if you hit them from outside their range of view.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 18:00:19 +00:00
skotlex
2e340d40e0 - Fixed item disappearing from the floor when you attempted to pick it up and there was no room in your inventory.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5517 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 16:56:52 +00:00
Vicious
f36f60be04 nj/gs skill update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5516 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 16:37:58 +00:00
skotlex
a2797c2755 - Items now store the top MAX_SEARCH drops from mobs and lists them through the new atcommand @whodrops. All merged from my server, of course =D
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5515 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 16:03:28 +00:00
Vicious
10f9078ab9 some skill check condition
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5514 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 15:43:04 +00:00
skotlex
fbda66933a - Added functions mobdb_searchname_array and itemdb_searchname_array which return an array of matches.
- Modified @iteminfo and @mobinfo to search and display various matches instead of just one.
- Constant MAX_SEARCH in map.h defines the max size of search results.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5512 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 15:16:48 +00:00
Vicious
d4e9bcf863 fixed compile issue. fixed ninja issues.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 05:52:55 +00:00
Vicious
d2a34c42cc some NJ/GS fix.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5509 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 05:18:46 +00:00
Vicious
598056945a @job ninja/gs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 02:31:16 +00:00
Vicious
a5b79a35cf work jobchange. WORK! T_T
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5505 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 23:39:11 +00:00
Vicious
934151fee6 some random battle.c edit. /ho
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 23:16:05 +00:00
Vicious
14fe678320 mapid of ninja/gs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5502 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 21:53:57 +00:00
skotlex
fad5deaa7b - Added a check that forces self skills to cast on yourself in skill_use_id
- Skills with INF_SELF_SKILL + INF2_NO_TARGET_SELF are now "combo" skills in the sense they auto-select your attack target, and do not stop your attacking animation. Attackable time by default is adjusted by amotion.
- Gospel won't start taking effect until after 10 secs have passed.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5501 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 21:31:01 +00:00
Vicious
396e392fd0 more ground work for ninja/GS
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 21:11:54 +00:00
blackhole89
9e4fc7611b git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5496 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-03-07 20:39:28 +00:00
skotlex
0078db6a30 - Some overflow protections on calculation of max hp. Now when max hp becomes negative, it is bumped to the server's max_hp setting (it is assumed there was an overflow)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 19:59:57 +00:00
Vicious
3075eeeca6 @job ninja/gunslinger. you need latest exe
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 17:08:41 +00:00
skotlex
39b2650cf0 - skill_blown flag&0x40000 now knocks back in a random direction.
- Some small cleanups to prevent skill_blown execution when the distance is 0 or the target couldn't be knocked back.
- WZ_STORMGUST now knocks back on a random direction.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 17:06:15 +00:00
skotlex
223025ffd0 - Some code-speedups on reading the skill-requirements in skill_check_condition.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5482 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 13:51:42 +00:00
skotlex
445fa07fa2 - Some corrections due to the guild skill position change.
- Removed file todo-for-stable as it's impossible to keep it updated :X


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5479 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 04:15:39 +00:00
skotlex
b9b3055897 - Fixed npc_event doing a map-check when the npc is not on any map.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5473 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-06 14:54:40 +00:00
skotlex
2b874adf3c - Fixed a debug message showing up on skill castend nodamage id when using a guild skill
- Fixed #save not working on maps not in the current map server.
- Added battle config clear_skills_on_death to decide whether all ground-based skills should be removed when you die. Defaults to yes.
- Changed Magic Crasher's element to -1


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5472 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-06 14:37:44 +00:00
codemaster
884419e850 * Removed my EXP limit as it did not do what it was supposed to [Codemaster]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5469 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-05 22:41:52 +00:00
skotlex
f52676dd01 - Fixed remove trap by updating the definition of INF_GROUND_SKILL (it shouldn't include target-targetting skills!)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5468 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-05 19:14:58 +00:00
skotlex
1dbb2df0a7 - Fixed animation of Redemptio
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5466 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-05 18:12:20 +00:00
skotlex
9e7f9a41ad - Fixed a pair of missing map_freeblock_unlock
- Changed around a bit the code of the skill_get defines to return 0 if you ask for an id of the place where the guild skills are placed. Also moved the guild skills block to ID 900~915. Also stuff like skill_get_inf will return the relevant guild data as defined on skill_db.txt


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5465 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-05 16:06:30 +00:00
Lance
18b0a014dd * Fixed easter.txt typo.
* Extended summon command to enable custom timeouts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5461 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-05 09:36:10 +00:00
skotlex
8e70128bf9 - Fixed a bug on the last fix :P
- Removed some of those annoying login-SQL on-log messages that are totally useless.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5459 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-04 06:06:28 +00:00
skotlex
37912c2a7b - Fixed subnet checking being broken in the login txt server.
- Changed a bit the information of the subnet checking to include the ip that is being checked.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5458 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-04 05:40:06 +00:00
skotlex
dc8dd724eb - Fixed missing baby-dancer job in exp2.txt
- Added function battle_set_walkdelay in charge of updating walkdelays of characters based on two criterias: when the delay is induced by damage, if the current walk delay isn't over yet, do not update it. If the delay is instead caused by a skill, then the current walk delay cannot be decreased, only increased.
- Removed the canmove tick reset on skill cast cancel; likewise it isn't updated on begin casting. pc_can_move uses a skilltimer check to know whether you can move or not.
- Added GrandCross's can't move delay of 900ms to skill_cast_db
- Added Finger Offensive's can't move delay of 200ms/lv to skill_cast_db


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5457 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-04 04:48:30 +00:00
skotlex
db973e2998 - The rate passed to status_change_start must now be in 0->10000 range.
- Added macros sc_start and sc_start4 to simplify invocation of status_change_start.
- Cleaned the active guild skills, requirements moved to skill_check_require, should now be usable by non-players as well (pets/mobs).
- Updated skill_cast_db time info. Magnum's time2 is skill-block time, St. Recovery/ Cure's time2 is the confuse/blind duration, added NPC_POWERUP/NPC_AGIUP durations, Napalm Vulcan's time2 is curse length, and most of Tarot Card's effects last time2 as well.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5454 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-04 01:54:56 +00:00
skotlex
389c773fd2 - Fixed crash on the NPC whisper system when the message's size was 1.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5452 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03 22:28:15 +00:00
skotlex
1e302d8177 - Fixed compilation error on windows
- Strip sc's are now removed on logout.
- Some cleanups


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5451 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03 20:01:00 +00:00
skotlex
2558edf496 - Added a column in skill_cast_db for specifying can't walk delays.
- Removed the apply walk-delay entry from skill_cast_nodex
- Fixed autoloot dropping the item to the ground even when it was autolooted.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5450 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03 18:46:51 +00:00
Zephiris
d4ccec0203 * Fixed character deletion working on SQL without an email address (Thanks to Valaris) [Zephiris]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5449 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03 18:09:24 +00:00
skotlex
373436fbde - Added event 8 for mobspawns that should spawn with special ai set.
- Modified battle_check_target so that mobs with special ai's default enemy are mobs with no special ai.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5448 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03 17:15:09 +00:00
skotlex
d770421a9d - Trick dead now ends on logout
- Added mapflag nocommand which blocks @/# commands unless your gm level is above gm_skill_unconditional's level.
- Fixed weapon scripts not being executed unless the weapon was forged.
- gm_skill_unconditional is now a no/gm-level setting instead of yes/no


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03 14:38:13 +00:00
Lance
7f378f29f8 - Fixed typo in script.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03 08:40:24 +00:00
Lance
348f88c110 * IDE error.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5442 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03 08:05:28 +00:00
skotlex
4070588825 - Small fixes on mob_skill_use
- slaves inherit speeds will only work if the master can move.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5441 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03 04:20:58 +00:00
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
28e4d9d3ae - status_check_skilluse cleanup. Some status will only block skills when they are first used, not on cast-end (which includes auto-spells and ground-skill checks). Added flag 2 to signal splash/aoe effects (skill already casted, but target just affected)
- Gravitation now only affects the caster, should have also fixed the skill not doing damage when skill_caster_check is set.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5437 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 23:51:20 +00:00
skotlex
c64fbb45b5 - Hopefully fixed the compile error due to the mapregsql_handle...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 21:33:26 +00:00
skotlex
8a67a7cf35 - Fame list size is now defined by MAX_FAME_LIST constant (mmo.h)
- Char server can now specify the max size for blacksmith/alchemist/taekwon rankers.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 21:11:50 +00:00