Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
57 stars 45 forks source link

Summoned PK monster don't attack. #1214

Open Nefrelius opened 7 months ago

Nefrelius commented 7 months ago

When a player summon a PK monster with a spell like summon_daemon, this PK monster does not attack other players around it. I thought it was related to Brain_monster, but it's the same even if I change it. Monsters attack when they spawn normally but not when they spawn with summon. I think it has something to do with the OWNER.

For example, when I replace the monster spawned in summon_daemon spell with a PK mount, the mount (brain_animal) attacks the players around. However, it doesn't attack when monsters like c_daemon or c_elemental_fire appear. I tried to make the creature NPC=brain_animal but the situation doesn't change. It stops unless the owner gives orders. I tried NPCAI settings in sphere.ini, I turned it on/off and it didn't change. I think there is a bug here.

[translate with DeepL]

GladieUO commented 7 months ago

Why should your pet automatically attack anything, until you command him to? Doesnt seem like a bug to me.

Nefrelius commented 7 months ago

Because all beings with PK are aggressive.(like old emulators) Shouldn't it attack automatically because it's a PK? If it shouldn't attack, then why does it attack when I have a PK mount? Please try to read the question well.

xwerswoodx commented 6 months ago

It can make you criminal if the summoned npc start to attacking around, we may add some flag for it, but it doesn't seem like a bug for me, I will do some tests to see how was it in older versions of sphere.

Tolokio commented 1 month ago

In the past, u need to tell "All stop" when u create a demon so it dosnt attack anyone. That was anoying for me. I think it is an improvement that it dosnt do it right now, not a bug. Maybe the reason it have been changed is because if ur pet attack anyone u can become criminal. Imagine you summon a demon or other pk npc that cast magic and cast a very fast spell like magic arrow... it was anoying.

If vortex or blade spirit does not attack, that would be a bug for me.

Normaly when a feature dissapear, there is a good reason for it.

cbnolok commented 2 weeks ago

I guess that could be a new ini setting