diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-23 21:55:18 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-23 21:55:18 +0000 |
commit | 93109355b4f0b7dcbf9aa827716590df9cd3f9cd (patch) | |
tree | 9b670782315d89cc05b2584b8c439010078eb50d /src/map/skill.c | |
parent | eb0a137041d3a5ee6385762b8374e98b3867d5a0 (diff) | |
download | hercules-93109355b4f0b7dcbf9aa827716590df9cd3f9cd.tar.gz hercules-93109355b4f0b7dcbf9aa827716590df9cd3f9cd.tar.bz2 hercules-93109355b4f0b7dcbf9aa827716590df9cd3f9cd.tar.xz hercules-93109355b4f0b7dcbf9aa827716590df9cd3f9cd.zip |
- The NK value of the skill_db has been made a hexadecimal value, and expanded to include more information about a skill's damage properties: 0x8 - ignore caster's cards, 0x10 ignore element adjustments, 0x20 ignore target's defense, 0x40 ignore target's flee.
- Magic attacks always ignore flee, and misc attacks always ignore defense.
- Autoguard will no longer work on skills that don't take in card adjustments
- utsusemi & bunsinjyutsu no longer work on skills that don't take in card adjustments.
- Corrected damage of the NPC elemental attack skills, Blood Drain and Energy Drain
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9906 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 8a46abe2a..264a5b4a0 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -11195,7 +11195,7 @@ int skill_readdb (void) skill_db[i].hit=atoi(split[2]); skill_db[i].inf=atoi(split[3]); skill_db[i].pl=atoi(split[4]); - skill_db[i].nk=atoi(split[5]); + skill_db[i].nk=(int)strtol(split[5], NULL, 0); skill_split_atoi(split[6],skill_db[i].splash); skill_db[i].max=atoi(split[7]); skill_split_atoi(split[8],skill_db[i].num); |