Jump to content

Recommended Posts

Posted

This is my first source mod, it allows you to disable multiple items/skills on maps.

<mapa> [TAB] mapflag [TAB] <mapflag> [TAB] <param>,<param>,...

NOITEM:

param:

item id = Only disables item id

1 = Disables all consumable items

2 = Disables and takes off all equipments

4 = Disables all card effects

Example:

prontera mapflag noitem 1222,501,503,505,4001,4033 // Damascus, red, yellow and blue potions disabled, Poring and Poporing cards won't work
geffen mapflag noitem 4,1 // All consumable items are disabled, no card effects.
izlude mapflag noitem 5 // The same as above (4+1)

NOSKILL2:

param:

skill id = Disables the specified skill.

Example:

prontera mapflag noskill2 243,8016 // Can't use "Call Homunculus" and Vanilmirth's "Bio Explosion" skills
geffen mapflag noskill2 83,89,85 // Can't use "Storm Gust", "Meteor Storm" and "Lord of Vermillion"

Mirror: http://paste.pocoo.org/raw/557974/

noitemnoskill.patch

  • Upvote 3
Posted (edited)

wow thanks will be useful :P

Ms. Wynn can you also do a Global one? that makes all item/usable not to work?

Sorry my bad wasn't reading the Function /hmm works for All too /no1

Thanks works perfectly /thx

Edited by ngek202
  • 2 weeks later...
  • 2 weeks later...
Posted (edited)

thanks for sharing. but first param of noskill2 mapflag wont work.

Ex.

prontera mapflag noskill2 243

Skill with ID 243 will work in prontera...

i must add it else:

prontera mapflag noskill2 243,243
Edited by Lilith
  • 3 weeks later...
Posted (edited)

Thanks very much for creating this, I was super happy when search actually yielded a return on this xP Now to just get it working >.<

Edited by Lige
Posted

thanks for sharing. but first param of noskill2 mapflag wont work.

Ex.

prontera mapflag noskill2 243

Skill with ID 243 will work in prontera...

i must add it else:

prontera mapflag noskill2 243,243

Confirm this problem and some skill can work in mapflag

eg. vending skill

Posted

This is my first source mod, it allows you to disable multiple items/skills on maps.

<mapa> [TAB] mapflag [TAB] <mapflag> [TAB] <param>,<param>,...

NOITEM:

param:

item id = Only disables item id

1 = Disables all consumable items

2 = Disables and takes off all equipments

4 = Disables all card effects

Example:

prontera mapflag noitem 1222,501,503,505,4001,4033 // Damascus, red, yellow and blue potions disabled, Poring and Poporing cards won't work
geffen mapflag noitem 4,1 // All consumable items are disabled, no card effects.
izlude mapflag noitem 5 // The same as above (4+1)

NOSKILL2:

param:

skill id = Disables the specified skill.

Example:

prontera mapflag noskill2 243,8016 // Can't use "Call Homunculus" and Vanilmirth's "Bio Explosion" skills
geffen mapflag noskill2 83,89,85 // Can't use "Storm Gust", "Meteor Storm" and "Lord of Vermillion"

where i put this???

  • 3 months later...
Posted

Does it work with the newest SVN ?

I only get an Error:

pc.c:877: error: 'nameid' undeclared (first use in this function)
pc.c:877: error: (Each undeclared identifier is reported only once
pc.c:877: error: for each function it appears in.)
pc.c: In function 'pc_equipitem':
pc.c:7924: error: 'calc_flag' undeclared (first use in this function)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...