616 Commits

Author SHA1 Message Date
skotlex
ff483b7810 - Fixed SG_FUSION costing SP to deactivate.
- Some cleaning up at pc_setpos to prevent calling pc_clean_skilltree
- Added pc_clean_skilltree on pc_recv_reg
- Enabled use of TF_HIDING while Cloaked.
- pc_resetstate won't remove wedding skills now


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13 16:06:32 +00:00
skotlex
cf059ff1a9 - NPC_POWERUP now gives +40% atk per level.
- Water elementals can be frozen again.
- Fixed the sc_def equation in status_change_start
- Fixed an extra semi-colon that broke win32 compiles.
- Some rewriting of bounds checks in @baselvup, @joblvup and the # equivalents to prevent signed/unsigned comparisons.
- Now slaves give exp/loot (exception: player slaves still stick to the old rules)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13 15:04:11 +00:00
skotlex
62fb6045d4 - Added handling of type BL_PET to skill_unitgrouptickset_search. I know pets normally aren't affected by skills, but their structure already had support for this, so....
- Rewrote/simplified functions skill_addtimerskill/skill_cleartimerskill
- Fixed SC_DANCING for non players (was making dances only last 1 second for them)
- Modified map_moveblock to handle calls to skill_unit_move_unit_group and cancelling of Close Confine effects, removed these checks from the walk functions and skill_blown functions.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5262 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13 02:34:19 +00:00
skotlex
5e170d8da9 - The status window now shows the addition of the damage of your both weapons when dual wielding.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-11 04:46:36 +00:00
skotlex
5b7bbaa4eb - Added pc_issit check to pc_can_move
- Stone/Freeze/Stun/Sleep now make you stand up as well.
- Some logic pointer fixes on map_searchrandfreecell.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10 15:30:10 +00:00
skotlex
66a453cc74 - Added function mob_respawn which makes a mob respawn on spot 3 seconds after deafeat if SC_KAIZEL is active.
- Modified NPC_REBIRTH to use Kaizel level 1.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09 19:43:13 +00:00
skotlex
2a9dbcf690 - Code rewrites in mob_damage and party_exp_even_share for correctly handling overflow issues. Now uses UINT_MAX for range comparisons, as it should be.
- Also modified the mob_db reading to use UINT_MAX for exp limits, changed their exp/job exp fields to unsigned int as well.
- Modified multi_level_up behaviour to work as specified by Kyoki.
- removed functions pc_next[base/job]after as they are no longer needed.
- Modified the skill attack display of Meteor Assault and the Warm Skills (I think the caster should no longer do fancy animations now on each hit)
- Added back water elemental targets being inmune to SC_FREEZE
- Fixed the status_change_start line in charsave.c (I knew I was forgetting something)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5235 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09 14:21:41 +00:00
skotlex
f1e4549f12 - Added battle config options:
- skill_caster_check (does a status_checkskilluse on all skill attacks)
- status_cast_cancel (invokes skill_castcancel for opt1 type status changes)
- Fixed the death exp penalty underflow bug


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08 19:33:01 +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
skotlex
cd88503b76 - Removed the max level configs from battle/exp.txt
- Now NPC_POWERUP uses SC_INCATKRATE instead of SC_EXPLOSIONSPIRITS for enhancing damage. Instead of +1k atk per skilllv, it is +50% atk per skilllv.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5220 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08 01:53:52 +00:00
skotlex
d69479b946 - Added define clif_deadsit to send the dead state into player packets if the player is in trick dead state.
- Venom Splasher always hits (but splash damage targets can still avoid it)
- Using autoloot with no arguments now toggles it between @autoloot 0 and @autoloot 100%
- Falcon Assault now takes Blitz Beat lv5 as base damage.
- Fixed pc_makesavestatus not updating status.option correctly.
- Corrected Waterball so that higher levels can do insane amount of hits.
- Altered slave behaviour. No more random walking, will stay within 2 cells of their master.
- Reverted the Summon Slave behaviour to not adjust level based on number of current slaves.
- Coma no longer sends SP to 1.
- Updated Meteor so that when level 11 or more is casted, the area over which meteors fall is tripled.
- Dark elemental characters are now inmune to Curse.
- Fixed sc_data saving to sql buffer building method. Thanks to its_sparky.
- Changed the map zone reading from using pow to a bit shift.
- Experience has now been changed to unsigned int, and is read as such from the dbs.
- Increased HT_DETECTING seek range to 7x7
- Added function map_foreachinrange which actually checks distance of nearing objects (unlike for each in area which uses a square area), may come handy for future code.
- Corrected Venom Splasher: Being hit does not cancels it, works at 75% or less of target's HP, being hit normally while under the count has a chance of causing poison. Damage is +400% + 50*lv%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-06 18:38:51 +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
a4c0233fb7 - Grand Cross/Grand Darkness can no longer get the ignore defense -armor piercing bonuses.
- Loki's weil is now ignored by bosses.
- Land Protector and Gantantein should now ignore traps.
- Fixed Shinobi card so that it fails when you aren't next to a wall.
- Cleaned up the function skill_landprotector.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5174 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-03 17:17:45 +00:00
skotlex
c6fb721bd8 - Meh, the status change start switch was supposed to be minimized, not altogether removed :X (the idea is to let anything with sc_data to go through)
- After a guild master change, the new gm has his guild skills blocked for 5 minutes.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-03 14:09:02 +00:00
Valaris
432aefc244 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5169 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-02-03 02:10:26 +00:00
skotlex
1d94ae4856 - Trick Dead makes you stop walking now.
- Falcon Assault only does 1 hit now.
- Soul Burn is not affected by Lex Aeterna, not affected by target's cards.
- Freeze and Stone take preference over Benedictio
- Opt1 inducing SCs fail if the target has already another Opt1
- Fixed areamonster when the passed class is negative
- Removed the clear screen when launching the server.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5156 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-01 19:14:28 +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
skotlex
cf99ac6795 - Fixed being able to Encore skills you no longer have in your tree.
- Added no HP regen while Bleeding, -25% ATK and ASPD penalties as well.
- Added VIT reduces duration of confusion.
- Added MSC_SPAWN "onspawn" mob skill condition.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31 14:44:39 +00:00
skotlex
4f5babb97d - Changed the exp tables format.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5135 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31 13:45:04 +00:00
skotlex
cff16d36a9 - Autoloot now uses the item's base drop chance rather than final drop rate to determine if it should autoloot the item or not.
- Fixed super novices getting +10 to all stats temporarily whentheir death count isn't zero.
- Fixed Kahai displaying HP-SP as the total healed instead of HP
- Cleaned up skill_repairweapon to prevent crashes when the target vanishes/changes/whatever before the weapon to repair has been selected.
- Parsing the Storage/Guild Storage from the char server will now fail if the storage has been modified and not saved yet.
- Being hit now cancels confuse.
- Added back the bleeding icon.
- Fixed Combo Finish Soul Linked Effect being a 11x11 area o.O


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5121 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-30 16:19:31 +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
e381a3d6cd * Fixed HP Conversion to properly not reduce HP if SP is full
* Updated Defender

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1427 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-07 13:42:03 +00:00
celest
67a9cafa79 * Fixed a crash in clif_send when checking packet version
* Fixed a crash in Deluge, Volcano and Violent Gale
* Allow super novices to rent carts from the Kafra

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-06 11:55:55 +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
celest
3feabb0c74 * Simplified Valaris' online_timer
* Updated Fogwall, Spiderweb, and HP Conversion
* Adding saving character online/offline for TXT char and login (unfinished)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1411 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05 14:57:03 +00:00
celest
8556b2716f * Added the 3 baby skills WE_BABY, CALLBABY and CALLPARENT
* Some tidying up in skill.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-02 14:28:14 +00:00
celest
0ff3b351da * Fixed a potential crash in pc_walk in Win32 builds
* Added bAddEffWhenHitShort and changed bAddEffWhenHit back to all physical damage

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-01 08:37:31 +00:00
amber
ae0db54f77 More g++ fixes to make it cleaner [MouseJstr]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1362 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-31 20:23:57 +00:00
amber
692245140a Made the map-server build cleanly using Microsoft Visual Studio [MouseJstr]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30 19:49:57 +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
DracoRPG
1fcf1c0925 Added missing parenthesis preventing SinX etc to get +4/lv from Improve Dodge
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1301 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-26 21:12:08 +00:00
DracoRPG
31bd250672 Rewrote Improve Dodge flee & speed bonuses
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1297 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-25 20:10:57 +00:00
DracoRPG
9fb6e0e15d Fixed a typo I made in my typo fix for Stalk / Tunnel Drive speed calculation xD... sorry ^^
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1295 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-25 16:03:46 +00:00
celest
6765fd327f * Some minor changes to Sacrifice in battle.c
* Set the Emperium to be immune to Sacrifice
* Set the Emperium to be have max status effects immunity

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1294 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-25 11:08:48 +00:00
DracoRPG
46017c82a1 Fixed a typo in Stalk/Tunnel Drive speed calculation
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1288 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-24 21:25:17 +00:00
amber
cb34e8c48a memory bugs fixed
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-23 18:54:09 +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
d30a426160 * Added 4 new card effects from 3/15's patch
* Added 'enable_ip_rules' to packet_athena.conf
* Updated socket debug messages to be more readable

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-20 12:07:52 +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
96af6068fa * Fixed the bDamageWhenUnequip effect dealing damage when unequipping unrelated items
* Fixed Incantation Samurai card reducing hp too quickly

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1248 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-18 07:00:31 +00:00
celest
aa07208aee * Added auto convert advanced job and baby class sprite ID's in mob_avail.txt to correct format
* Added SC_Speedup cannot be stacked with Increase Agility

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-14 08:01:43 +00:00
Lupus
bcd9a01531 * Fixed usage of mvp_hp_rate and monster_hp_rate. MVP rate was used for common monsters [Lupus]
* Added additional random respawn delay for instant respawning monsters (0..5 seconds) [Lupus]
		- Should be made as an option of battle_athena.conf


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1225 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-12 11:10:46 +00:00
celest
39020d9e76 * Added HP and SP rate underflow checking
* Added stop auto attacking if no arrows were equipped

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1219 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-09 04:41:56 +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
1fcb2bacfc Updated Deadly Poison and Enchant Poison
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1215 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-08 12:21:28 +00:00
shinomori
73bd900546 git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1213 54d463be-8e91-2dee-dedb-b68131a5f0ec 2005-03-08 11:13:46 +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
celest
2468e69b8a * Updated Endure, Tiger Fist, Chain Crush, and Palm Push Strike
* Some rewrites on the passive guild skills effects

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1192 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-28 05:08:52 +00:00
celest
77756f1502 * Fixed a bad typo in status.c's StatusChangeTable
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1164 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-23 01:33:11 +00:00