8031 Commits

Author SHA1 Message Date
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
L0ne_W0lf
e70e6137d5 Fixed Party Assumptio scroll casting level 10 assumptio.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13842 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-04 01:27:18 +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
brianluau
117259d6f0 - Replaced occurrences of PcName in Moscovia Quest. (bugreport:3169)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13837 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-02 18:21:26 +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
brianluau
35785a3e20 - Fixed 2 minor typos. (bugreport:3155)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-01 22:49:08 +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
4a457f37fc - Fixed a typo in Refined Bloody Roar rental box. (bugreport:3124)
- Fixed some spelling in the battle grounds script. (bugreport:3113)
- Fixed a variable check in a Novice Skill quest. (bugreport:1985)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-31 01:47: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
L0ne_W0lf
4fafc3197c Removed an extra comma from chocolate_pie.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13825 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30 02:27:45 +00:00
L0ne_W0lf
1ed924ac40 * Rev. 13824 Various item database updates of my own :D [L0ne_W0lf]
- Updated items that increase heal effectiveness to use bHealPower.
- Added Fishing gear (has no effect and is currently not used)
- Added some missing items from the episode 13.1 update.
- Updated AEGIS names for various episode 13.1 items.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30 00:36:05 +00:00
brianluau
0b9d0db035 - Fixed a spelling typo in Kafras' dialog. (bugreport:3145)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13823 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29 20:14:34 +00:00
Playtester
e8c2057320 * Various small item_db fixes
- 11.3 typo fixes
- fixed Phantom Spear being backwards (now you need the seal to decrease the self-confusion)
- added missing bHealPower bonuses
- Base Guitar and Foot of Sea Witch now autocast on target rather than self
- Valkyrie's Shoes, Ragamuffin Manteau, Valkyrie's Manteau, Asprika and Vanilmirth Hat are now unbreakable
- Asprika and Vanilmirth Hat make no longer your armor unbreakable

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13822 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29 19:56:55 +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
Inkfish
586fdbcfdf * Some more fixes to skill condition issues.
- Fixed skills fail when MAX_INVENTORY reached. (bugreport:3139)
- Fixed spiritballs not being removed correctly in some situation.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29 02:25:38 +00:00
Inkfish
a4c36c7af8 Hmm...fixed my last commit making Tarotcard ignore sp requirement.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-28 11:11:38 +00:00
Inkfish
61c0d7b744 * Fixed some issues of skill condition check.
- HP is now checked at the end of cast.
- Lv 6-10 StoneCurse doesn't consume gems.
- Tarotcard's after-cast delay will still be applied if it fails.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-28 11:00:22 +00:00
Inkfish
b14a11ff5e * skill_check_condition clean up (bugreport:2770, bugreport:2957, bugreport:3010)
- Weapon, SP, HP and state are checked at the beginning of cast.
- Required items and ammos are checked at the end of cast.
- SP and status change required are removed at the end of cast without checking again.
- Required items are removed only if the skill is successfully used.
- Autocasts won't check for requirements but will remove them if you have them(except for SP/HP).

