diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-13 15:04:11 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-13 15:04:11 +0000 |
commit | 78748079288acbd6e5fc7513baa70cf5b0a9a330 (patch) | |
tree | d2aada8ab9d3f91fbfd8f4453b527d5a1f1c13d9 /src/map/skill.c | |
parent | 802127420bf94a1f88696eb74feaf8917fa350cf (diff) | |
download | hercules-78748079288acbd6e5fc7513baa70cf5b0a9a330.tar.gz hercules-78748079288acbd6e5fc7513baa70cf5b0a9a330.tar.bz2 hercules-78748079288acbd6e5fc7513baa70cf5b0a9a330.tar.xz hercules-78748079288acbd6e5fc7513baa70cf5b0a9a330.zip |
- NPC_POWERUP now gives +40% atk per level.
- Water elementals can be frozen again.
- Fixed the sc_def equation in status_change_start
- Fixed an extra semi-colon that broke win32 compiles.
- Some rewriting of bounds checks in @baselvup, @joblvup and the # equivalents to prevent signed/unsigned comparisons.
- Now slaves give exp/loot (exception: player slaves still stick to the old rules)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5267 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 d10aaf4ea..cad5a3ce7 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -2306,7 +2306,7 @@ static int skill_timerskill(int tid, unsigned int tick, int id,int data ) int skill_addtimerskill(struct block_list *src,unsigned int tick,int target,int x,int y,int skill_id,int skill_lv,int type,int flag)
{
int i, max;
- unsigned short *count=NULL;;
+ unsigned short *count=NULL;
struct skill_timerskill *sts = NULL;
nullpo_retr(1, src);
switch (src->type) {
@@ -5062,7 +5062,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case NPC_POWERUP:
// +20% attack per skill level? It's a guess... [Skotlex]
- status_change_start(bl,SC_INCATKRATE,100,20*skilllv,0,0,0,skilllv * 60000,0);
+ status_change_start(bl,SC_INCATKRATE,100,40*skilllv,0,0,0,skilllv * 60000,0);
// another random guess xP
clif_skill_nodamage(src,bl,skillid,skilllv,
status_change_start(bl,SC_INCALLSTATUS,100,
|