forked from jomisoac/Bot-Dofus-1.29.1
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Branch Groups] #73
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible de add the possibility to use custom function by group members.
Attached to this, my script for dj bouf.
For a single character, it works as a charm. For a group however, other members does not execute the corotine. I tried to modify the get_Funcion_Personalizada by adding the corotine to other members, but the problem is that the other members does not have a script variable and will not be able to execute anything.
`
MAXIMOS_PODS = 90
AUTO_REGENERATION =
{
VITA_MIN = 60,
VITA_MAX = 100,
OBJET = { 528 } -- Example : Bread (such as id = 528)
}
MAPS_DONJON = { 2073, 2074, 2075, 2076, 2077, 2079, 2080, 20811, 2082, 2083 }
function mouvement()
return
{
--------------------------------- ROUTE DJ -----------------------------------
{ map = "1856", custom = enter_dungeon}, -- entree dj bouf
-------------------------------- FIN A DUNG ----------------------------------
end
function enter_dungeon()
npc.hablarNpc(-1)
end
function exit_dungeon()
npc.hablarNpc(-1)
end
`
The text was updated successfully, but these errors were encountered: