Mobs and Wizimobs - they can't see eye to eye
-
Yeah, the wizi_mob flag which makes a mob wizi 150 also prevents other mobs from seeing them anymore, even if the mob is well over 150. They used to be able to see wizimobs, now they can't. What gives? I can't use see_all as that would defeat the purpose of many vision limitations.
Case in point:
Minobe: vnum 7502
Wizimob: vnum 7697
Minobe uses the wizimob to do some room movement attacks, such as throwing and hitting someone in the air. Well, he can't see the wizimob to do the actions.
Frankly, mobs should be able to target anything. The isvisible ifcheck can be used to verify visibility, that's what it's for right?
-
Just a quick note: the reason > lv150 used to be able to see wizimobs, and now can't is because the IS_IMMORTAL() macro used to check NPCs as well as PCs. It doesn't anymore, since having NPCs level 150 and above considered as immortals leads to all sorts of cheating.
I'll come up with some way to sort this out.
-
<quote author="Nibelung">
@Nibelung:Frankly, mobs should be able to target anything. The isvisible ifcheck can be used to verify visibility, that's what it's for right?</quote> Problem is, that only applies within scripts. In the code, for example for aggro mobs, we really do need hardcoded visibility checks - otherwise weak aggros will attack invis people that they can't see, etc.
I've added a "see_wizi" act2 flag to allow mobs to see wizimobs without seeing everything else (e.g. improved invis mobs).
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login