Jump to content
  • 0

How to Disable skull?


Question

Posted

How to disable skull in WoE??

cause I implemented skull in my server and its fine.. But in WoE its kinda messy .

I want to disable the SKULL drop in a certain area...

I already put the map in no_loot.txt and still the skull are dropping ..

please help me. Thank you

5 answers to this question

Recommended Posts

Posted (edited)

Untested: find in file src/map/pc.c

replace this line: || (battle_config.bone_drop==1 && map[sd->bl.m].flag.pvp))

with this: || (battle_config.bone_drop==1 && map[sd->bl.m].flag.pvp && !map[sd->bl.m].flag.gvg))

and recompile your server..

I forget is it 'map[sd->bl.m].flag.gvg' or 'map[sd->bl.m].flag.gvg_castle'

(Sorry I think it only in my mind and haven't test it on actual server) /wah

Edited by nanakiwurtz
Posted

@nana, Why change the source if you can change a config so easily? o_O

// Players' will drop a 'Skull' when killed?
// 0 = Disabled
// 1 = Dropped only in PvP maps
// 2 = Dropped in all situations

Since WoE doesn't use a PvP Mapflag of any sort; it uses a GvG Mapflag based setting. Thus, having it at 1 or Disabled won't make it drop in WoE Maps.

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.

  • Recently Browsing   0 members

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