summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-31 14:44:39 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-31 14:44:39 +0000
commit78dc57282718e52985aac7b569e705200b64bd80 (patch)
tree306247eac9ce53bf92ed82827bc44415abacab5b /src/map/mob.c
parentf4d04712b8383d5540f3178320af47de5486786b (diff)
downloadhercules-78dc57282718e52985aac7b569e705200b64bd80.tar.gz
hercules-78dc57282718e52985aac7b569e705200b64bd80.tar.bz2
hercules-78dc57282718e52985aac7b569e705200b64bd80.tar.xz
hercules-78dc57282718e52985aac7b569e705200b64bd80.zip
- Fixed being able to Encore skills you no longer have in your tree.
- Added no HP regen while Bleeding, -25% ATK and ASPD penalties as well. - Added VIT reduces duration of confusion. - Added MSC_SPAWN "onspawn" mob skill condition. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5136 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index cf7791127..17292fc85 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1164,6 +1164,7 @@ int mob_spawn (int id)
clif_spawnmob(md);
+ mobskill_use(md, tick, MSC_SPAWN);
return 0;
}
@@ -4516,6 +4517,7 @@ static int mob_readskilldb(void)
{ "masterhpltmaxrate",MSC_MASTERHPLTMAXRATE },
{ "masterattacked", MSC_MASTERATTACKED },
{ "alchemist", MSC_ALCHEMIST },
+ { "onspawn", MSC_SPAWN},
}, cond2[] ={
{ "anybad", -1 },
{ "stone", SC_STONE },