- 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
* 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
- 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
- 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
- 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
- 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
- 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
- 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
* 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
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
- 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
- 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
- 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
- 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