
- Changed setting for skill_nocast flag 16. It is no longer a "pk-mode map" setting, it's now a clone-forbidden skill. That is, skills with the flag 16 will never be copied by clones. If you use a PK-mode server, use flag 2 now to forbid skills from common maps. - Default skills from not being cloned are Magnus Exorcism and Turn Undead. - The map search free cell will now use the size of the map # of tries before giving up when the spawn area is the whole map. Added a check to inmediately give up when the number of spawn retries has reached the max specified (no_spawn_onplayer = 100). - Cleaned up a bit the clone code to account for the unit flags UF_NOPC/UF_NOMOB when the skill is not ground-based (accounts for self skill that causes a ground-tile to be placed, like Dances). git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7315 54d463be-8e91-2dee-dedb-b68131a5f0ec
59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
// Forbidden Skills Database
|
|
//
|
|
// Structure of Database:
|
|
// SkillID,Flag
|
|
//
|
|
// Legend for 'Flag' field (bitmask):
|
|
// 1 = Cannot be used in normal maps
|
|
// 2 = Cannot be used in PvP maps (use this instead of 1 for PK-mode servers)
|
|
// 4 = Cannot be used in GvG maps
|
|
// 8 = Cannot be used when WoE is on
|
|
// 16 = Cannot be cloned (clones will not copy this skill)
|
|
// Restricted zones - they're configured by 'restricted <number>' mapflag
|
|
// 32 = Cannot be used in zone 1 maps
|
|
// 64 = Cannot be used in zone 2 maps
|
|
// 128 = Cannot be used in zone 3 maps
|
|
// 256 = Cannot be used in zone 4 maps
|
|
// 512 = Cannot be used in zone 5 maps
|
|
// 1024 = Cannot be used in zone 6 maps
|
|
// 2048 = Cannot be used in zone 7 maps
|
|
|
|
//
|
|
// Example:
|
|
// 8,6 = Endure cannot be used in PvP and GvG maps (2+4)
|
|
|
|
//GVG
|
|
26,4 //AL_TELEPORT
|
|
27,4 //AL_WARP
|
|
87,4 //WZ_ICEWALL
|
|
150,4 //TF_BACKSLIDING
|
|
361,4 //HP_ASSUMPTIO
|
|
362,4 //HP_BASILICA
|
|
491,4 //CR_CULTIVATION
|
|
|
|
//mixed
|
|
488,3 //CG_HERMODE
|
|
|
|
//Clone Forbidden/pointless skills
|
|
77,16 //PR_TURNUNDEAD
|
|
79,16 //PR_MAGNUS
|
|
|
|
//Zone 1 - Aldebaran Turbo Track
|
|
219,32 //Snatch
|
|
26,32 //Teleport
|
|
27,32 //Warp portal
|
|
51,32 //Hiding
|
|
135,32 //Cloaking
|
|
389,32 //Stealth
|
|
35,32 //Cure
|
|
87,32 //Ice Wall
|
|
359,32 //Berserk (Frenzy)
|
|
362,32 //Basilica
|
|
395,32 //Sheltering Bliss
|
|
357,32 //Spear Dynamo (Concentration)
|
|
|
|
//Zone 2 - Jail
|
|
421,64 //TK_JUMPKICK#Flying Side Kick#
|
|
426,64 //TK_HIGHJUMP#Taekwon Jump#
|
|
|