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
Monsters cast beams and waves through wall #1690
Comments
This might be working as intended, because the location where the player is standing is allowing it to go through the wall (and creatures don't block waves). I'm not entirely sure though, so I'll leave this open for discussion. |
I did not check for any more fitting location, but this should be the same circumstances tested on real tibia. |
@TheSumm Yes, it should look like on your screen. Not like in my 1st screen. Now we have this: http://i.imgur.com/Al3TYJo.png |
What about playing runes through the crystals? Same inssue or its a normal? Players use this bug around demon oak quest (shooting runes), for help who are inside quest |
Anyone know why its doing this for monsters but not for players? |
Becouse for players its blocked in Source. For monsters is not. |
For players it checks if the tile infront of the player blocks the spells, which should be removed as you may cast all spells even when facing walls now: http://i.imgur.com/CJjLATQ.gifv I don't know why the area check fails for monsters despite being behind a wall. |
Could be an issue with isSightClear? Or more probably AreaCombat::getList |
Well not really a fix to problem just a work around I use, maybe you want to go for it too. Monsters cast spells in onThink() creaturescript and you make custom path finder. Which will take shortest path to target and check each position, does it block spell. This way you can easily add custom things like: if fireball is shot trough fire field it gets stronger or if it goes trough magic wall it changes direction or if its mirror then its reflected, etc. |
still unconfirmed? |
At this moment on tibia you can cast spells when facing walls but it don't realize the spell area that are after wall, i just wonder if this is a feature that @marksamman would like to have here. |
its work normal free sqm see dragon using more magic wall dragon not use fire wave only fire bomb on free sqm :) on me its not bug ! better ways go to find other rlly critical bugs .. i test this on rl / hexera and my server its same effect ! |
@Marofdp no, on real tibia all sqms instead that are behind the wall would get the damage area, here its going to all sqms, it's a bug. |
@Marofdp english pls |
Is player able to cast area spells over trees, bushes, etc...? |
http://imgur.com/mz0MfYB |
@kamil-karkus Yeah that looks to be the expected behavior |
@BenDol thanks http://imgur.com/lQcZtqm (dragon firebomb) Please confirm if it works fine so I can create pull request tomorrow |
I'm confused, distance weapons behave changes or not? it should reach places reached by 'exevo tera hur' ? |
@kamil-karkus Neither the tree nor the small stone should be blocking the dragon's wave and the player's wave. |
duplicate of #2891 |
When monster is in front to wall (anything, any BLOCKSOLID wall, included magic wall) and he is blocked by player..
Monster will cast beam and wave through wall!
http://i.imgur.com/63nsVoh.png
The text was updated successfully, but these errors were encountered: