757 Commits

Author SHA1 Message Date
FlavioJS
e3d5e89496 * Changed val4 of SC_BLADESTOP from a block_list pointer to an id. (64bit portability issue and potential dangling pointer crash)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-22 09:37:47 +00:00
zephyrus
551e20a850 - Added support for item effect Ignore Def Rate by Race. bonus2 bIgnoreDefRate,<race>,<%>;
- Added support for item status effects on skills. bonus3 bAddEff,<sc_effect>,<rate>,ATF_SKILL;
- Update to battleground equipment.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13457 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-20 02:19:05 +00:00
ultramage
b80a8cdc87 Added regen_db to reduce hp/sp processing delays (bugreport:2256).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-12 14:26:33 +00:00
sketchyphoenix
c8ee515fed * Corrected a target checking problem brought about with Kaizel/Osiris combination.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13308 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-18 21:17:34 +00:00
ultramage
ec583fcd36 Fixed silly assignment operator mistake in r13281.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13285 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-12 12:25:53 +00:00
sketchyphoenix
0a9fb059bb * Using Kaizel in conjunction with Osiris Card should now work. (bugreport:2251)
* #monsterignore should turn off properly now. (bugreport:2306)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13281 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-11 11:34:28 +00:00
ultramage
7f73f8e594 Code improvement for r13279.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13280 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-11 11:10:04 +00:00
ultramage
19aebb455c Going 90% overweight will now make you stop attacking (bugreport:2315).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13279 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-11 10:23:35 +00:00
ultramage
494f00e4fb Slightly corrected the NPC_REBIRTH code from r13272.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-10 10:06:05 +00:00
L0ne_W0lf
5f19f788b4 Updated NPC_REBIRTH. Has it's own values, and no longer leeches off SL_KAIZEL.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-09 17:21:32 +00:00
L0ne_W0lf
5094741787 SC_WEIGHT50 and 90 are no longer removed on death. (bugreport:2316)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13262 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-06 11:26:24 +00:00
ultramage
743c6d45eb Fixed NPC_REBIRTH not working if the caster had no status active at the moment of death.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13258 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-04 11:01:24 +00:00
L0ne_W0lf
850cf0d038 * Rev. 13251 Removed 'casttime' adjustment from offensive ressurection. Follow up to r13225.
* Kaahi will now override override higher existing levels previously casted. (bugreport:2296)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-01 11:21:49 +00:00
zephyrus
2513d01bee - Full implementation of mercenary skills.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13203 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-10 14:30:25 +00:00
zephyrus
ef61b07219 - Implementing a correct update of mercenary status window on status change updates.
- Fixed Mercenary Heal is reduced 50%.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-02 16:29:29 +00:00
zephyrus
5ee4ef95e0 - Supportive Skill Behavior for Mercenaries:
* Endow skills such as Aspersio and the 4 sage endows can only be cast on the mercenary if they are the master.
* Aid Potion does not currently work on mercenaries.
* Lex Aeterna only doubles damage of regular attacks. Skill damage from mercenaries are not doubled.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13184 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01 23:14:35 +00:00
zephyrus
c562d05efc - More code for mercenaries and starting work on restrictions.
* Heal and Sanctuary skills have their effectiveness on mercenaries reduced by 50%.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13183 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01 22:19:18 +00:00
zephyrus
3d3946138a - Mercenary Bonus Status (currently activated each mob kill for testing).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01 19:23:57 +00:00
zephyrus
f0439c9f56 - Implemented script commands for mercenary items (mercenary_heal and mercenary_sc_start).
- Fixed a bug crashing server with mercenary.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13159 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-31 21:05:35 +00:00
zephyrus
908c3d2e86 * More mercenary updates.
- Implemented Mercenary Die, Damage, Run Away when master dies.
- Log mercenary damage and gives exp to Master.
- Some little bugs.
* Fixed Bubble Gums effect works on mvp_sd not sd (according to Doddler).

