4608 Commits

Author SHA1 Message Date
Inkfish
1032d53f6e * Sorry for taking 3 steps for this ugly code. Please take it as a compromise since we do not have enough info to emulate how Aegis does.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-13 12:17:19 +00:00
Inkfish
19ba08fe2c Fixed effects being applied improperly in some rare cases.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13768 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-13 11:44:14 +00:00
Inkfish
e4ed05e3f0 PNEUMA, BASILICA and SAFETYWALL no longer protect you from such negative status changes as COMA, STUN, FREEZE and etc. (bugreport:1346)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13767 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-13 11:07:09 +00:00
Inkfish
889de6533d * Fixed combo wait was not canceled when Kick skill was successfully used. (bugreport:1345)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-13 09:04:38 +00:00
zephyrus
76a985f7cb - Removed "serial". Sorry i merged from my source.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13763 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 17:15:05 +00:00
zephyrus
15a8174e29 - Rental items now can be stackable items too.
- Added @font command to test kRO fonts. (Client side requires : Langtype 0 / Hex + Fonts Files on the data folder).
- Rental now announces with a maximum time to fix a problem with 1 month or more rentals.
- Reduced amount of calculations of Flee on map change (only if required).
- More security on Rental items.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13761 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 16:47:12 +00:00
zephyrus
7828b01c09 - Fixed a bug (important on Battlegrounds if you are using then).
* A player can do more than 1 damage to a plant per hit, if he equip only one weapon on left hand and keep the right hand clean and receives Weapon Element buff, for example the post effect of Magnum Break. On battleground it means you can destroy quickly crystals and barricades.
- Also fixed the extra bonus of the leaf hand, it was using the bonus of the right hand.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13760 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 15:39:17 +00:00
Inkfish
3f0559ebca * Fixed Aid Potion can heal the Emperium (bugreport:164)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13759 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 14:53:05 +00:00
Inkfish
acdd90f4aa * Removed DEF reduction display when casting GrandCross.
- This might not be official and led to repeated calculation.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13758 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 11:30:48 +00:00
ultramage
161d254bb3 Fixed Slow Grace decreasing aspd 10x less than it should (bugreport:2480).
It was a mistake in r12923 where I didn't realize aspd_rate uses a scale of 1000, not 100.
This also fixes Slow Grace not factoring in the Dance Lessons bonus (also 10x less than it should be).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13755 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-11 17:46:02 +00:00
Inkfish
c5b963aa46 * Fixed a crash when mob uses self-destruct skills (bugreport:2568) [Inkfish]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13754 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-11 15:40:12 +00:00
Inkfish
bba5e225cc * Fixed the incorrect DEF reduction of Joint Beat (bugreport:3051)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-10 11:13:59 +00:00
Inkfish
5c56cedcbc * Magnetic Earth will never stack even if they are from the same team.(bugreport:2568)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13750 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-10 06:03:05 +00:00
Inkfish
c36c82150a * A typo on my last commit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13748 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-10 03:13:47 +00:00
Inkfish
b6f136a75d * Now if an NPC is unloaded, only the timer of the player attached to this npc will be deleted.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13747 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-10 02:44:02 +00:00
Inkfish
bb1c9d92de * Fixed NPC timer errors
- ted->rid is not initialized for global timer
- timer_id is not set to INVALID_TIMER when timer is deleted
- run script after next event is arranged

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-09 16:12:28 +00:00
Inkfish
5343380fc4 * Fixed GX's skill level modifier is missing
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13745 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-09 14:47:09 +00:00
Inkfish
a366ac53ce * Fixed some known and unknown player attached NPC timer problems
- Attached timer now can be stopped properly.
- Attached timer will now stop if the NPC is unloaded. (bugreport:2510)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-09 01:45:11 +00:00
Inkfish
f49e69515f * Lv10 Waterball used by mobs should have 81 balls instead of 121
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13741 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07 23:50:11 +00:00
Playtester
5575c28e84 * Fixed up the base success rate of normal strip skills
- normal strip skills: 5% + 5%*level
- Full Strip: 5% + 2%*level

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13740 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07 17:06:56 +00:00
Inkfish
0aa94a295f * Clean up for npc timer code
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07 14:52:22 +00:00
Inkfish
96635c8c81 * Update Waterball code due to info updated
* A piece of GX casttime def reduction code I forgot to merge

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07 12:43:37 +00:00
Inkfish
0595535167 * Fixed splash damage from Baphomet Card might miss. [Inkfish]
* Check if group unit is expired before processing it. (bugreport:3054) [Inkfish]
* Fixed Grand Corss outdated behavior (bugreport:1590) [Inkfish]
- use new damage formula
- DEF is reduced to 2/3 during cast time
- block shields switching within attack duration
- monsters don't damage themselves any more
- intervals between hits are 300ms

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07 12:15:14 +00:00
Inkfish
ed83c8817d * Added check on stackable items to 'checkweight' (bugreport:1569, bugreport:2756, bugreport 2994) [Inkfish]
* Fixed flee penalty wasn't applied for battleground and wouldn't be restored on map change [Inkfish]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13735 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07 10:38:00 +00:00
Inkfish
68a983ce4b * Fixed players can pull water from ME cell (follow up to r13730)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13733 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07 09:19:58 +00:00
brianluau
09914e3ce6 - Fixed an uninitialized variable in r13724. (bugreport:3052)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13731 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-06 23:14:06 +00:00
Inkfish
afaf28a4fa * Players now are allowed to copy the skills the level which is beyond the skill_db max. [Inkfish]
* Fixed some behaviors for Waterball (bugreport:3024) [Inkfish]
- High level Waterball used by players doesn't increase the number of balls.
- Monsters can't pull water from cells with Magnetic Earth.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 13:34:31 +00:00
brianluau
53998c9f3d * Added the md5() script command. (follow up to r13719)
- Changed kafra storage password to be stored as md5 hash in #kafra_code$.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 08:22:53 +00:00
Inkfish
f02ea5bfd1 * Block equipments switching for some skills (bugreport:2900)
- cannot change equipments during Arrow Vulcan's cast time
- cannot change equipments within Desperado's attack duration

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03 10:20:13 +00:00
Inkfish
ffa383b768 *Sorry, something I forgot to merge from my own code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03 05:05:47 +00:00
Inkfish
8704a43725 * Players now cannot be revived during pvp respawn delay
* Fix a logical problem on my last commit

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13720 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03 04:41:04 +00:00
Inkfish
a43c9e581b * Fix several npctimer issues (bugreport:1619, bugreport:1730)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13718 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03 04:06:53 +00:00
Inkfish
8cd8f32c78 * Fix 'awake' not working (bugreport:2580)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13717 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03 02:59:53 +00:00
Inkfish
39b15f37c8 * Do not log damage if it's done by mob itself (bugreport:2933) [Inkfish]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13716 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03 02:12:57 +00:00
ultramage
8e3102cfc1 svn:eol-style native for char_sql's int_mercenary code (missing in r13166).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13715 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-02 23:46:36 +00:00
Playtester
dd635a835a * Spirit of Bard and Dancer now only works for mastered skills (bugreport:3037)
- also fixed an outdated comment in the source code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-02 20:33:41 +00:00
brianluau
a11e789e0a - Fixed some typos in the script command documentation. (bugreport:2547)
- Fixed a misleading message in the custom Job Changer. (bugreport:682)
- Updated some NPC's facing directions. (bugreport:3030)
- Added missing newline in some ShowWarning(). (bugreport:2940)
- Fixed SC_BOSSMAPINFO time being off by 1 minutes (bugreport:3035)
Now, the seconds are rounded up to the next whole minute.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-02 20:23:30 +00:00
ultramage
23bd309798 Added missing case SC_ONEHAND (from r5227) and case SC_MERC_QUICKEN (from r13203) to function status_change_start.
Added missing case SC_AURABLADE (from r13693) to function status_change_end.
Added symbolic names for all OPT3 values and replaced the OPT1/OPT2/OPT3/OPTION defines with corresponding enums.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-30 02:26:04 +00:00
skotlex
a047b057df - Avoid setting the canwalk delay after being hit if the target is already unable to move.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-28 16:48:46 +00:00
Playtester
33911a7594 * Fixed break equipment debuff working on bosses (bugreport:3023)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13703 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-27 16:53:12 +00:00
Playtester
96a0560b11 * Fixed Monster Spiral Pierce not being reduced by Ghostring Card
- it is forced neutral as its a MISC skill for monsters and doesn't take weapon element

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25 13:15:45 +00:00
Playtester
7a215a7119 * First attempt to fix up the strip skills, please make sure these fixes work (bugreport:3011)
- the minimum rate of strip skills is now 5% for all levels
- duration of strip skills depends on the dex difference between target and caster and can be reduced to 0
- strip skills can now affect bosses (if duration doesn't get reduced to 0 due to their high dex)
- strip skills do a fixed -25% ATK, -15% DEF, -40% VIT or -40% INT independant of skill level
- autocasting Full Strip has a duration now (if dex is high enough)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25 10:40:40 +00:00
ultramage
7c730e4fbd Added an int64 typecast to both the acid demonstration equation (which couldn't handle 1000-ish stats), and the misc damage reduction code (followup to r13694).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25 10:03:23 +00:00
ultramage
7d85415214 Filled in missing SI_ (status icon) names based on official info.
This is just for completeness, since nothing will display on the client until icon files are associated with these ids.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25 07:34:47 +00:00
ultramage
ff21daafa2 Correction to some status icons based on official information
- Added SI_S_LIFEPOTION and SI_L_LIFEPOTION and their corresponding new status changes to deal with the fact that Small_Life_Potion and Med_Life_Potion each use a different status icon.
- Left the duplicate SC_HPREGEN status in fof backwards compatibility, but removed its icon.
- Corrected the status icon id for SC_INCCRI from 292 to 295.
- Corrected the status icon id for SC_INCHEALRATE from 293 to 292.
- Added status icons for SC_INCFLEE2, SC_SPCOST_RATE and SC_COMMONSC_RESIST.
- Removed icon from SC_ARMOR_RESIST since officially it is a bonus, not a status, and thus doesn't (and can't) have an icon.
- Renamed the status icon name of SC_ELEMENTALCHANGE from SI_ARMOR_RESIST to SI_ARMOR_PROPERTY.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25 07:25:50 +00:00
Playtester
a223cdcba8 Fixed a small typo I did in my last Spiral Pierce fix, thanks to Inkfish for pointing it out (bugreport:3013)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13697 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24 15:30:24 +00:00
akrus
5a35f1c88e * Lil fix for my last commit. Sorry :)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24 12:58:35 +00:00
ultramage
c17d002e07 Renamed Happy Break's status name from SC_TKREST to SC_EARTHSCROLL, since that's its official purpose and it doesn't do anything else.
Also removed the associated SI_TKREST since this status doesn't actually have an icon.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24 09:37:08 +00:00
akrus
97f947bb63 * Fixed Acid Demonstration (and probably some other skills) working wrong on high-rate servers (thanks to [Funt] for the idea)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24 07:56:29 +00:00
ultramage
26736bf2a8 Filled in missing OPT3 change for LK's Aura Blade.
Added comments for OPT3 values 0x100 and 0x20000, which are currently unused.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24 05:52:34 +00:00