skotlex
1b0b8a393a
- Fixed mob-casted demonstration/quagmire being affected by the gvg_traps_all config setting.
...
- Moved the gvg_traps_target_all config from guild.conf to skill.conf
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5568 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 21:30:17 +00:00
skotlex
dd2012602d
- Cleaned up the Skillbreaker implementation, HP gaining happens at level 5 now.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5567 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 21:11:45 +00:00
skotlex
60d11ae90c
- Increased the range for unlocking out of Close confine.
...
- Reverted some changes in cbasetypes.h which actually broke compilation.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 20:18:40 +00:00
skotlex
5f8c670ba3
- Added a few dummy times in skill_cast_db for some GS skills.
...
- Autoskills now won't trigger on maps where said skill are not allowed.
- Some compilation warning fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 19:26:56 +00:00
skotlex
8fe81d12a3
- Changed div behaviour. Skills with div above zero will get their total damage increased by the number of hits, div less than zero is just for "show", total number of hits displayed is abs(div), but damage isn't increased by number of hits.
...
- Adjusted several skill damage equations to make up for this.
- Moved the Shield Chain soul-linked bonus to the second layer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 18:16:47 +00:00
blackhole89
f92652ee92
GS_MAGICALBULLET implementation: declaring variables after case: without defining a block of {}, using something weird called atn_rand(something) instead of just rand. Fixed.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5563 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 16:54:18 +00:00
blackhole89
82fec3e7e0
missing } near line 449
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 16:45:46 +00:00
Vicious
6a9cccbf46
some ninja/gs work
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 15:58:22 +00:00
skotlex
bc1362c571
- Cleaned-up the random item reading routine. Fixed a overflow bug when one of the files has too many random items.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 15:07:13 +00:00
Lance
71fc431888
* Fixed a variable loopback problem on NPC shop price checking routine.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5559 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 14:28:08 +00:00
skotlex
01cf48cd39
- Fixed a memory overwrite crash on pc_readdb, thanks to foobar.
...
- Fixed only the first TK stance triggering when you have multiple of them active.
- Default of skill_attack_enable changed to yes.
- Fixed a compiler error in some ninja skill that only triggers on windows or c++ compilers.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 13:35:11 +00:00
skotlex
36d4464315
- Fixed the linked bard/dancer skills toggling with each call to pc_calc_status
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 00:20:36 +00:00
skotlex
f1a58a1ae9
- Fixed a bug in the pc_skillreset function.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5543 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 23:23:43 +00:00
skotlex
9ca89d4cdc
- Some small cleanups in mob_read_mobavail (or however it is named)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 21:33:39 +00:00
Vicious
458a75780e
fixing max_weapon_size
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 21:02:48 +00:00
blackhole89
e9ec45a43c
MAX_WEAPON_TYPE was used with less-than during loading, thus causing the weapon class MAX_WEAPON_TYPE not being read in. Additionally, aspd_base was too small (MAX_WEAPON_TYPE rather than MAX_WEAPON_TYPE+1), thus causing out-of-bounds memory access each time it was used. I wonder why nobody noticed that yet.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5540 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 20:51:19 +00:00
blackhole89
a2a0e1e323
only the first 22 CSVs were read in, but MAX_WEAPON_TYPE+5 was 27 -> uninitialized array indices got atoi'd
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 20:26:45 +00:00
skotlex
ffea309d01
- Now you can't raise levels on an acquired skill when that skill is currently an acquired skill.
...
- Fixed pc_damage_sp not properly substracting SP.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5537 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 19:48:50 +00:00
skotlex
8309da5f58
- Made Magic Crasher a BF_WEAPON attack.
...
- Made skill_unit_range a per-level setting. meteor and Lov now have their unit range adjusted in the skill_unit_db rather than hardcoded.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 19:14:21 +00:00
Vicious
c4d6af569a
more ninja/gs update
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5535 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 18:39:57 +00:00
blackhole89
1f037dd750
There go the status icons.
...
What is SI_MAEMI? Or rather, the icon in i_maemi.tga.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5534 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 17:15:36 +00:00
skotlex
26374a61c1
- Moved a bunch of sc_effects that should be cancelled on hit from mob_damage/pc_damage to battle_damage.
...
- Changed ITEM_NAME_LENGTH to 50.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5533 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 16:54:36 +00:00
skotlex
f1231f7723
- Fixed stun's duration not getting reduced by vit + luk/3
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 15:25:57 +00:00
skotlex
1a023c8a7c
- Fixed #itemlist not taking into consideration crafted/forged items and pet eggs. Cleaned up a bit the function as well.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 14:42:51 +00:00
Vicious
d574e42132
partial SC work. it doesn't break, but it doesn't work either.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5529 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 09:14:11 +00:00
Vicious
ae8573f399
* included MAX_WEAPON_SIZE for flexible weapon types
...
* more ninja/GS work
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 05:43:51 +00:00
skotlex
d29bdd1949
- Fixed a bug that was making the no_spawn_on_player setting useless.
...
- Added Deadly Poison and Bleeding to status_get_sc_def, meaning that now vit does increases defense against being inflicted from it.
- Fixed a crash and an infinite loop in @whodrops @.@
- Expanded the item_db column sizes for the names to 50.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 04:05:48 +00:00
Vicious
a3d320f902
more skill fix.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 00:56:11 +00:00
Vicious
ab4248e6b8
Some more skill fix.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 19:43:20 +00:00
skotlex
3eb48e92a4
-pc_jobid2mapid and pc_mapid2jobid now return int, and will return -1 when the class couldn't be deciphered.
...
- pc_authok will change you to notice if your current class is invalid.
- rewrote pc_jobchange to be much more simple and less of a hassle by using pc_jobid2mapid and pc_mapid2jobid as necessary.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 19:16:56 +00:00
skotlex
4a5e8159d1
- Mobs will now chase you even if you hit them from outside their range of view.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 18:00:19 +00:00
skotlex
2e340d40e0
- Fixed item disappearing from the floor when you attempted to pick it up and there was no room in your inventory.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5517 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 16:56:52 +00:00
Vicious
f36f60be04
nj/gs skill update
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5516 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 16:37:58 +00:00
skotlex
a2797c2755
- Items now store the top MAX_SEARCH drops from mobs and lists them through the new atcommand @whodrops. All merged from my server, of course =D
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5515 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 16:03:28 +00:00
Vicious
10f9078ab9
some skill check condition
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5514 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 15:43:04 +00:00
skotlex
fbda66933a
- Added functions mobdb_searchname_array and itemdb_searchname_array which return an array of matches.
...
- Modified @iteminfo and @mobinfo to search and display various matches instead of just one.
- Constant MAX_SEARCH in map.h defines the max size of search results.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5512 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 15:16:48 +00:00
Vicious
d4e9bcf863
fixed compile issue. fixed ninja issues.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 05:52:55 +00:00
Vicious
d2a34c42cc
some NJ/GS fix.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5509 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 05:18:46 +00:00
Vicious
598056945a
@job ninja/gs.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 02:31:16 +00:00
Vicious
a5b79a35cf
work jobchange. WORK! T_T
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5505 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 23:39:11 +00:00
Vicious
934151fee6
some random battle.c edit. /ho
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 23:16:05 +00:00
Vicious
14fe678320
mapid of ninja/gs
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5502 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 21:53:57 +00:00
skotlex
fad5deaa7b
- Added a check that forces self skills to cast on yourself in skill_use_id
...
- Skills with INF_SELF_SKILL + INF2_NO_TARGET_SELF are now "combo" skills in the sense they auto-select your attack target, and do not stop your attacking animation. Attackable time by default is adjusted by amotion.
- Gospel won't start taking effect until after 10 secs have passed.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5501 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 21:31:01 +00:00
Vicious
396e392fd0
more ground work for ninja/GS
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 21:11:54 +00:00
blackhole89
9e4fc7611b
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5496 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 20:39:28 +00:00
skotlex
0078db6a30
- Some overflow protections on calculation of max hp. Now when max hp becomes negative, it is bumped to the server's max_hp setting (it is assumed there was an overflow)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 19:59:57 +00:00
Vicious
3075eeeca6
@job ninja/gunslinger. you need latest exe
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 17:08:41 +00:00
skotlex
39b2650cf0
- skill_blown flag&0x40000 now knocks back in a random direction.
...
- Some small cleanups to prevent skill_blown execution when the distance is 0 or the target couldn't be knocked back.
- WZ_STORMGUST now knocks back on a random direction.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 17:06:15 +00:00
skotlex
223025ffd0
- Some code-speedups on reading the skill-requirements in skill_check_condition.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5482 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 13:51:42 +00:00
skotlex
445fa07fa2
- Some corrections due to the guild skill position change.
...
- Removed file todo-for-stable as it's impossible to keep it updated :X
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5479 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 04:15:39 +00:00