10015 Commits

Author SHA1 Message Date
skotlex
234ac1fddc - Some changes in the slave skill conditions. All their skills are triggered at a 10% chance now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 16:55:14 +00:00
skotlex
28a65510a3 - Changed in the behaviour of wedding skills, should invoke skill_castend_pos when skill_castend_id triggers, should enable all the config settings for land skills to apply to the wedding skills.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6321 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 16:15:41 +00:00
skotlex
6082535bca - Small change in @commands, may fix the null-pointer error.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6318 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 15:25:53 +00:00
skotlex
6e1f885043 - Small change in the pet_ai that should stop the "strange" catch-up behaviour of pets when you are much faster than them.
- Corrected the unequip script of the wedding dress/tuxedo (it should be Class, not bClass)
- Changebase script command will also refresh the weapon sprites (in case you changed into Wedding/Xmas class)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 15:15:22 +00:00
skotlex
fc449ba30f - Fixed the compilation error. Gee, how did that slipped by...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6315 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 14:43:55 +00:00
skotlex
3caf2d4406 - Now when you do @baselevel to reduce your level and you don't have enough stat points to deduct, you will get a stat-reset and THEN your stat points will be reduced.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6314 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 14:25:02 +00:00
skotlex
2728afbb10 - Added at command @commands, displays the list of commands available to you.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6313 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 14:10:29 +00:00
skotlex
21b2151c97 - Added the missing clif_* calls to make changebase's view-class change update on the client.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6312 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 13:40:15 +00:00
skotlex
1a3d6004c5 - Corrected the hit value of the TK kicks (from single hit "6" to multi-hit "8")
- All kicks do 3 hits now.
- Added battle config hide_woe_damage which hides damage on woe maps packet-wise.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6311 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 13:31:29 +00:00
skotlex
11bb133151 - Fixed base-level up @ command giving stat points instead of taking them away when leveling down.
- Some small change in pc_heal which would let you have negative SP if you were killed on the same pc_heal invocation.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6307 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 12:18:18 +00:00
skotlex
97f93f125a - Fixed unit_attack_timer mismatch warnings (this was solved yesterday, but I forgot to apply the fix to trunk)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6306 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 11:44:02 +00:00
Lupus
b662c487e4 updated 'setmapflag' script command
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6304 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 05:55:23 +00:00
skotlex
af55aa1e6e - Updated item_db.sql to current.
- Some small code-cleanups.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6298 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-26 23:01:55 +00:00
skotlex
66cb46e29d - Modified mob_drop_adjust function to receive unsigned int as initial parameter, should give a bit more room before data overflows.
- Increased range check for Extremity to 2.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6297 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-26 21:33:07 +00:00
skotlex
d66d94cd80 - Item use interval is set to a default of 100ms now.
- Updated Full Buster so that the can't act delay carries on to the weapon attack delay and can't use item intervals.
- Added script command getbattleflag to retrieve the current value of a battle_config switch.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6296 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-26 21:12:08 +00:00
skotlex
dfca545bcf - When Taekwons level up they get Bless and Agi Up level 10 instead of the S.Novice bonuses.
- Increased number of hits for TK kicks. 3 hits for TK_COUNTER and TK_TURNKICK, 2 hits for TK_STORMKICK and TK_DOWNKICK (until further information arrives)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6294 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-26 19:20:17 +00:00
skotlex
56571363d2 - Wedding Dress/Tuxedo now handle view-change using the onequip/onunequip scripts.
- Removed special state changebase and view-change check on status_calc_pc


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6292 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-26 15:35:47 +00:00
skotlex
6aa5c83229 - Changed the skill_wall_check to use shoot-path seeking. May fix skill_wall_check setting.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6291 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-26 13:43:10 +00:00
Lance
33916be18e * Fixed typo in skill.c: skill_clear_group
* Fixed command descriptions in script_commands.txt
* Cosmetic changes to script.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6289 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-26 08:03:03 +00:00
skotlex
d44188210b - Renamed skill_clear_element_field to skill_clear_group, it accepts a flag to determine what to erase. &1 for elemental fields, &2 for traps. Also rewrote how it works to prevent missing elements (since each time an element is erased, the array contents shift)
- Added battle config traps_setting to determine how traps should behave. With &1 traps are invisible if you didn't see them get set up. With &2 traps will be removed after changing maps. The default is 2.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6285 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-25 23:58:19 +00:00
skotlex
65a1e97ed5 - Cleaned up a bit the implementation of SC_MAXIMIZEPOWER, SC_CHASEWALK and SC_CLOAKING to prevent infinite looping timers.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6283 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-25 23:05:54 +00:00
skotlex
3f18944b8d - When battle_damage's flag is &2, the flag 3 is passed to mob_damage so that it won't give exp nor items. NPC_SUICIDE was updated to reflect this.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6282 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-25 20:47:26 +00:00
skotlex
6fff5230e5 - Moved the mapflag skill restrictions from skill_checkcondition to skillnotok, this makes auto-spells not work in maps where they aren't allowed.
- Added TK_HIGHJUMP to skillnotok, the skill is blocked in noteleport maps (with the exception of gvg ones)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6281 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-25 20:36:26 +00:00
Vicious
198047d6b7 updated the db to X.2/X.3's itemsummonlist.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6277 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-25 19:29:52 +00:00
skotlex
bb9ff12f90 - Added reporting when receiving an unknown packet in login-sql before ending connection.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6276 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-25 19:06:58 +00:00
skotlex
f983dc57c3 - Modified and simplified the random item group format. It now is <GroupID>,<ItemID>,<Rate>, where Rate normally is 1, greater numbers is the equivalent of adding the line multiple times.
- Added constants to identify all groups to db/const.txt
- Cleaned up and updated item_db to use these new constants (warning: item_db.sql needs to be updated!)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-25 18:05:40 +00:00
skotlex
35cda692bd - Simplified npc_gettimerevent_tick so that it should return a tick value even after the last ontimer label has been reached.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6264 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-25 03:20:32 +00:00
skotlex
bec2797d52 - All GMs will be sent to the char server through packet 0x2aff now.
- Made mob_searchname compare versus sprite, name and jname now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6263 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-25 02:51:01 +00:00
skotlex
5c222891f3 - Added script command escape_sql. It will return an escaped string for use in the sql_query script command (in case you want to use input of players in your queries).
- Removed the skill packet from TK_RUN as the client ignores the walkok packet sent right after it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6262 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-24 23:09:12 +00:00
Zido
e79642ff57 - DNSBL. Refer to changelog.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6258 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-24 21:08:40 +00:00
skotlex
9d4db6c52e - Fixed a typo when parsing the mob spawn files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-24 20:49:14 +00:00
skotlex
e8e49ec9be - Cleaned up @grind2
- Updated @monsterbig, @monstersmall to use the event 2 and 4 rather than the max_mob_db code check.
- Modified override_mobs_names to work only on the mob spawn files.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-24 17:46:16 +00:00
skotlex
eac7f93dbc - Added logging of deleted characters when the char_log is enabled.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-24 15:55:04 +00:00
skotlex
9f19b5cfdc - Fixed skill_delayfix not altering delay at all after you reached 150.
- Applied ers to pet loot drops.
- Cleaned up the pet loot drop function.
- Mob skill state MSS_ANY won't include MSS_DEAD now.
- Added mob skill state MSS_ANYTARGET ("anytarget") which means any state (except dead) on which the mob has a target set.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6250 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-24 14:52:11 +00:00
skotlex
72faf33f97 - Added new column to mob_db Sprite_Name to hold the mob's sprite name. Columns Name and JName now hold the mob's english and kro names respectively.
- Currently both Name and Jname have the KRO names, so someone will have to update them.
- Updated mob_db.sql and mob_db2.sql to latest.
- Added battle_config option override_mob_names to make the spawned mob names use the mob_db names instead of the specified names in the spawn files.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6246 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-24 03:53:29 +00:00
skotlex
cb00c164f7 - Idle skills won't trigger while the mob is walking.
- Idle skills will now trigger each IDLE_SKILL_INTERVAL iterations (10 currently)
- Added support for walk packet 0x22c (disabled currently as it's non-walk packet equivalent is yet missing), it will be used when PACKETVER is set to 7 or above.
- Normal walking will now also trigger mob skills (due to the walk skill condition)
- Updated mob_skill_db: all idle and walk skills had their rate go up x10.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6245 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-24 02:45:17 +00:00
shinomori
1f3b70b776 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6239 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-04-23 10:58:04 +00:00
skotlex
34fa41861e - Added -fstack-protector to the Makefile, commented out by default.
- Increased all chase/follow skill rates by 10 since their trigger rate has been decreased by that much due to the unit-data update.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6237 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-23 05:40:58 +00:00
Zido
7536eb546f - Fixed angelus
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-22 20:24:49 +00:00
skotlex
41a6c38e23 - Added SC_KEEPING/SC_BARRIER to calc_flag in status_change_end
- Added Option constants for Carts, fixed OPTION_FLYING (it conflicts with OPTION_XMAS?)
- Updated clif.c to check for OPTION_WEDDING|OPTION_XMAS instead of view class to block attacks and skill usage.
- Removed struct pc_base_job and functions pc_calc_base_job/pc_calc_base_job2 which are no longer used anywhere (were long ago deprecated infavor of the new jobid system)
- Cleaned up change-cart code.
- Modified SC_XMAS to not change your view anymore and only set the proper option value (OPTION_XMAS)
- Cleaned up the code regarding char_gm reading.
- Changed the option field to unsigned short to make room for the higher values.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-22 05:21:24 +00:00
skotlex
47d5784da3 - SC_CLOAKING's val4 now holds whether cloaking ends or not on attack.
- Implemented NPC_INVISIBLE, it starts SC_CLOAKING with val4 set to 1, skill duration is 30 secs.
- Moved uncloaking on attack from attack_timer_sub to battle_calc_weapon_attack.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6223 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-21 19:55:35 +00:00
skotlex
3ffd7ebdb9 - Updated the HP/SP leech structures to have race-data attached to them.
- Merged all leeching code to battle_drain function.
- Added an enum for races (they match the RC entries in const.txt, except they are in all caps)
- Cleaned up atk_mods and aspd_base to be MAX_WEAPON_TYPE sized rather than MAX_WEAPON_TYPE+1
- Simplified a bit the code for Signum Crucis
- Added script bonuses: 
	bonus3 bHPDrainRateRace,<Race>,<Activation Rate>,<Drain %>
	bonus3 bSPDrainRateRace,<Race>,<Activation Rate>,<Drain %>
	bonus2 bHPDrainValueRace,<Race>,<Value>
	bonus2 bSPDrainValueRace,<Race>,<Value>


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6221 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-21 18:42:35 +00:00
skotlex
bd17bad4eb - Fixed items not really getting unequipped when they should.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6214 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-21 13:35:41 +00:00
skotlex
e49d9e7dac - Fixed the equip/unequip scripts not triggering for compounded cards.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6207 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-21 03:22:41 +00:00
skotlex
0db2a0aa0b - Char server will now ignore packet 0x65 for already authentified accounts.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-21 00:19:14 +00:00
skotlex
c69118e1e5 - Added two columns to item_db: equip_script and unequip_script are scripts that are executed once when the corresponding item is equipped or unequipped respectively.
- Removed bonuses bDamageWhenUnequip, bLoseSPWhenUnequip
- Updated sql-files/item_db.sql with latest.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-20 23:24:20 +00:00
skotlex
ffce65e7bf - Raised the buffer size in clif_MainChatMessage to 200, removed the message length in atcommand_main.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6197 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-20 19:42:54 +00:00
skotlex
d6cb791e3c - Fixed buffer overflow in clif_MainChatMessage. It now prints a Debug message with the offending line.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-20 19:30:24 +00:00
skotlex
91b4a76cbd - Cleaned up a bunch of GS/NJ skills
- Fixed Gatling Fever crashing server when used by non players.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6193 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-20 16:47:33 +00:00
skotlex
63eec80717 - Added support for n to specify minutes to @charban.
- Fixed a logic typo on the way dummy_npc_id was defined.
- Added state.trading to specify when a trading has started. Now you should be able to walk around until the trade is either rejected or started.
- Armor defense is no longer reduced by the amount of characters targetting you.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6192 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-20 16:04:47 +00:00