Hi, so i got question maybe someone done it before,
I got few custom raids, and i need that ppl can't take them to town,
i got code in JAVA like this :
// If the boss is above drift range (or 200 minimum), teleport him on his spawn.
if (!isInsideRadius(spawn.getLocX(), spawn.getLocY(), spawn.getLocZ(), Math.max(Config.MAX_DRIFT_RANGE, 200), true, false))
teleToLocation(spawn.getLoc(),0);
}
}, 6000, 3000);
}
if i edit ( MARKED RED) numbers the range of raid take away is geting shorter, but, if player in combat mode he will not respawn until player will be not cambat.
can anyone give me advice what i need to add or remove next to this code that rb will make respawn even if player is attacking him?
Added: a brand-new default dashboard template.
You can now add multiple game/login server builds.
Full support for running both PTS & L2J servers simultaneously, with switching between them.
Payment systems: added OmegaPay and Pally (new PayPal-style API).
Account history now stores everything: donations, items delivered to characters, referrals, transfers between game accounts, and coin transfers to another master account.
Personal Promo Code System: you can create a promo code and assign it to a user or promoter. When donating, a player can enter this promo code to receive bonus coins, and the promo code owner also receives a bonus — all fully configurable in the admin panel.
Look demo site: demo
MoMoProxy has updated more static residential proxies for USA location, anyone interested in can view: https://momoproxy.com/static-residential-proxies
To manually override it you got to use command //field_cycle set_step 1 11
1 is the field cycle id for hellbound island from db (fiy 2 & 3 are the seeds in gracia sod and soi) and 11 is the level you want to change it to. Anywhere from 1 to 11 will work for different stages.
Question
remigas
Hi, so i got question maybe someone done it before,
I got few custom raids, and i need that ppl can't take them to town,
i got code in JAVA like this :
// If the boss is above drift range (or 200 minimum), teleport him on his spawn.
if (!isInsideRadius(spawn.getLocX(), spawn.getLocY(), spawn.getLocZ(), Math.max(Config.MAX_DRIFT_RANGE, 200), true, false))
teleToLocation(spawn.getLoc(),0);
}
}, 6000, 3000);
}
if i edit ( MARKED RED) numbers the range of raid take away is geting shorter, but, if player in combat mode he will not respawn until player will be not cambat.
can anyone give me advice what i need to add or remove next to this code that rb will make respawn even if player is attacking him?
Thanks.
3 answers to this question
Recommended Posts