8088 Commits

Author SHA1 Message Date
markzd
82c04f1134 * Follow up r17065
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
2013-01-05 04:45:53 +00:00
aleos
60d22b04c1 > Follow-up to r17065:
* 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
2013-01-04 20:33:34 +00:00
markzd
cebcf7a332 - Fixed an warning of type casting. (bugreport:7081)
- Removed an unecessary type cast before atoi.
- Fixed Ray of Genesis Attack Formula. (bugreport:7053)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-03 09:12:36 +00:00
rud0lp20
3b149bce10 Reverted r17070 XD.(bugreport:7094)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17073 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-02 09:44:03 +00:00
glighta
25c1cf6691 -Follow up r17065
--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
2013-01-02 09:40:01 +00:00
ediejohnny
ec5312da8c Modified the formula of the Ice Pick, it was def1+vit_def, but according to iROWiki, it's Hard Def/2, so, def1/2 now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17071 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-02 00:20:43 +00:00
rud0lp20
026ca5ce1e Follow up r17017 fixed some wrong type casted variables.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17070 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-01 17:51:49 +00:00
rud0lp20
0e6fbcb0ce Update NJ_ISSEN to its official RE behavior.(bugreport:6114, bugreport:5426)
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
2013-01-01 16:56:29 +00:00
aleos
ac3e21c182 > Follow-up to r17048:
* 'npcskill' now uses AREA_SIZE as maximum distance rather than using skill distance. (bugreport:7069)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17068 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-31 20:31:20 +00:00
glighta
8665e64c24 -Follow up r17065 fiw splash skill being broken.
-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
2012-12-31 04:03:26 +00:00
markzd
aad719ff76 * Follow up r17065
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
2012-12-30 19:07:02 +00:00
glighta
0cdba10793 -Harmonize skillid, skill_num, skillnum, skill, to skill_id and same for skill_lv
-Optimise type from int to int16 in order to reduce ram consumtion.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-30 16:00:24 +00:00
rud0lp20
882ca9d44d Follow up r17062 where ignore def is not working properly.XD
Fixed bugreport:6408 where casting WL_WHITEIMPRISON caster is not attach to trigger autoloot and events.
Update WZ_ESTIMATION settings to RE default.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-30 07:13:29 +00:00
rud0lp20
36bfeab811 Fixed bugreport:6074 updated Renewal Def and MDef damage reduction formula. Special thanks to KyleZ.
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
2012-12-29 20:51:38 +00:00
glighta
f82e7eb077 Old Eleanor work :
-Implement  MH_TINDER_BREAKER, STYLE_CHANGE

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-29 04:41:25 +00:00
brianluau
8085260aa9 - Increased MAX_QUEST_DB, follow up to r17056. (bugreport:7058)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17058 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-28 10:05:41 +00:00
euphyy
96e8979569 * Added a small portion of official Malangdo Episode scripts.
* Updated quest_db with translated Malangdo entries.
* Fixed strmobinfo() to output empty strings for 'name' instead of zeros (partly follow-up r17055).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-28 08:38:28 +00:00
ediejohnny
254ae25f6a Removed the (int)var 'statlimit' from the pc.c to avoid some lines of code at "pc_setparam" function.
Zephyr

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17054 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-28 00:39:28 +00:00
momacabu
06ebeaf3e8 * Fixed bugreport:7052, npcs with monster sprite now work.
* Follow up to r17052, now it properly resets the x and y coordinate for every npc and checks it after the map. 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17053 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-27 22:00:14 +00:00
momacabu
6d4f54625b * Also checks for righty coordinates before actually loading the npc. Improves fix for bugreport:419.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17052 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-27 20:24:44 +00:00
momacabu
8e38452f8b * Fixed bugreport:3325, if bHPRecovRate was set to -100 you will actually regenerate 1 HP/SP and it shouldn't regenerate at all.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17051 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-27 19:36:10 +00:00
momacabu
6f8f38db35 * Fixed bugreport:4687, @lostskill was removing the skill from skill tree and not disabling it (making it grey);
* Fixed mercenary window not showing up critical (bugreport:2369).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17050 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-27 19:16:31 +00:00
euphyy
bb5364c2d1 > Follow-up r17048:
- Renamed 'useskilltopc' to 'npcskill';
- Removed cast time from NPC objects, code by mkbu95 (suspected official behavior);
- Documented 'npcskill';
- Replaced all instances in scripts.
* Fixed max level bypass, code by malufett (bugreport:5800).
* Updated Malangdo spawns to official.
* Some standardization of npc/quests/first_class/.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17049 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-27 06:11:18 +00:00
momacabu
825ddd053c * Implemented `useskilltopc' (tid:74685), and now if desired npcs can carry status such as str, atk, def, etc and level.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17048 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-27 03:49:29 +00:00
markzd
16788f470f - Follow up: r17046
Fixed duplicate case values which would happen if compiled under RENEWAL_CAST off.

Thanks for Zephyr which noticed it right after the commit.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17047 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-26 23:35:08 +00:00
markzd
923ee2d5c8 Fixed bugreport:7049, where cast time bonus would not work if Renewal is used with RENEWAL_CAST off.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17046 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-26 23:10:06 +00:00
aleos
ec14e623f2 Fixed Elemental HP/SP bar not being displayed to the client after being warped to master when HP/SP is full. (bugreport:5636)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17045 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-26 20:13:36 +00:00
markzd
d431e65366 - Fixed Server Rainstorm damage formula. (bugreport:5786)
- Fixed shadow formation, to reflect damage with SF caster as source and not the attacker.(bugreport:7045)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17044 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-26 07:06:29 +00:00
rud0lp20
d4b09c6c56 Fixed bugreport:7015 missing base aspd for High Priest wearing knuckles.
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
2012-12-25 13:14:01 +00:00
momacabu
41c77b8fa5 * Added missing check for riding wug in checkwug. Thanks to PcPocket!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-24 03:18:56 +00:00
euphyy
df5d78a4e2 * Documented @refreshall (r17035), @breakguild, @hommutate (r17038).
* Follow-up r16972, fixed a naming mistake (bugreport:7038).
* Edited format of default grf-files.txt.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-23 21:11:29 +00:00
momacabu
0b758eca8b * Implemented @breakguild (tid:75159) and @hommutate (tid:74651).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17038 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-23 20:23:03 +00:00
momacabu
684ef312cb Dammit! The last commit wasn't supposed to be sent -_-
* Use SCRIPT_MAX_ARRAYSIZE instead of hardcoded values in explode (bugreport:7037).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17037 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-23 19:01:35 +00:00
momacabu
e0dea40cce * Removed @adopt as it was not working properly (bugreport:6384);
* Introduced @refreshall, it will @refresh all players in-game.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17035 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-23 18:00:59 +00:00
momacabu
509e03fa58 Community Contribution Time!
* 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
2012-12-22 19:41:32 +00:00
markzd
7e433f00ff * Follow up: r16011
1. Fixed a behavior which didn't unlock target when it was out of range. (bugrepor:7022)
  2. Removed a redundant variable assignment.
* Follow up: r17029
  1. Fixed @clearcart which was not deleting and updating the client properly.
  
- Special thanks to clydelion, on the fixes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17033 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-20 17:32:49 +00:00
euphyy
b11c97a776 * Follow-up r17030: documented and added bMagicAtkEle to item_combo_db (bugreport:6943).
* Follow-up r17029: moved 'clearinventory' alias to atcommand_athena.conf.
* Custom Quest Shop updated to v1.5, which replaces categories with shop IDs.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17031 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-20 02:18:26 +00:00
markzd
7849887963 * Follow up r16676
1. Fixed a behavior which allowed devotion to be bypassed when the caster was under Reflect Damage Buff.
  2. Fixed the reflected magic damage to always hit the target and not the paladin when it's not reflected by kaite.

- Implemented bonus2 bMagicAtkEle which increases/decreases the caster magic damage based on its element.(bugreport:6943)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17030 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-20 01:03:42 +00:00
momacabu
b9e0b20eeb Implemented @clearstorage, @cleargstorage, @clearcart, @clearinventory (alias for @itemreset) as suggested in tid:70764.
For further details read the documentation in doc/atcommands.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17029 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-19 21:01:03 +00:00
rud0lp20
5ebe5a4b31 Fixed bugreport:7010 where r17014 missing status_change check that may cause map server crash.
Fixed bugreport:6953 where RK_WINDCUTTER don't have skill effect.
Fixed bugreport:6701 change RK_CRUSHTRIKE to self target skill.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17026 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-16 15:43:32 +00:00
momacabu
97018a0b98 Follow up to r17013, exit loop if found a warp near the player.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17023 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-15 02:09:42 +00:00
rud0lp20
5ae74bc50b Fixed bugreport:7007 where summoning elemental w/o SO_EL_SYMPATHY causes its HP/SP turns 0.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17022 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-14 15:26:33 +00:00
shennetsind
7478d1fbd0 HARRO WORLD. GUESS WHO.
- Follow up r16981
-- battle.c
--- Moved damage check up, so it doesn't waste time allocating all that stuff.
--- Moved t_race2 inside BF_WEAPON block (the only case that uses it)
-- status.h
--- Changed (struct) weapon_atk wlv from unsigned short to unsigned char, wlv is capped to REFINE_TYPE_MAX which doesn't get anywhere near UCHAR_MAX
- mempool.c
-- Temporarily disabled (yes, disabled in a very silly way) Sirius_Black's memory pool implementation, not only because its not currently being used, but because it spawns a new thread (and since its not being used, it wastes a thread and the memory it consumes).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-13 22:29:09 +00:00
markzd
29bf44b883 - Fixed a glitch which was causing some buffs to have more duration than intended.(bugreport:6606)
- Fixed a glitch, related to r16109, which caused some buffs to end prematurely.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-12 22:26:23 +00:00
markzd
0f07e788a4 - Follow up r17017, typo fix.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-12 03:24:37 +00:00
markzd
39a6e86b98 - Follow up r17004 & bugreport:6995, added safer calculation to strategic points at battle.c&status.c.
- Implemented reading of renewal exp_guild.txt. (tid:75398)
- Fixed Status Fogwall(Blinding Mist) to be reduced by status/card. (bugreport:4543)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-12 00:21:47 +00:00
rud0lp20
aa7031075c Happy Holidays and Happy 12/12/12 :)
Update Elemental summon to its official behavior
  - Fixed missing skill features of Ventus(bugreport:6792,bugreport:6723,bugreport:6511)
  - Note: upgrade_svn17014.sql
  - And other elemental skills are to follow :)
Fixed bugreport:6889 updated const.txt where it cause error to some items.
Fixed bugreport:6999 where matk damage deals miss atk to plant type targets.
Fixed status calculation where it doesn't give accurate result or how official calculation does.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-11 17:20:44 +00:00
momacabu
872c6bf810 Fixed bugreport:6483. NPCs with OnTouch in the same area of a Warp won't block player from being warped.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17013 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-09 22:14:19 +00:00
momacabu
781e7dfc1c * Use sv_readdb to read exp_guild.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-09 02:22:50 +00:00
momacabu
5f85afcfca * Small improvement in case someone uses logarithmic drops with 1x rate, saving 19.4ms on start in that case;
* Fixed bugreport:6606 (follow up to r16881), another issue regarding to dancing skills delay.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17011 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-09 00:46:08 +00:00