-
-
Notifications
You must be signed in to change notification settings - Fork 650
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
Problem with chain spells #3160
Comments
Chain spells have a function called Example to select only players:
Remember to set the callback: |
Does that also apply to player summons and that the chain spell effect does not come out within the safe zone? |
The script is going to do what you tell it to do. In my example it will pick only players to chain: |
below this line in combat.cpp
ADD
This worked for me, already tested in chain attack, amp res, weapons with chain, everything seems to be fine |
That worked, thanks |
@Mortera-world can you open a PR? |
The reason why CALLBACK_PARAM_CHAINPICKER exists is to resolve this. No PR needed. This is not an issue, as the spell is misconfigured. |
Sorry, I tried many ways to correct this from the spell but I had no results I tried this and it crashed, I tried in several ways and it crashed, from the spell you can't make the chain magic not enter safe zones
sorry I don't know how I can correct this from the spell because many ways I tried gave me a crash on the server |
The chain enters protection zone because you don't check if the target is in protection zone.
When you do
it will chain the player, because you are telling it is TRUE to chain this target regardless of it's position. |
I repeat, I tried it in many ways including safe zone checks, if the caster has pz or skull, the fact is that being a target it only works with the target, what follows after is the chain and that does not apply that target order, I imagine why it always hit in a safe zone even having verification that it does not In fact, I had that problem for a long time and no matter how much I asked for help, I didn't find a solution or no one wanted to share it. That was the solution for me and it worked for me. So far, it hasn't given me any problems. If later there is someone who shares the spell correctly I will use them, as long as that works well for me |
Priority
Medium
Area
What happened?
When you apply chain spell to a creature, the spell activates for other creatures, including NPCs, Although it doesn't damage them, it just activates the chaining and the effect on them.
What OS are you seeing the problem on?
Windows
Code of Conduct
The text was updated successfully, but these errors were encountered: