4541 Commits

Author SHA1 Message Date
zephyrus
33e1fbbd66 - Instancing System (Thanks to Sirius White who did most of the code, with some of my work to implement client side information, some optimizations and bugfixes). Also thanks to contributions from UEAUP team and Orcao.
- Fixed a bug on areamobuseskill and changed it to make it as Aegis.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-20 17:56:01 +00:00
Inkfish
e447a8a92a * Changed Asura Strike/Jump Kick to target skill to get rid of the "target delay". (bugreport:2174)
- skill tree will be re-sent on status change to handle using these two skills during combo.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-20 08:22:52 +00:00
Inkfish
47d2031e40 Fixed a typo in buildin_mobuseskill_sub
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13899 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-20 02:07:00 +00:00
Inkfish
1d90917604 * Implemented script command "areamobuseskill" and skill NPC_INVINCIBLE and NPC_INVINCIBLEOFF. (topic:217330)
* Using items no longer cancels invincibility(but using target and ground skills through items does). (bugreport:3259)
* Fixed Butterfly Wings not working during GVG. (bugreport:3264)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-19 13:26:50 +00:00
Inkfish
6ee6b810e0 Fixed wings not working when used on top of Magnetic Earth.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13896 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-17 09:06:29 +00:00
Inkfish
144103199a * Turn Undead shouldn't apply aftercast delay when casted on a "living" entity. (bugreport:1740)
* Autocasts should always fail if the target is outside the skill range or an obstacle is in between. (bugreport:3201)
* The Lovers should affect the target instead of the caster. (bugreport:3252)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13895 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-16 14:08:18 +00:00
Inkfish
86d162ad13 Fixed an exploit that makes guild skill get higher level than the max defined in guild_skill_tree. (bugreport:3241)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13894 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-16 12:35:03 +00:00
ultramage
1035d7490f Removed the 'src' parameter from skill_delunitgroup() (see r5911) (bugreport:3253).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-15 16:33:01 +00:00
Inkfish
94583ef92f * Skill through items will not be blocked when 90% overweight. (bugreport:3246)
* Now you can drop items when hiding.
* Now you can't logout when hiding, cloaking or chase walking.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13892 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-15 15:29:32 +00:00
ultramage
7063f7330d Improving the r13888 crashfix to cover similar crash scenarios discovered:
Reordered code in status_change_end(SC_DANCING) so that an ensemble's skill unit group is deleted only after removing both performers' status changes.
Modified the call to skill_delunitgroup() IN status_change_end(SC_DANCING) so that it always processes the group's true owner and not others (bugreport:3253).
Replaced calls to skill_stop_dancing() with status_change_end(SC_DANCING), since it now provides identical functionality.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-15 14:00:27 +00:00
Inkfish
c15ff51a7b Fixed a crash due to group being redeleted when players are performing an ensemble and one of the partner's sp run out.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13888 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-14 15:29:04 +00:00
Paradox924X
f93f3b1e33 Changed a few sprintf's that had no format arguments to strcpy's.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13887 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-13 05:00:57 +00:00
Inkfish
0ec8d255ae * If both Double Attack and critical attack have chance to trigger within one attack, Double Attack takes priority. (bugreport:3231)
* Fixed Butterfly Wings not working on maps blocking Teleport. (bugreport:3236)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13886 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-13 04:25:34 +00:00
Inkfish
55a4ab1427 Fixed "arrow_atk" flag never being reset results in arrow consumption on itemskills and autocasts. (bugreport:3233)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13884 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-12 11:54:18 +00:00
Inkfish
14cf988591 * Fixed itemskill not bypassing Silence, SteelBody, Berserk and the like. (bugreport:3232)
* Fury and Asura no longer disable SP regen on any other classes than Monk/Champion.(bugreport:3200)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13883 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-12 07:45:50 +00:00
Inkfish
a936c021c7 * Fixed TaTaMiGaEShi(Improvised Defense) not working.
* Implemented new cooking success formula. Now cooking experience starts at 0.(bugreport:2439)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13881 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-11 13:29:43 +00:00
ultramage
042688ca7a Adjusted the code order in clif_parse_gmkick() to avoid invalid pointer access crashes when kicking mobs/npcs (bugreport:3229).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13880 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-11 10:36:39 +00:00
Inkfish
11c91fd0bd Fixed applying autocasts with negative rate before the positive one was applied made it fail to remove the autocast. (bugreport:3193) (related revision: r7312, r9905, r12041)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-09 14:03:24 +00:00
ultramage
5435e5056a Added a check to prevent resetting a mob's hp to full when it levels up using the custom mobs_level_up feature (accidentally deleted in r13789) (bugreport:3216).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-09 13:07:56 +00:00
L0ne_W0lf
5d88480879 Follow up to r13867, corrected the newly added MD_TARGETWEAK. Monsters with this mode will now only target players five level LOWER than itself.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08 19:54:34 +00:00
skotlex
f5fa9d4daa - Added mob mode 0x4000, MD_TARGETWEAK: It makes aggro monsters only chase characters whose level is no higher than the monster's +5.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08 18:35:26 +00:00
brianluau
04789654b8 - Added 'font' config in atcommand_athena.conf (bugreport:3123)
- Changed some defaults in src to match defaults in config.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08 16:39:54 +00:00
skotlex
3919db5df2 - Fixed Swordsman Medallion to be usable by Star Gladiators.
- Fixed Thief Medallion to be usable by Ninjas.
- Fixed Valorous Assassin's Damascus to reduce the strength of its effect.
- Corrected the AUTOLOOT_DISTANCE code not checking for map changes.
- Fixed clif_change_option's "unknown field" to be the character's karma.



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13864 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08 15:57:51 +00:00
Inkfish
4a786aef74 Fixed bHPGainValue and bSPGainValue worked on all types of attacks and was only activated on mob's death.(bugreport:3193) [Inkfish]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08 13:47:32 +00:00
Inkfish
5f16111215 * Added a configuration for whether damage of EarthQuake with single target can be reflected.
* Fixed Wizard Spirit can block reflected magical damage other than Kaite's.(bugreport:3161)
* Fixed Kaite works against bosses.(follow up to r13857)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08 12:30:42 +00:00
ultramage
b2223e43f5 Fixing the 'name requests work at any distance' exploit (bugreport:3206).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-07 16:16:06 +00:00
Inkfish
db7a45d725 Magical damage reflection now works against boss monsters and only on target skill(but EarthQuake with one target is an exception).(bugreport:3026, bugreport:2527)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-07 15:18:54 +00:00
Paradox924X
72d10c2811 Changed hardcoded "5" to MAX_ARROW_RESOURCE in skill_arrow_create preventing proper usage. (bugreport:3025)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-07 13:11:01 +00:00
Inkfish
52aa42124c Implemented "cooking exp" that increases the success chance of cooking by 0.05% per try and the max bonus is 20%.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13854 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-07 03:36:14 +00:00
ultramage
0b43e1e0ec Fixing the 'equipping already equipped items' exploit (bugreport:3195).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13853 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-07 01:25:27 +00:00
Inkfish
4e360035fc Fixed a crash due to script's backup state not being stored/restored properly. (follow up to r13846)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13850 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-06 00:59:30 +00:00
zephyrus
5589a98314 - Fixed a crash on equip/unequip items with autoscripts.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13849 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-05 19:00:18 +00:00
Inkfish
c10a8581a5 * Job_Battle_Manual and Battle_Manual can be used simultaneously.
* Fixed "sleep" after "attachrid" (a different rid) halts the script.(bugreport:3181)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13846 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-05 15:55:37 +00:00
Inkfish
ea6005e4bf Oops, I messed up the condition on my last commit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13845 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-05 08:40:26 +00:00
Inkfish
dc7f470790 * Fixed turning off a skill needed to meet the requirements. (bugreport:3175)
* Skills used through items not having aftercast delay or cast time now don't overwrite the former canact_tick. (topic:220921)
* Multiple autoscripts now can trigger at once.
* Applied a temp fix for autoscripts crashing server.(bugreport:3154)
* Implemented SC_JEXPBOOST (thanks to GMJobbie for the diff). (bugreport:3177)
* Implemented SC_IGNOREDEF. (topic:217330)
* SC_DEFRATIOATK won't affect boss monsters. (topic:217330)
* Fixed skip_teleport_lv1_menu made lv2 skip menu as well. (bugreport:3183)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-05 00:22:12 +00:00
L0ne_W0lf
7807036efd * Updates to ST_PRESERVE and a few other minor details!
- Recasting Preserve no longer toggles the skill off while active.
- Preserve is no longer saved on log-out or mapserver changes.
* Added SC_CRITICALWOUND and SC_SLOWCAST to negative statuses not saved with battle_config.debuff_on_logout&1
* Implemented the skills NPC_HELLPOWER and NPC_WIDEHELLDIGNITY, as per my personal experiences with the skill on iRO.
* Increased MAX_MOBSKILLS to 50, as Satan Morroc has over 40 active skills now.
* Added skill information for NPC_HELLPOWER and NPC_WIDEHELLDIGNITY, and enabled skills in mob_skill_db.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-04 22:46:14 +00:00
Inkfish
e7faa7e498 * Some clean ups on autocast and itemskill code. (see topic:220921 for some info)
- Autocasted Teleport now skips the menu.
- Fixed nullpo info when defensive autocasts are triggered. (follow up to r13815)
- Fixed Warp portal used in item script never worked.
- Item skills now bypass skill delay check.
- Implemented SM_SELFPROVOKE. 
- Updated item db using 'itemskill' for some items.
* Basic skills will never be reset. 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13841 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-03 15:30:11 +00:00
L0ne_W0lf
c778107ca8 * Implemented the Party Buff cash skills.
* Misc updates, and updates for party buff items.
- Added CASH_BLESSING, CASH_INCAGI and CASH_ASSUMPTIO skills.
- Added itemskill commands for the party buff scrolls.
- Corrected Equipment repair book's itemtype to 11.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13840 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-03 03:28:20 +00:00
Inkfish
e06e7945aa Fixed normal casted Teleport always skip menu.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-03 00:07:38 +00:00
Playtester
cd381ab1a3 * Fixed Mystical Amplification having unlimited duration
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-02 19:35:32 +00:00
Inkfish
cf43afb4c9 Fixed skills used through items and Hocus-pocus consume requirements if you have them. (bugreport:3164)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-02 11:48:33 +00:00
Inkfish
efb13f2571 Fixed Fiberlock sometimes fails due to the long interval of skill_unit_timer. It may never fail now, though this may not be official. (bugreport:3136)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13834 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-01 14:01:42 +00:00
brianluau
e21b25987b - Fixed an off-by-one array index in r13815 that caused skills to use SP for (SkillLV+1). (bugreport:3152)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30 21:23:03 +00:00
Inkfish
47c650a49a * Fixed gemstones are still required when players equipped Mistress Card. (bugreport:3147, follow up to: r13815)
* Fiberlock only catches targets the moment its casted. (bugreport:3136)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30 13:54:49 +00:00
Inkfish
dcb4f2b931 Fixed 'n_ele' not initialized and a typo in the Changelog.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30 11:55:59 +00:00
Inkfish
98cfff889a * Multiple autocasts can go off at a time now. [Inkfish]
* Splash damage doesn't get modified by percentual modifier now. [Inkfish]
* Monster's Spiral Pierce is again...non-elemental. [Inkfish]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30 10:01:08 +00:00
Inkfish
8bd4ae799e * Fixed Hocus-pocus always fails. (bugreport:3143, follow up to: r13815)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13826 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30 02:43:44 +00:00
Inkfish
f090bdbdbc * Added a new battle flag for telling which skills can have bHealPower effect.
* Added documentation for bHealPower.
* Fixed some behaviors for healing skills, (thanks to L0ne_W0lf)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29 14:25:14 +00:00
Inkfish
ac5aa55ae7 * Added new bonuses bHealPower and bHealPower2.
* Heal skills code clean up. 
- bSkillHeal can affect offensive heal now. 
- bSkillHeal2 can affect AppleIdun and SlimPitcher now.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29 12:21:59 +00:00
Inkfish
766143d109 Added new bonuses bUnbreakableGarment and bUnbreakableShoes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13819 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29 06:45:58 +00:00