- Reverted the change from r17216 and replaced it with another fix that will now work for all skills (still related to bugreport:6991)
- Implemented the official stun chance of Bash based on an Aegis leak; basically the base chance (5% per level above 5) will get multiplied by BaseLevel/50.0, so on level 50, it will be 1x, on level 75 it will be 1.5x and on level 99 it will be almost 2x (prior reductions), e.g. a level 99 knight using bash 10 will have a 49.5% base success chance to stun with it (if he has learned the quest skill)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17222 54d463be-8e91-2dee-dedb-b68131a5f0ec
* Added 'checkhomcall' & 'morphembryo' commands and updated 'hommutate' command, as required by the Hom-S quest. (code by Aleos/lighta)
* Modified 'gethominfo' to work for Homunculi in 'rest' state, also needed for the Hom-S quest to run properly.
* Updated spawns for Scaraba Hole (dic_dun) and Dewata (dew_fild, dew_dun).
* Minor update to some item scripts.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17220 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Fixed class requirements of Heart Breaker Hammerfall in renewal (bugreport:7418)
- Increased minimum respawn delay for monsters to 5000ms, this is needed to prevent the client from thinking the newly spawned monster is the same than the killed one; one problem it can cause is described in bugreport:7390, also at least in pre-renewal the minimum respawn time is 5 seconds officially and handling this via the code is much better than updating all spawn files
- Implemented the official formula for Potion Pitcher when used by monsters
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17219 54d463be-8e91-2dee-dedb-b68131a5f0ec
* 9b5ec24:
@accinfo update -- added pincode support and changed group_id to group_level as to respect the level hierarchy on whether to display passwords or not.
Updated GeoIP Database to March 2013.
* 9aded8a:
Introducing Costume Garment Slot 8192.
Also updated getlook script command to support Robe/Garment (val 12 Look_Robe).
* 691b3e6:
Fixed Tetra Vortex client crash. (bugreport:7302)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17218 54d463be-8e91-2dee-dedb-b68131a5f0ec
-fix summon_legion multiple spawn exploit and set summon stats.
-fix MH_LIGHT_OF_REGENE being broken since eleanor upd (typo)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17213 54d463be-8e91-2dee-dedb-b68131a5f0ec
nb :
NULL is transmitted for atcommand and npc call since they shouldn't be reduced.
src = direct user, so we can compare directly, if you want to compare to master please cast so.
saved status from char won't have *src currently since I don't believe we need to recalculate def.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17211 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Fixed Raid to deal damage in a 7x7 area in renewal (bugreport:7381)
- Fixed success chance of Storm Gust's freeze status change in pre-renewal, iROwiki says 150% and feedback from official server players confirmed that it is indeed 150%
- Second phase of the big status resistance update:
* Created a structure to consider status change source (we are still missing the information and use a copy of target instead right now, lighta is working on a solution)
* Entered the fully official formulas of all status changes based on an Aegis leak (since source is not in right now the level difference will always give "0")
* As tick_def2 is never equal to sc_def2, it will not use it by default anymore
* Applied Deep Sleep's kRO balance update, duration can now be reduced by 50ms for each int and each base level, minimum duration is 5000ms
* The final chance for the status change will now consider Aegis accuracy (everything between 0.01% and 0.09% should actually be 0.1%, etc.)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17206 54d463be-8e91-2dee-dedb-b68131a5f0ec
- In the process, fixed the effect of luk on status changes and removed the static 3% resistance that has been proven to not exist (97 vit, 1 luk can get stunned on officials)
- As there is no general luk resistance as it depends on each status change, removed the luk_status_def configurations
- Updated the success chance of Decrease Agi to the formula that was extracted from Aegis (blevel/5 + int/5 + skill_lv*3 + 50)
Note: I tested all the status changes thoroughly, but as this is a quite large update, it would be nice if someone could cross-check it.
Note2: Renewal status resistances (for pre-renewal status changes) are currently not implemented in rAthena at all. They need to be added in another update.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17201 54d463be-8e91-2dee-dedb-b68131a5f0ec
* Revised/added 'npc_isnear' to check if an NPC is nearby when opening chat rooms or using vending. (Hercules bc63ef1)
* Misc. fixes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17187 54d463be-8e91-2dee-dedb-b68131a5f0ec
--Implement : MH_TINDER_BREAKER, MH_CBC, MH_EQC, MH_SONIC_CRAW, MH_SILVERVEIN_RUSH, MH_MIDNIGHT_FRENZY
--Fix style_change not giving sphere when eleanor attacking, and auto set to fighting mode when created.
--Add display msg to know in wich mode we are.
--Remove state check not working well with homon since ??
--Upd MH_SUMMON_LEGION to use summon mob declaration rather then real mob, and set them as agressive by default
-Mob doesn't have fixed casttime anymore bugreport:5697
-Fix few typos
--Enforce logs.sql to check if table not existing. (remove fail at import)
--fix bloodylust effect (temp)
--slave now return final master when killing mob
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17182 54d463be-8e91-2dee-dedb-b68131a5f0ec
--Add kind of handler in skill_check_condition_castbegin for group check and move some from unit unit_skilluse_id2 (wich not really meant for check)
-Cleanup leftover from r17153
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17161 54d463be-8e91-2dee-dedb-b68131a5f0ec
* Changed encoding on new cli and msg_* files from r17152, r17153.
* Replaced a couple of characters in source files that caused encoding issues.
* Updated SQL database from r17157.
> Hercules merges:
* 915365b:
Updated official behavior of warp portal dealing with skill requirement and casting.
* 6c6fbf0:
Updated quest_db with some Port Malaya entries.
* adda8d7:
Updated SN_SIGHT to its RE behavior. True Sight stacks with skillratios now, instead of multiplying final damage.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17158 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Coluceo Heal has no fixed cast time at level 3.
- Increased the range for Expiatio to 11.
- Updated SP requirement for Clementia, Canto Candidus, Coluceo Heal, and Praefatio.
- Updated Epiclesis to be 5x5.
- Updated damage formula for Renovatio and Judex.
- Updated success chance and checks for Adoramus effects: Agi Down and Blind.
- Updated Highness Heal recovery modifier.
- Added a safety check for Clementia and Canto Candidus stat bonus to prevent possible server crashes.
- Coluceo Heal no longer works on players in Berserk.
- Lauda Ramus now clears Deep Sleep.
- Clearance is now only usable on selected allies in party/guild and monsters.
- Added missing attack and resistance check for Eucharistica.
- Added missing barrier bonus for Kyrie Eleison from Praefatio.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17150 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Crush Strike now lasts for 30 seconds.
- Phantom Thrust is now targeted to allies.
- Updated SP requirement for Death Bound.
- Giant Growth now has a .1% chance to break caster's weapon.
- Stone Hard Skin now has a 30% chance to break caster's weapon.
- Stone Hard Skin now has a 30% chance to reduce 25% damage from monsters for 10 seconds.
- Corrected Stone Hard Skin's DEF/MDEF increase formula.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17145 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Adjusted Wind Cutter and Storm Blast cast times.
- Removed range from Enchant Blade and updated damage formula.
- Increased Hundred Spear range to 5.
- Changed Dragon Howl attack type from weapon to none.
- Added missing damage increase for spears while riding a Dragon.
- Updated Sonic Wave, Wind Cutter, Ignition Break, Hundred Spear, Storm Blast, and Fighting Spirit damage formulas.
- Death Bound now deflects 70% of the damage taken back at the attacker.
- Vitality Activation now stops SP regeneration, increases (1.5x) HP recovery items, and decreases (1.5x) SP recovery items.
- Stone Hard Skin now consumes 20% HP.
- Corrected the formula for Millennium Shield production chance.
- Phantom Thrust is now usable on party members in normal maps but doesn't inflict damage.
- Updated the list of statuses that Refresh removes.
- Giant Growth now has a 15% chance to increase damage.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17140 54d463be-8e91-2dee-dedb-b68131a5f0ec
* 7e72f0c, 3bba651:
Improvements all over the place.
* 327a46d:
Arrullo no longer crashes the server when used by monsters.
* 1093763:
Fixed official behiavior of WZ_SIGHTBLASTER dealing with HW_MAGICPOWER.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17139 54d463be-8e91-2dee-dedb-b68131a5f0ec
> Hercules merges:
* 2bc8562, 126225b:
Skills granted through scripts are now permanent, until this date they were not relog persistent. (bugreport:5018)
Note that you will need to execute /sql-files/upgrades/upgrade_svn17136.sql for this change.
* b8379d2:
@skillid now supports partial search.
* d7ce0c1:
Character's online states are now updated as soon as they attempt a char select, instead of at the end of the procedure. This improves reliability with 3rd party software e.g. control panels. (bugreport:7269)
* d828000:
Login and Char servers will now exit when failing to bind to the port (as map server has always done).
* 003ed2c:
Moved "Honeymoon Helper" and "Odgnalam" NPCs to official RE coordinates.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17136 54d463be-8e91-2dee-dedb-b68131a5f0ec
> Hercules merges:
* ac78454:
Extending readparam functionality: Added many more bonuses including missing key stuff such as def/mdef.
* 4983181:
Script commands relying on equipment slot may now access the 3 following types:
EQI_COSTUME_HEAD_LOW (11)
EQI_COSTUME_HEAD_MID (12)
EQI_COSTUME_HEAD_TOP (13)
* b305c1f, e5cc221:
Updated EXP rewards in 13-1 and 13-2 quests.
* a244b61:
Status effects no longer propagate with magical reflection (e.g. when frost diver is reflected there is no chance that target will be frozen)
* f825d79:
Database and script updates. (bugreport:6957, bugreport:6834)
* a2b070b:
Various typo fixes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17131 54d463be-8e91-2dee-dedb-b68131a5f0ec
* More clearly defined variables in eA Job System documentation (bugreport:7259).
* Added missing 'stopnpctimer' in custom Cluckers script (bugreport:7260).
* Restricted skill_trap_type config to GvG only (Hercules 4c9bfed, follow-up r17109, bugreport:4832).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17127 54d463be-8e91-2dee-dedb-b68131a5f0ec
> Hercules merges:
* c69e4b6:
Added new item bonuses bFixedCast, bVariableCast & bFixedCastrate (see 'doc/item_bonus.txt' for info).
Added new conf for max_walk_path.
* bb61951:
Getting rid of unused indexes.
If the table has a multiple-column index, any leftmost prefix of the index can be used by the optimizer to find rows. For example, if you have a three-column index on (col1, col2, col3), you have indexed search capabilities on (col1), (col1, col2), and (col1, col2, col3).
Source: http://dev.mysql.com/doc/refman/5.5/en/multiple-column-indexes.html
* 7e4c578, 90eefa0:
Allow unsigned int values for guild exp (as it was before the change).
Atoll was introduced in a 2011 lib and vc9 and 10 don't have that, dropping to atol since we dont need the int64 and using a tricky conversion to get it to unsigned.
* a4802ea:
You no longer can dispell guild mates in non-pkable areas. (bugreport:6803)
* 54d0583:
Hells Plant no longer can be stacked on the ground. (bugreport:6825)
* 6fb7161:
Fire Pillar is now removed by land protector, and no longer can be cast over land protector. (bugreport:2177)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17123 54d463be-8e91-2dee-dedb-b68131a5f0ec
* 5b37805:
Items are no longer unequipped when a card within them is blacklisted (e.g. item_unequip.txt), instead the card's effect is nullified.
* cc8e005:
item_noequip overhaul.
Items are no longer unequipped when disabled by item_noequip.txt, instead their effects are nullified -- however cards in them, unless also disabled, wont have its effect nullified.
Consumables will be consumed even while disabled, unless you modify the new config item_restricted_consumption_type.
* 7192b10:
SECURE_NPCTIMEOUT should be fully functional now, fixed remaining known issues. (bugreport:5343)
* 63145d6:
Where casting MO_EXTREMITY to untargetable targets causes the caster to move in fixed location/coordinate.
* 17f2e6a:
Fixed clif.c::clif_parse_NpcSelectMenu. SECURE_NPCTIMEOUT is always defined; the check is wrong.
* 125b758:
Added New Char-Server Rename Packet.
* d6d49c4:
Updated Safety Wall Renewal behavior, when taking damage higher than the health of the safety wall, excess damage will no longer be passed to the player.
Fixes bugreport:6243, bugreport:6697.
* 7626b14:
Fixed wrong 'if' condition in checking CELL_CHKNOPASS for the OFFICIAL_WALKPATH where clear path is considered to be limited to 14 cells it should only be with obstacles. (follow-up r17091, bugreport:7239)
* 0dbbe22:
Fixed magical reflection behavior, user reflecting now visually casts the skill back at the caster, instead of caster casting it on itself.
* 4671a39:
Monsters in stone curse pre-stone state no longer are able to attack.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17119 54d463be-8e91-2dee-dedb-b68131a5f0ec
* 620b36d:
Fixing a typo on skill_trap_type description.
* 13317f0:
Spider web no longer triggers on players on non-pvp maps. (bugreport:7234)
(also fixed tab align on switch and a logical thing on skill_additional_effect)
* fc2e159:
@follow will not stop immeadily when turned off, instead of waiting for the current walk path to be complete. (bugreport:6918)
* 638e2b5:
Replaced strncpy with safestrncpy where I found would be beneficial. (bugreport:3080)
* 74ed3ed:
Players in chatrooms can now equip/unequip gear, can talk to NPCS, and can't use consumable items. (bugreport:6097)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17114 54d463be-8e91-2dee-dedb-b68131a5f0ec
* e15fe61:
Brandish spear can now be used by rune knights riding dragons. Made riding state check for both peco and dragon, created a new state for peco-only so that the functionality isn't lost. (bugreport:6305)
* ca1eb76:
Char server displaying extra '/' in exp_guild path. (bugreport:7227)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17110 54d463be-8e91-2dee-dedb-b68131a5f0ec
* e9d07bd:
Fixed bug with garments not displaying properly. (bugreport:7018)
* 9f75e12:
Fixed Ankle Snare to behave as in official servers, you only stop walking when you reach your destination and activates all other traps in the path. (bugreport:4832)
* cba3bef:
New skill config - After due consideration we thought it'd be in the best interest of the community to provide a switch to this official feature since it drastically change the way traps can be used.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17109 54d463be-8e91-2dee-dedb-b68131a5f0ec
* cf690d4:
Star Gladiator's map data is now cleared upon job changing outside star gladiator lineage, that way the database will no longer store these vars when they're not used (bugreport:6689).
* 7911e5e:
Making signal.h available throughout the whole source when in DEBUG mode so that developers (and users debugging) can easily raise signals from anywhere. Extremely handy with gdb, for example.
* 18b2468:
Basilica can only be placed when there are no other units (no mobs/players) within the range of which the basilica will spawn (bugreport:6644).
* 0af9e03:
Support for 2012-04-18a.
Special Thanks to Judas for providing the new packet info.
* 234bbe2:
Normal Boss/mini-boss attacks no longer can hit trick-dead'd players (bugreport:4339).
* e6ac0ec:
Fixed 3 logical errors (1 that would cause CH_PALMSTRIKE to crash the server when either caster or target were out of sc data).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17108 54d463be-8e91-2dee-dedb-b68131a5f0ec
Fixed bugreport:6961 WL_COMET AOE range is now 15x15.
Fixed bugreport:5811 where SC_BLEEDING is not attach to caster to give exp.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17097 54d463be-8e91-2dee-dedb-b68131a5f0ec
Fixed bugreport:6503 where SR_GT_REVITALIZE causes glitch display in stat window.
Change WM_LULLABY_DEEPSLEEP to self targeted skill.(bugreport:6579)
Fixed bugreport:6642 where SR_CURSEDCIRCLE effect is not remove after casting AL_WARP.
Change SO_ARULLO to ground targeted skill.(bugreport:6842)
Fixed bugreport:7165 where 'npcwalkto' script command is not working properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17094 54d463be-8e91-2dee-dedb-b68131a5f0ec
Fixed bugreport:7101 where MO_EXTREMITYFIST don't consume sp when used against plant type monster.
Fixed bugreport:7116 missing duration for HW_MAGICPOWER.
Fixed bugreport:7117 where WL_WHITEIMPRISON doesn't work properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17078 54d463be-8e91-2dee-dedb-b68131a5f0ec
1. Removed some unnecessary checks.(bugreport:7078)
2. Fixed some index's which would access an invalid array position, crashing the server.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17077 54d463be-8e91-2dee-dedb-b68131a5f0ec
* Further harmonized skill_id and skill_lv variables.
* Fixed trap skill item requirement checking for signed return and being set to unsigned variable. (bugreport:7085, bugreport:7114)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17076 54d463be-8e91-2dee-dedb-b68131a5f0ec
--removing useless check on skill_id
--fix few broken atcommand due to failed sscanf
-Change skill_amotion_leniency as pointed out on tid:76492 so amotion delay wont be twice by default, (also increase intervall if you do want higher acd)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17072 54d463be-8e91-2dee-dedb-b68131a5f0ec
Fixed bugreport:6688 MO_EXTRIMITYFIST skill effect.
Updated all non 3rd job skills to there official RE cast time delays.
Updated WL_WHITEIMPRISON where cooldown should trigger whether success or not.
Added missing status icon for SC_MATKPOTION and SC_ATKPOTION.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17069 54d463be-8e91-2dee-dedb-b68131a5f0ec
-Also revert unintentional change of GDI_SKILLLV (even if useless enum) bugreport:7076
--All type change related to tid:75123
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17067 54d463be-8e91-2dee-dedb-b68131a5f0ec
Fixed some error when creating vars and some warnings.(bugreport:7074)
* Removed an undisered warning on script's sscanf. (bugreport:7059)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17066 54d463be-8e91-2dee-dedb-b68131a5f0ec
Fixed bugreport:7028 where damage bonus of SR_GATEOFHELL has interchange with normal damage bonus.
Fixed bugreport:6946 where CH_PALMSTRIKE causes damage when caster hides after casting.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17062 54d463be-8e91-2dee-dedb-b68131a5f0ec
Fixed bugreport:7033 where fixed cast time reduction bonuses affect variable cast time.
Fixed bugreport:7034 stats display should now display properly when skill debuffs/buffs are used.
Fixed bugreport:6840 where Fire Cloak and Wind Curtain accidentally changed elemental damage resistance.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17043 54d463be-8e91-2dee-dedb-b68131a5f0ec
* Fixed bugreport:6303: official servers now always reshuffle the dice emoticon. To disable change the configuration to 'no'. Thanks to Vianna for providing the information!
* Fixed bugreport:7026: creating a guild and exiting in a short amount of time wouldn't save the guild properly. Thank you clydelion!
* Fixed bugreport:7030: removed warning introduced by r16987. Thanks Mr. Brian and Sir BuildBot for pointing!
* Fixed bugreport:7031: if a player crashed during warp it would cause OnTouch_ to not trigger anymore. Thanks to flaviojs (eA-r15185) for the fix and Napster for pointing out!
* Fixed bugreport:7032: Clementia and Canto Candidus give an additional of +1 str/agi/dex each 10 job levels (from caster). Thanks solvent!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17034 54d463be-8e91-2dee-dedb-b68131a5f0ec