diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-08 13:43:48 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-08 13:43:48 +0000 |
commit | 84f97d418a39f8c4d95757623a08fbd02196e5a2 (patch) | |
tree | 454f96684e4bf7f03a0786ccfe4590b2fa66c239 /src/map/skill.c | |
parent | 59aae2ed7a29f22b90bec24962e83d7a420dc4d1 (diff) | |
download | hercules-84f97d418a39f8c4d95757623a08fbd02196e5a2.tar.gz hercules-84f97d418a39f8c4d95757623a08fbd02196e5a2.tar.bz2 hercules-84f97d418a39f8c4d95757623a08fbd02196e5a2.tar.xz hercules-84f97d418a39f8c4d95757623a08fbd02196e5a2.zip |
- Moved attackedcount to md->state and made it an unsigned char.
- Autospell delay time is now the skill's full delay.
- Removed variable attackedplayers, since Aegis is state driven, the best approximation to Aegis would be to use the last player that hit the mob.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9436 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index ff75a71f9..3c13187d6 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -1455,7 +1455,7 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int //Set canact delay. [Skotlex] ud = unit_bl2ud(src); if (ud) { - rate = skill_delayfix(src, skill, skilllv)/2; + rate = skill_delayfix(src, skill, skilllv); if (DIFF_TICK(ud->canact_tick, tick + rate) < 0) ud->canact_tick = tick+rate; } @@ -1625,7 +1625,7 @@ int skill_counter_additional_effect (struct block_list* src, struct block_list * //Set canact delay. [Skotlex] ud = unit_bl2ud(bl); if (ud) { - rate = skill_delayfix(bl, skillid, skilllv)/2; + rate = skill_delayfix(bl, skillid, skilllv); if (DIFF_TICK(ud->canact_tick, tick + rate) < 0) ud->canact_tick = tick+rate; } |