2925 Commits

Author SHA1 Message Date
skotlex
9ddea7953a - Moved the OPTION defines from map.h to status.h (where they belong)
- Added back SC_XMAS to status.c (how was it... lost?)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10 14:38:12 +00:00
Playtester
b6f88c5242 Mob db back to windows format :p
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6549 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10 13:59:45 +00:00
skotlex
ae5d5020c0 - Changed wedding costumes to use setoption rather than changebase.
- Modified setoption so that flag 1 or no flag adds an option, and flag 0 removes it.
- Updated script_commands with the new behaviour.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10 13:43:00 +00:00
Playtester
68e5e58894 Updated history in inn.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10 13:40:31 +00:00
Playtester
c8a3369087 Fixed Inn dialogues
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10 13:32:15 +00:00
skotlex
b30b97cb41 - Updated mob_db2.txt and mob_db2.sql to have only 10 drop slots rather than 15.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10 12:29:54 +00:00
Zido
b467a6bfbc Finished DNSBL, Although untested, It's simple code and should work fine.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6543 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10 05:38:27 +00:00
skotlex
e2eadf7bb2 - Rewrote/cleaned up trade.c for a more clean trading implementation.
- Added @request commands, sends a request to all connected GMs of lowest_gm_level or above as a whisper message. Defaults to gm level 20 users.
- Made SC_COMBO status start delay attackabletime and walkdelay by sc's duration regardless of skill used (previously it was only for TK kicks, now it's for both those and Monk combos)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10 04:04:36 +00:00
skotlex
0b8b0ffa96 - Modified @commands to use Meruru's code which is faster and does a fair attempt at tabulating the commands presented.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10 00:37:24 +00:00
skotlex
fd4f9d05ef - Updated SKA to return a random value between 0 and 99 each time status_get_def is invoked.
- Updated Making Arrow to not include unidentified items in the list.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6540 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09 23:04:56 +00:00
skotlex
61b786eceb - Reduced drop slots from 15 to 10.
- Updated mob_db.sql with the current data.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09 22:57:03 +00:00
skotlex
73b98ea723 - Updated setoption script command to receive a second (optional) argument flag. If the flag is 1, the option is added to what the player currently has; likewise using flag 2 removes only that option. No flag (or any other value) is the older behaviour of removing all other options and setting specificly what is passed.
- Updated script_commands information for setoption due to this change.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09 21:09:53 +00:00
skotlex
20ebb32eb0 - Small fix in npc-created chat rooms to properly include the terminating 0 on the chat's event.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6537 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09 20:23:53 +00:00
skotlex
9df8532910 - Fixed Fog of Wall's symmetry in respect to Misc attacks, they no longer get reduced by 50% regardless of who is standing on the fog.
- monster_ai&2 will now trigger the rude-attacked skill when the mob can't move and the attacker is out of it's attack range.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09 20:11:47 +00:00
skotlex
483d1d7418 - Added missing icon for Joint Beat
- Mob-search functions will now skip enemies with no exp/job_exp.
- Treasure chests will now be excluded from the mob-drop listings (@whodrops)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6534 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09 19:43:43 +00:00
skotlex
26a517cd08 - Fix on pc_skill which fixes overlapping when one gets more than one bonus for the same skill.
- Updated main.sql's loginlog table structure.
- Added svn_update6533.sql to update the loginlog structure as suggested by theultramage.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6533 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09 19:28:58 +00:00
skotlex
24e26035ff - Cleaned up somewhat the implementation of BladeStop.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09 19:02:47 +00:00
skotlex
5e73485603 - Fixed the head_bottom (pet-armor) position in packet 0x22c when crafted for non-players.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09 18:28:10 +00:00
skotlex
05667b0fa9 - Script commands sc_start, sc_start2 and sc_start4 will now start regardless of sc defense of the target player (that is, they cannot be avoided)
- Fixed a possible counter overflow in attacked_count, changed the var size to unsigned char since the code can handle the overflow now.
- Multiple targets again reduces armor defense, as reported by Tharis.
- Increased dex increase of NPC_POWERUP to +20 per level.
- Fog of Wall's -50 hit reduction is now only for ranged attacks.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09 17:08:09 +00:00
Playtester
394fdac7f8 Inn now costs 5k at every level
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09 16:14:39 +00:00
Playtester
f75d2f8c56 More Aegis X.2 drop updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6525 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09 15:32:11 +00:00
skotlex
ff08d639d8 - Reverted the change that was making ES skills stun the caster always.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09 00:34:33 +00:00
skotlex
e63cc72bd7 - Removed the fixpos packet sending when damaged. Aegis sends no such packet.
- Fixed warp-portal being unusable if it was invoked through an item script.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08 23:28:03 +00:00
skotlex
e78ae404f9 - ES magic will now put the caster on stun for 0.5 secs regardless of whether the skill-target is a mob or not.
- Added function clif_party_join_info which sends packet 0x1e9 each time a party-member joins. This packet (as redundant info as it has) should also contain the field for "adoptability", but that needs to be coded in yet.
- Added clif_ParseAdoptRequest which does the basic adoption handling. More checks and the reply packets still need to be coded in.
- Happy State and TK stances won't dispel on death now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6521 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08 20:53:46 +00:00
skotlex
3dc2f37e5f - Cleaned up combo-skill implementation, SC_COMBO is automatically ended in skill_check_condition now.
- Modified TK-ranker infinite combos to behave as described by AuronX (it could use some optimization, since as it currently stands, it invokes the pc_istop10fame function twice per skill invocation).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08 19:05:08 +00:00
skotlex
3d666eeb94 - Corrected Stun Duration for Meteor assault
- Made all Soul Link Spirit skills not be castable on self.
- Changed rate of NPC status effect skills to 50+10*lv% base chance (guessed)
- Changed max level of NPC status effects to 5


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08 18:11:03 +00:00
skotlex
139b098c54 - Increased max number of tries to find a random spot in maps to 1000 since some maps have so many non-walkable tiles it's hard to find one in just 100 tries.
- Reduced Stun duration of multiple skills to 3 secs. Skills affected: Meteor Storm, Land Mine, Bash (fatal blow), Throw Stone, NPC_LICK, Raid, shield Charge, Cart Termination.
- status_set_viewdata will remove the Wedding Option status when you set a class that is not wedding. 
- Removed the Job_Novice range check in pcdb_checkid since it's causing warnings when checking versus vd->class_ (and when will we use a negative value class anyway?)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6518 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08 17:33:24 +00:00
skotlex
aae1ae1832 - Fixed compilation error.
- idletime will now be updated on attack-request, not on sit/standup
- Party members sitting will no longer be considered idle.
- hide_gvg_damage will now send 1 instead of -1 as damage.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6517 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08 16:19:02 +00:00
skotlex
3b5ab1ba35 - Removed SP_DISGUISE from the bonus list.
- Moved Sharp Shooting display to the block with Auto-Counter (since that's the other skill that can show critical as well)
- Corrected some fields in the still packet (guild emblem being stored as a Long when it should be Short)
- Modified most fields of view_data to be unsigned shorts rather than signed ones.
- On-Touch NPCs will now make you stop walking when you trigger them.
- Reduced stun duration of most skills to 3 secs.
- ShadowJump/JumpKick will make you land on the target's cell now.
- Fixed Kaahi triggering only once per skill duration.
- Added the kaahi_heal_timer to the list of status change functions.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6516 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08 15:11:25 +00:00
Playtester
0b78e1d58b Upgrading mob drops to X.2
-progress 25%

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6515 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07 18:54:56 +00:00
Playtester
9a3a2ae2c4 Updating drops to Aegis X.2
- progress 20%

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6514 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07 17:29:44 +00:00
killercube
de9e9d873e git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6513 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-05-07 16:56:18 +00:00
Playtester
7ccf744633 Fixed Sea Otter Quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6511 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07 14:09:09 +00:00
Lupus
a866920e15 removed old logs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07 09:50:37 +00:00
Lance
dacea0478a * Optimized clif.c clif_scriptmenu/input/inputstr to check for sd->state.using_fake_npc before sending one (as it's not required to send twice).
* Reinitialize sd->state.using_fake_npc in clif_parse_LoadEndAck (for scripts that warps players and still continues execution to work).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6509 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07 01:27:29 +00:00
DracoRPG
7237590875 * item_db scripts cleanup (use of if{})
* Changed Doppelganger Card to non-stackable

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6508 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 15:20:21 +00:00
Playtester
b77c0907b2 Fixed warp in the Turbo Track Room
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 09:15:19 +00:00
skotlex
1928c535ff - Updated item_db.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6505 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 06:16:13 +00:00
skotlex
8d57200659 - Changed @deletemail's default level 0. NO ATCOMMAND SHOULD HAVE A DEFAULT OF 0 >.<
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 04:29:15 +00:00
skotlex
91bae7f498 - Fixed a bug in @commands, most likely the reason some people were still getting crashes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 04:17:21 +00:00
skotlex
5d6f207df6 - Added missing include <limits.h> to npc.c...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6499 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 02:20:20 +00:00
skotlex
0ecb627a0d - Corrected the max level of NPC_DARKBREATH 10->5 (don't ask, I need these things right :P)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6497 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 00:32:18 +00:00
skotlex
10e96bef2c - Fixed @commands not showing the last available commands (unless the total amount of commands is divisible by ten)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 23:44:57 +00:00
skotlex
db83032024 - Added a npc-script-event cache to avoid looking up event-scripts every time they need to be executed. Events cached are all those defined in script_config.
- Since the cache holds direct pointers to the npcs/events, do NOT unload the related NPCs or you'll get dangling pointers. However, @reloadscript will work fine.
- Set the etc_log to on to see a summary of npcs/events loaded for script execution on startup.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6494 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 23:22:16 +00:00
skotlex
82ae461fa7 - The Rest bonus activated by using /doridori while in rest should now trigger with all the class tree (TK/SL/SG)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 21:25:20 +00:00
skotlex
35eebe9f32 - Fixed Kaupe always triggering when the one who was under Kaupe was a player rather than the one attacking...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 20:14:13 +00:00
skotlex
266148ef5f - /doridori now won't double the HP/SP regen of TKs, it only activates their "happy" state.
- Added the -50 hit penalty when standing on Wall of Fog.
- Cleaned up status_calc_mdef2
- Uncommented the status_calc_mdef2 call in status_calc_pc.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 17:57:37 +00:00
skotlex
88722161e5 - Being in Enjoyable Rest state will now also trigger the HP/SP Time skills (even if there's no other TK around).
- Renamed SC_TKDORI to SC_TKREST (makes more sense if you ask me)
- Added battle config settings view_range_rate and chase_range_rate to adjust the view-range and chase-range (range2/range3) of the mob_db without having to manually change them.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 16:30:47 +00:00
skotlex
940831871e - Kaupe now will only block all skills of players, for non-players, only normal attacks can be missed.
- Moved the Kaite spell-reflect code after the damage calculation function, so the reflected damage is exactly the damage the original target would have received. Will only trigger if the damage to be reflected is above 0.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 15:03:53 +00:00
skotlex
3c40302b29 - Added a check to prevent player invoked-endure from overriding infinite endure.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6488 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 14:20:42 +00:00