summaryrefslogtreecommitdiff
path: root/src/map/status.c
AgeCommit message (Collapse)AuthorFilesLines
2009-03-18- Implemented new item and bonuses for Kreiger Von Midgard rewards.zephyrus1-1/+12
* Execute script on skill (bonusautoscript3) * Add effect on skill (bAddEffOnSkill) * Execute skill on skill (bAutoSpellOnSkill) - Fixed some boxes Rental time according to item descriptions. - Implemented SC_ITEMSCRIPT, a status that gives you temporally the effect of an item. Check items 14597 to 14605 if you want to get the idea. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-08* Fixed a couple bugs with marionette controlultramage1-130/+34
- Reduces caster max hp by 1000. - Job and Equipment bonuses counts toward the 99 limit. - Fixed stat overflow on baby targets with stats over 80 (bugreport:2232). - Fixed clowns being able to cast it on another bard/clown (same for gypsy/dancer) (bugreport:166). - Caster is no longer blocked from using items. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-26- Fixed item Nemesis.zephyrus1-14/+18
- Fixed Tarot Card being used on Emperium. - First Part of BattleGround Implementation (please wait). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-25- Implemented new Pet Bonus System. Enjoy!! :Dzephyrus1-7/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-25- Implemented new item bonus scripts required for battlegrounds.zephyrus1-9/+25
- Battlegrounds items rewards for Tierra Valley and Flavius done (but autoscript rate is suggested - 5%). - Restricted trade/storage/drop for those items. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-24* Changed all uses of struct skill_unit_group* to group_id in ↵FlavioJS1-4/+4
status_change_entry's. (last known 64bit portability issue) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13482 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-22* Changed val4 of SC_BLADESTOP from a block_list pointer to an id. (64bit ↵FlavioJS1-4/+6
portability issue and potential dangling pointer crash) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-20- Added support for item effect Ignore Def Rate by Race. bonus2 ↵zephyrus1-0/+1
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13457 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-12Added regen_db to reduce hp/sp processing delays (bugreport:2256).ultramage1-4/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-18* Corrected a target checking problem brought about with Kaizel/Osiris ↵sketchyphoenix1-1/+1
combination. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13308 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-12Fixed silly assignment operator mistake in r13281.ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13285 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-11* Using Kaizel in conjunction with Osiris Card should now work. (bugreport:2251)sketchyphoenix1-1/+5
* #monsterignore should turn off properly now. (bugreport:2306) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13281 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-11Code improvement for r13279.ultramage1-3/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13280 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-11Going 90% overweight will now make you stop attacking (bugreport:2315).ultramage1-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13279 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-10Slightly corrected the NPC_REBIRTH code from r13272.ultramage1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-09Updated NPC_REBIRTH. Has it's own values, and no longer leeches off SL_KAIZEL.L0ne_W0lf1-1/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-06SC_WEIGHT50 and 90 are no longer removed on death. (bugreport:2316)L0ne_W0lf1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13262 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-04Fixed NPC_REBIRTH not working if the caster had no status active at the ↵ultramage1-3/+0
moment of death. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13258 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-01* Rev. 13251 Removed 'casttime' adjustment from offensive ressurection. ↵L0ne_W0lf1-2/+1
Follow up to r13225. * Kaahi will now override override higher existing levels previously casted. (bugreport:2296) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-10- Full implementation of mercenary skills.zephyrus1-72/+133
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13203 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-02- Implementing a correct update of mercenary status window on status change ↵zephyrus1-31/+51
updates. - Fixed Mercenary Heal is reduced 50%. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01- Supportive Skill Behavior for Mercenaries:zephyrus1-9/+9
* 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13184 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01- More code for mercenaries and starting work on restrictions.zephyrus1-1/+22
* Heal and Sanctuary skills have their effectiveness on mercenaries reduced by 50%. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13183 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01- Mercenary Bonus Status (currently activated each mob kill for testing).zephyrus1-24/+96
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-31- Implemented script commands for mercenary items (mercenary_heal and ↵zephyrus1-0/+1
mercenary_sc_start). - Fixed a bug crashing server with mercenary. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13159 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-31* More mercenary updates.zephyrus1-2/+4
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13158 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-25quick compilation fix to r13130ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13131 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-25Last commitshadow1-6/+7
Fixed homun sp regen bug introduced on r12953 bugreport:2071 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13130 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-24- Moving all content of Homunculus code to a proper file Homunculus.c/hzephyrus1-0/+1
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13122 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-24- Implemented unit_calc_pos (copy from pet_calc_pos) to implement it on ↵zephyrus1-19/+59
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13121 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-23- Mercenary Packets (Server to Client). Still need a little more info.zephyrus1-1/+23
- Packet for Mercenary Menu. - Some other progress as creation but need more code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13116 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-21- Big update to Basilica, implementing official behavior.zephyrus1-12/+0
* 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20- More cleanup of Barricades (final i think)zephyrus1-1/+2
- Fixed a bug, missing sizeof(add_steal_rate). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13100 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09Really implemented SC_WALKSPEED (instead of copy-pasting old code) (followup ↵ultramage1-1/+1
to r13039) - the modifier is now a percentual value - a higher modifier now means faster speed, not slower git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-04- Killed mobs with NPC_REBIRTH skill used should not drop items again. ↵zephyrus1-1/+6
(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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13047 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-03Re-implemented SC_WALKSPEED (used in npc scripting) according to official ↵ultramage1-0/+2
sources (followup to r13037). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31Quagmire now will affect boss monsters, but more info is required to code ↵shadow1-1/+0
the debuff exceptions properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13028 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29- Fixed a bug with Status Resist Potion.zephyrus1-1/+1
- Fixed double char data save on quit with storage opened. BugReport 1794. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13013 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29Renamed struct 'skill' to 's_skill' to remove naming collisions.ultramage1-1/+1
Added defines for mercenary skill ranges. Added a mapping of mercenary skills to the skill db (700-799 atm). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26- Implemented official Convex Mirror (With help of Yomanda and Sirius White)zephyrus1-1/+45
- Fixed SC_WARN don't receiving reflecting damage (Bug Report 1854). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-14* Corrected compiler warning and error made from r12959 and r12953, ↵sketchyphoenix1-1/+1
respectively. [SketchyPhoenix] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-14Made homunculi have doubled regen rates (they regen twice as fast) defined ↵shadow1-0/+6
on battle configs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07First attempt at implementing the official walk speed systemultramage1-132/+123
* 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07Small cleanup of leftover Grimtooth data (followup to r12917)ultramage1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-06* Slight cleanup of item-based walk speed bonusesultramage1-7/+3
- removed bSpeed bonus code (was just disabled until now) - changed speed_rate to use base value 0% instead of 100% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-03Adjusted Free Cast code so that its walk penalty gets calculated in ↵ultramage1-47/+6
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-03Fixes regarding bugreport:1727 (undead element/race skill behaviors) follow ↵shadow1-3/+3
up on revisions r12820 r12821 and r12822 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12903 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-29- Added support to Cash Shop for script command callshopzephyrus1-1/+1
- Fixed a bug in OnTouchNPC - Cleanup in barricade code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12896 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-24Cleaned up unconditional calls to status_change_end().ultramage1-104/+54
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-14Fixed PF_FOGWALL working on Boss monsters.shadow1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12832 54d463be-8e91-2dee-dedb-b68131a5f0ec