NOTE: Now you can summon a mercenary, make it attack (not skills), follow you even on map change.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13158 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-31 18:37:00 +00:00
ultramage
4fcdf96f2a quick compilation fix to r13130
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13131 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-25 10:05:37 +00:00
shadow
b75838a07b Last commit
Fixed homun sp regen bug introduced on r12953 bugreport:2071

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13130 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-25 09:55:22 +00:00
zephyrus
c5cc2257d3 - Moving all content of Homunculus code to a proper file Homunculus.c/h
- Update of all project files.

NOTE: All functions on homunculus.c should be renamed i think, to remove all the merc_*.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13122 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-24 15:00:26 +00:00
zephyrus
d650043597 - Implemented unit_calc_pos (copy from pet_calc_pos) to implement it on Mercenary/Homunculus and don't use x,y-1 always.
- Implemented Mercenary walk to master (same packet as Homunculus).
- Starting work on Stats but i will need lot of help.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13121 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-24 13:33:36 +00:00
zephyrus
1204fd49db - Mercenary Packets (Server to Client). Still need a little more info.
- Packet for Mercenary Menu.
- Some other progress as creation but need more code.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13116 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-23 13:09:50 +00:00
zephyrus
c6af5ab8d5 - Big update to Basilica, implementing official behavior.
* Basilica caster cannot walk.
* On Basilica area, only caster can use Basilica again to stop it.
* On Basilica no one can use skills. (Previous bug on eA because you can use support skills on it, also caster).
* Only Pressure can bypass Basilica protection.
* Any enemy of the caster bounce 2 cells back from basilica, except Boss type. (Bugreport 2099).
* Any monster can target you on basilica and try to attack you, also with skills, but damage is reduced to 0, except Boss.

Notes:
- Basilica Cell stuff is not used anymore... is it required?
- Still need to add a check previous to cast basilica because if there are mobs, items, npcs, walls, skills around the caster (7x7 i think) the skill should fail.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-21 20:38:32 +00:00
zephyrus
ab500d3207 - More cleanup of Barricades (final i think)
- Fixed a bug, missing sizeof(add_steal_rate).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13100 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20 20:08:00 +00:00
ultramage
5dbe0c1b4b Really implemented SC_WALKSPEED (instead of copy-pasting old code) (followup to r13039)
- the modifier is now a percentual value
- a higher modifier now means faster speed, not slower

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09 19:36:52 +00:00
zephyrus
b19fbe57bc - Killed mobs with NPC_REBIRTH skill used should not drop items again. (Aegis test)
- Monsters with SC_KAIZEL should not trigger event script until.
- Monsters NPC_REBIRTH should not be casted if no source (killmonster script or @killmonster)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13047 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-04 21:44:43 +00:00
ultramage
16cc8d8a9f Re-implemented SC_WALKSPEED (used in npc scripting) according to official sources (followup to r13037).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-03 16:43:44 +00:00
shadow
414c0f41e2 Quagmire now will affect boss monsters, but more info is required to code the debuff exceptions properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13028 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 22:49:09 +00:00
zephyrus
9edfef4924 - Fixed a bug with Status Resist Potion.
- Fixed double char data save on quit with storage opened. BugReport 1794.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13013 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29 10:31:41 +00:00
ultramage
582c36c11e Renamed struct 'skill' to 's_skill' to remove naming collisions.
Added defines for mercenary skill ranges.
Added a mapping of mercenary skills to the skill db (700-799 atm).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29 08:19:07 +00:00
zephyrus
d48a482180 - Implemented official Convex Mirror (With help of Yomanda and Sirius White)
- Fixed SC_WARN don't receiving reflecting damage (Bug Report 1854).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26 11:13:39 +00:00
sketchyphoenix
da66cd1d32 * Corrected compiler warning and error made from r12959 and r12953, respectively. [SketchyPhoenix]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-14 06:29:35 +00:00
shadow
f17b22e948 Made homunculi have doubled regen rates (they regen twice as fast) defined on battle configs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-14 04:47:29 +00:00
ultramage
d40b9b93d4 First attempt at implementing the official walk speed system
* separated speed modifiers into bonuses, penalties and other statuses
 * no bonuses stack, instead the maximum is taken
 * no penalties stack, instead the maximum is taken
 * Union, Riding and Pushcart are the only other statuses that stack
 * both bonuses and penalties are linear modifiers of the base walk speed
 * 'other' statuses are applied after bonuses and penalties

