diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-22 01:50:01 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-22 01:50:01 +0000 |
commit | c7950cde32b62d87728bca84d39902b21193ffc3 (patch) | |
tree | 9876da9d52e596855e98a04b6de753da9ef9301e /src/map | |
parent | 1ab8da3d02f841c0e74af10ecc60b63d5c13f5e2 (diff) | |
download | hercules-c7950cde32b62d87728bca84d39902b21193ffc3.tar.gz hercules-c7950cde32b62d87728bca84d39902b21193ffc3.tar.bz2 hercules-c7950cde32b62d87728bca84d39902b21193ffc3.tar.xz hercules-c7950cde32b62d87728bca84d39902b21193ffc3.zip |
Added GM Sandman Skill (part of bugreport:5172). now available thru angra manyu item.
- Causes target player, mob, homunculus or mercenary to enter in endless sleep state until cast again (logoff cancels).
- Cannot be cast on self
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15747 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 8b4db4435..d8772dca6 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8050,6 +8050,17 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in } break; + case GM_SANDMAN: + if( tsc ) { + if( tsc->opt1 == OPT1_SLEEP ) + tsc->opt1 = 0; + else + tsc->opt1 = OPT1_SLEEP; + clif_changeoption(bl); + clif_skill_nodamage (src, bl, skillid, skilllv, 1); + } + break; + default: ShowWarning("skill_castend_nodamage_id: Unknown skill used:%d\n",skillid); clif_skill_nodamage(src,bl,skillid,skilllv,1); |