Jump to content
  • 0

only 1(abracadabra) skill on custom map(need some idea or help)


eug2b

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/11/15
  • Last Seen:  

Hi! I need some help.

 

I try to do Abracadabra event, but i have some problem.

Conception:

On map allowed only 1 skill - abracadabra. So it's PVP on abra skill.

 

My way to do this:

1) custom map flag "skill deny" - deny all skill, but no abra.

2) add in src of abra skill custom skill db, what used only special abra maps

3) for special abra map, was removed all required parametrs (SP cost, gems)

So on special map i can use only abra. 

BUT problem is: if i not use skill what abra give me (click right mouse click), i can use any own skills.

 

So i add debug message in most function of skill.c and have this:

 

Some reason flag abra_flag not set to 0 and i don't know in what place i need add this action (set abra_flag to 0)

 

on screenshot: 

 first 2: call function if i use abra skill, and then use skill gained from abracadabra.

 then : if i use any my character skill

 and last i use abra skill, then rigth mouse click and use any my character skill on mob

t0i93o.jpg

 i try add checking in function "skillnotok", but not work.

 So i need some idea, or help.

 

 Previously thanks for help :)

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

did you refering to one cast abra and no more per player?

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