Mobs and Wizimobs - they can't see eye to eye


  • registered

    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?

  • retired

    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.

  • retired

    ~~@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? 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).

Log in to reply