Jump to content
  • 0

R>>WoE Only Items


Question

Posted

Hi Guys,
I wanna know that is it possible to make custom items only usable in WoE For ex:  WoE's White Potion

Also i want its name to be written like this WoE's White Potion

I mean like when u do @produce chars name comes in <Blue> same way i want Woe ITems to have WoE's Tag in bule
^^ i dont remember but i saw this in some server or somewhere


Well i guess i havent my self very clear but i dunno how to explain it HAhahah 

Please help

Regards,
Nash 

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

Hello. When i use such:

11503,Siege_White_Potion,WoE White Potion,0,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ if ( getmapflag( strcharinfo(3), mf_gvg ) ) itemheal rand(400,500),0; },{},{}
It is used in every map.

When i use such:

11503,Siege_White_Potion,WoE White Potion,0,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ { if ( getmapflag( strcharinfo(3), mf_gvg ) || getmapflag( strcharinfo(3), mf_gvg_castle ) || getmapflag( strcharinfo(3), mf_gvg_dungeon ) ) itemheal rand(400,500),0; },{},{}

It isnt use anywhere.....

Help with my problem please, i need using it only in gvg maps (castles).
 

Edited by ReSp
Posted

this is totally database question

 

make a new item ID, with the item script goes like

{ if ( getmapflag( strcharinfo(3), mf_gvg ) || getmapflag( strcharinfo(3), mf_gvg_castle || getmapflag( strcharinfo(3), mf_gvg_dungeon ) ) itemheal ... ) }.{}.{}

then create a new player name WoE

then use getnameditem <item ID>, "WoE"; in npc script

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