Changed many equations to match official walk speed system
 * Steel Body now sets a fixed walk speed of 200 (bypassing everything else)
 * Defender now caps the walk speed to a minimum of 200
 * Slow Grace now uses official equation for aspd/walk speed decrease
 * Pushcart's speed penalty is now halved
 * Free Cast now changes walk speed to a fixed value, bypassing bonuses and penalties
 * Wedding clothes now have a penalty of +100%, not +200%
 * rogue's Tunnel Drive and stalker's Chasewalk ignore all penalties
 * taekwon's Running is now 5% faster
 * Frenzy is now 5% faster
 * Gospel's offensive slowdown is now +75% instead of +33%
 * Quagmire now slows down by +50% instead of +100%
 * Gatling Fever now slows down by +100% instead of +33%
 * Cloaking modifier is now a bonus/penalty, depending on presence of wall
 * Longing for Freedom overrides the song/dance penalty (bugreport:416)
 * Bard/Dancer Spriit now properly affects song/dance penalty (bugreport:1019)
 * item-granted speedup no longer stacks with speed bonuses (topic:145019)
 * removed some status code that pre-calculated speed bonuses/penalties, to make calculations more localized and less messy (see song/dance code)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07 11:40:57 +00:00
ultramage
1df733fb4b Small cleanup of leftover Grimtooth data (followup to r12917)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07 08:03:30 +00:00
ultramage
0c9d9f5a48 * Slight cleanup of item-based walk speed bonuses
- removed bSpeed bonus code (was just disabled until now)
- changed speed_rate to use base value 0% instead of 100%

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-06 03:46:00 +00:00
ultramage
8d6505fdee Adjusted Free Cast code so that its walk penalty gets calculated in status_calc_speed and nowhere else.
Removed aspd penalty from Free Cast since tests show it's not there, even though RO sites claim it is.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-03 03:24:58 +00:00
shadow
901d311735 Fixes regarding bugreport:1727 (undead element/race skill behaviors) follow up on revisions r12820 r12821 and r12822
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12903 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-03 02:18:44 +00:00
zephyrus
fc312a5088 - Added support to Cash Shop for script command callshop
- Fixed a bug in OnTouchNPC
- Cleanup in barricade code.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12896 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-29 15:16:51 +00:00
ultramage
39c437346f Cleaned up unconditional calls to status_change_end().
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-24 14:23:15 +00:00
shadow
09e7cb0515 Fixed PF_FOGWALL working on Boss monsters.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-14 11:49:07 +00:00
shadow
491d146d39 Fixed Grandcross and darkgrandcross, should only cause blind against undead race.
Also confirmed that ME, evil land, sanctuary, grandcross/DGC and status recovery are versus element, not race.
Removed confusion effect part from AL_CURE, it doesnt work on official anymore.
Partial revert of signum crucis modification, it doesnt work against players, but work on ELEMENT undead monsters.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-13 13:22:36 +00:00
shadow
a80253d14f Fixed some skills working on undead element when they were supposed to work on undead race.
Skills Fixed: GrandCross, Dark GrandCross, Cure, Head Crush, Signum Crusis, Blessing, Demons Bane, Divine Protection.
Skills needing confirmation: Magnus Exorcismus, Evil Land, Sanctuary, Status Recovery.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-13 11:39:13 +00:00
ultramage
4517a5c8e2 Swapped the weapon type IDs of Shotgun and Gatling Gun weapons to match aegis.
Added Mace Mastery bonus to 2handed maces, and made them unbreakable.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 17:01:29 +00:00
shadow
f292935743 Fixed PF_DOUBLECASTING casting % bugreport:140
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 03:00:00 +00:00
shadow
69089d210e Fixed a few properties of NPC_CHANGEUNDEAD bugreport:79
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12763 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 02:52:03 +00:00
zephyrus
5c7a1807e4 - Added support for OnTouchNPC event, required for Monster Race. Script commands need to be tested. Already tested sc_start.
- Added status SC_WALKSPEED required in monster Race.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-02 15:54:50 +00:00