Jump to content
  • 0

Pkserver skill/item usage


Antares

Question


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  420
  • Reputation:   89
  • Joined:  01/30/12
  • Last Seen:  

Hi!

We have the problem, that some skills/items can be only used on normal fields and some can be used in pvp environment.

The problem is that as soon as you turn pkserver on, it mixes everything. Skills that are usable only on normal maps are not usable anywhere anymore, and skills only usable in pvp will become usable almost everywhere.

We can customize the skill casts in db/skill_nocast.txt, but if you change let's say every "normal" mapflagged skill to "pvp" it won't only affect the original "normal" maps, but it will affect the pvprooms and other places as well. For example:

We want to enable the usage of the item "token of siegfried" on fields, in dungeons, but we don't want to enable it in pvp arenas, but still we want to enable players to attack each other on fields/dungeons. Currenty this can't be done. This goes for some other skills as well.

To simplify it a bit more further, we would like to use the original nocast restrictions vs maps as it would be on a normal server, but in the meantime enable pvp on fields. Is this possible somehow?

Edited by Angezerus
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

"normal map" on skill_nocast_db.txt refers to all map that not allowed to pvp (!map_flag_vs(m)), but when pk_mode is active, every normal map will be pvp map.

// adjustments
if( battle_config.pk_mode )
map[i].flag.pvp = 1; // make all maps pvp for pk_mode [Valaris]

to make map is flagged as dungeon or field, there's no default mapflag for it. (or make it)

maybe, insert the maps into restricted zone, and use it for exception

*CMIIW

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  420
  • Reputation:   89
  • Joined:  01/30/12
  • Last Seen:  

A golleague proposed that what if there would be a new flag group, called "pk" which would carry the pvp enabled status, but in the meantime it would have the same nocast restrictions as "normal" maps, and when changing to pkserver, fields and dungeons would use this flag?

This way it would'n mess up the whole nocast system, and it would distinguish pvp arenas and pk enabled fields/dungeons.

Possibly it would solve the problem of the non pvp area usable items as well.

Edited by Angezerus
Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   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.

×
×
  • Create New...