9284 Commits

Author SHA1 Message Date
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
ultramage
046c8f501f Removed the optional target parameter from atcommand_homshuffle, since the standard #-charcommand mechanism exists for this very purpose (code from r9671).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13788 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17 20:36:05 +00:00
skotlex
0fa2e82da2 - Fixed a couple of crashes that could ensue from the last memory corruption fix to free'ing clones.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17 20:24:45 +00:00
Inkfish
a8fda75bb0 * Eske and Eska now affect friendly guardians and slaves. (bugreport:2131)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13786 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17 16:11:05 +00:00
Playtester
4e49aad859 * Some fixes to the previous commit (apparently it didn't compile with VS 2008)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13785 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17 15:43:59 +00:00
L0ne_W0lf
a58c54b299 Updated walk speed and aspd of Okolnir mobs, also fixed the flower mob modes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13784 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17 15:38:00 +00:00
Playtester
6bf346a172 * Monocell, Instant Death and Class Change will now fail on bosses (bugreport:2907)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13783 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17 15:04:20 +00:00
L0ne_W0lf
0589dbc7ef * First round of bug fixes for the Okolnir scripts. (bugreport:3085)
- Fixed two spawn locations of the key stones in Piamete's room.
- Fixed calling an event that doesn't exist when killing Piamete.
- Fixed the Wish Maiden not enabling when the boss is killed.
- Fixed two NPC named that were missed when translating.
- Fixed Dialog that was overlooked in some files and not others.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17 05:31:49 +00:00
L0ne_W0lf
54410b989d Falicious Okolnir update - Brynhild creation quest. Basic unoptimized version.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-16 02:06:15 +00:00
L0ne_W0lf
d3772530c8 * Falicious Okolnir update - Asprika creation quest. Basic unoptimized version.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-16 02:05:06 +00:00
L0ne_W0lf
b1cff52184 *Minor database updates related to the Falicious Okolnir dungeon.
- Corrected the names of Andvari's Ring and Valkyrie's Token.
- Added Crystal_Key and Valkyrie's_Gift item_trade restrictions.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-16 01:25:14 +00:00
Playtester
b7f826ddab * Removed custom behavior on some AutoSpellWhenHit bonuses
- they now use aegis default activation (SHORT+LONG+WEAPON+NORMAL+SKILL)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13778 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15 19:51:12 +00:00
Playtester
3c7f50114c * AutoSpellWhenHit now triggers on normal+skill by default (bugreport:1652)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15 16:41:27 +00:00
Playtester
b84a932696 * Added graphical effects to bonusautoscripts of Bloody Eater and Atroce Card
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15 15:13:54 +00:00
ultramage
34def63ece Cleaning/fixing the previous commits a bit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13775 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15 11:41:40 +00:00
skotlex
418f0d9200 - Fixed a bunch of invalid memory access bugs as reported by Valgrind.
- Updated unit_stop_walking to not move character an extra cell when it is already half-way there unless flag 0x4 is        passed. (bugreport:3078)
- Fixed the monster MD_CASTSENSOR code not correctly setting the monster's aggressive state.
- Corrected a few compiler warnings
- Changed a bit the code for SC_BOSSMAPINFO so it is not so hideously ugly.



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13774 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15 10:27:05 +00:00
ultramage
3e1d1414ae Changed the type of the 'first' parameter of status_calc_pc/mob/pet/homunculus/mercenary functions' from integer flag to a simple boolean.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13773 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15 07:49:54 +00:00
ultramage
4acc0932f2 Removed the undocumented custom level feature from monster spawn lines (bugreport:3076).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15 07:33:39 +00:00
Inkfish
1a70b702c8 * More logical modifications on skill_additional_effect thing. Thanks to ultramage.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-14 16:15:17 +00:00
Playtester
19e2bc5e00 * Fixed activation rates on Bloody Eater and Violet Fear
- Bloody Eater is 0.1% activation for 5 seconds
- Violet Fear is 3% chance to activate Meteor Storm and 5% chance to activate Frost Nova
- also added official activation rate information on unimplemented status changes in the changelog

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-13 15:59:29 +00:00
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
L0ne_W0lf
0143414445 * Completely rescripted the DTS warp service based on the aegis 11.3 file.
- Updated F_ClearGarbage to erase obsolete DTS player variables.
- Moved Cool Corp. Staff NPCs to Lighthalzen (cities/lighthalzen.txt.)
- Now everyone can enjoy the global broadcast "every-hour-nag" to vote!
- Note: Upon loading ALL prior DTS global variables are erased.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13764 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 21:52:11 +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
f43e811332 - Rental font items.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 16:59:57 +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
Inkfish
00f943bf3f * SG_WARM no longer ignores FLEE by default. (bugreport:3038)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 09:31:41 +00:00
brianluau
1eaef19afe - Fixed double-quotes not being escaped in the custom xmas_rings_event. (bugreport:2546)
- Renamed an OnClock label so it's consistent with the other castles. (bugreport:2831)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 07:47:02 +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
L0ne_W0lf
ca78c831b2 Fixed a couple mistakes in r13752, extra commas at the end a couple lines, and missing quotes around an AL_HEAL.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13753 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-11 05:04:49 +00:00
L0ne_W0lf
627f68e596 * Updated pet database.
- Defined the header for the pet database. Lordy was this not fun.
- All pets now walk at character speed (150), but do not inherit bonuses from owner.
- All pets have the same hungrydelay, and will lose hunger at 80 points per 60 seconds.
- Corrected capture success rates for Alice, Zealotus, and the goblin pets.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-11 00:45:27 +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
L0ne_W0lf
86f43bd7ae Osiris now summons the correct amount of Ancient Mummies at the right slave number (Partial revert of r7010.)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13749 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-10 05:43:27 +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
L0ne_W0lf
fcc3ce7b3b * Well, as it turns out, DETECTOR is actually detect hidden (not cast sense.) Elder is at least fixed though.
- Reverted the mob mode change for nearly all mobs. Elder is exempt from this revert.
- Adding some "closer to official" stats for the Okolnir Monsters, Wish Maiden, Piamette, Etc.
* As an added bonus for that snaffu I'm implementing the Okolnir mob skills as well.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13743 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-08 17:15:30 +00:00
L0ne_W0lf
01d86d1754 * Looking into why the monster Elder was not working as intended lead to fixes!
- Monsters that are 1) aggressive 2) change targets and 3) and ANGRY will no longer cast sensor.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13742 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-08 02:35:56 +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