Hope won't cause any problems...

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13815 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-27 14:11:08 +00:00
Playtester
fa42a3349e * Some mob_skill_db updates
- fixed monsters trying to use Exile on self
- removed Bowling Bash from Thanatos (he doesn't use it anymore)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-26 20:17:10 +00:00
Inkfish
d7d626e578 Now we can use 'boss_monster' to summon whatever monsters that need to be radared by Convex Mirror. (bugreport:2653)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-25 13:05:59 +00:00
Inkfish
c61942c8cd Fixed losing skill list after base change. (bugreport:3106)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-25 10:32:06 +00:00
ultramage
e8e8e35eed Fixed crash when attacking while having a bBreakArmorRate item equipped (typo in r13800) (bugreport:3121).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13810 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-24 20:41:39 +00:00
ultramage
aa9f9ec467 Removed outdated bMatk/bMatk1/bMatk2 documentation, followup to r9816 (bugreport:3116).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-24 09:00:49 +00:00
Inkfish
36ae721899 Taro Card can now break shoes and garment and won't affect dead target. (bugreport:2513)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13808 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-24 04:58:40 +00:00
Inkfish
579f0a250d Splash attacks do cause additional effects except for autocasts. (bugreport:2661)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13804 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-23 03:25:33 +00:00
Inkfish
45addf32f8 NPC_STOP now stops both sides and will be canceled if either side teleports or dies.(bugreport:3099)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13803 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-22 15:36:41 +00:00
Inkfish
5815851acf * The delay icon doesn't appear during casting now. (bugreport:3101)
* Status icon of ASPD potions doesn't overriding each other now.(bugreport:3095)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13802 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-22 13:24:16 +00:00
Inkfish
e19735da51 Splash attack doesn't cause any status effects or autocasts any more.(bugreport:2661)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13801 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-22 12:14:54 +00:00
Inkfish
d8a02e92eb * Fixed some behaviors of additional effects (bugreport:3100,bugreport:2661)
- Coma can now be blocked by such skills as SafetyWall, Pneuma and Basilica.
- Equipment breaking behaves exactly like coma.
- Skill's self damage may now causes coma, equipment breaking and autospell/autoscript.
- GrandCross now allows you to drain hp/sp.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13800 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-22 08:37:13 +00:00
Inkfish
f3572b9e6d * Now fiberlocking a fiberlocked target doesn't renew the timer but instead increases its fireweakness [Inkfish]
- This makes doublecasting firebolts on a double fiberlocked target having double damage from both 2 bolts possible = =(bugreport:3061)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-20 12:42:06 +00:00
Playtester
4c9d3d55eb * Updated item_db and skill_cast_db
- fixed Sabbath giving 500 Crit instead of 50 Crit
- updated the comment on Dragon Fear in skill_cast_db

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13798 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19 19:30:19 +00:00
skotlex
64972e4b5a - Updated NPC_DRAGONFEAR to supposedly behave as it should
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13797 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19 19:14:12 +00:00
Playtester
b09f2775a2 * Fixed Coma chances being 10 times too high
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13796 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19 17:09:56 +00:00
ultramage
13114498f0 Rigged the r13676 modification of battle_calc_weapon_attack to make neutral element reductions work again (bugreport:3097).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13795 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19 14:37:10 +00:00
Inkfish
6e54839512 Fixed the three hits of EarthQuake not being calculated seperately.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13794 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19 10:34:43 +00:00
Inkfish
2b1109483f * Miracle should only be dispelled on map change.
* The "party invite" and "view equip" state messages are ought to be sent on every map change instead of login.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19 10:06:05 +00:00
Inkfish
dbb4774882 Fiberlock now can trap multiple enemies on the same cell and its triggering area was reduced to 1x1.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19 09:13:23 +00:00
Inkfish
47f91b6387 Added missing packet 0x2c9 and fixed 0x2da's length error
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13791 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19 08:58:08 +00:00
Playtester
0affe1454c * Item-bonuses and NPC skills now use the official default durations for status changes
- you gain Curse immunity if you have 0 Luk (seems buggy but is official)
- our status defense stats are already fully correct :-)
- thanks to ultramage for testing this

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13790 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-18 20:45:44 +00:00
ultramage
7f18f11403 status calc code cleanup
* Inverted the status calc code order, so that status_calc_bl optionally invokes status_calc_pc/mob/whatever instead of every status_calc_* calling status_calc_bl.
 * Inlined functions status_calc_bl_sub_pc, status_calc_bl_sub_hom and status_calc_bl_sub_mer into status_calc_bl.
 * Restructured status_calc_bl to require as little bl type-specific branching as possible.
 * Split status_calc_bl into two layers - the inner does the battle status calculations, while the outer deals with running appropriate base status calculations, remembering old values and handling client updates.
 * The status_calc_bl function is now the single entry-point for all status calculations.
 * status_calc_bl will now trigger a client update only on attributes that actually changed.
 * If hp or sp changes during status_calc_bl, it will now properly refresh on the client.
 * Removed SCB_PC, now SCB_ALL should be used instead.
 * Revived the unused status calc flag SCB_BASE to indicate that a base status recalculation should be done first (that's what the status_calc_* functions are for).
 * Defined a new symbolic bitmask SCB_BATTLE (SCB_ALL - SCB_BASE) in case someone needs to only calculate the battle status (currently unused).
Please report any issues with this update.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13789 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-18 07:24:58 +00:00