Player can use purple staff on water mob to teleport it into land when player is in on land. Player can use purple staff on land mob to teleport it into water when player is on boat. Line 108-110 in prefab file 'staff'. The local function 'getrandomposition' only check where the caster is, but not if 'teletarget' is caster or not, teletarget should add as a parameter into the mentioned function. And need to check if teletarget is tagged as "amphibious" or "aquatic". For amphibious mobs the random position can be land or water. And For aquatic mobs the random position should only be water.
ox, crocodog, poisoncrocodog, watercrocodog do not have a 'amphibious' tag.
1. c_give('telestaff')
2. the player on boat, cast spell on a land mob.
3. the player on land, cast spell on a non-amphibious water mob.
4. Check teleportee's position.
- 1
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now