#152 Spell targetting system needs to be redone

بسته‌شده
3 سال پیش باز شده توسط image · 3 دیدگاه

Different scenarios need to be laid out here to setup the new code

  • icon backdrop 312 with group ae target type do not trigger for unfriendly spells, hits self instead. TARGET_TYPE_ENEMY supports it.

examples righteousness(100083) and decree(100133)

Different scenarios need to be laid out here to setup the new code - icon backdrop 312 with group ae target type do not trigger for unfriendly spells, hits self instead. TARGET_TYPE_ENEMY supports it. examples righteousness(100083) and decree(100133)
image نظر 3 سال پیش
همكار

divine awakening does not give shard to group members

divine awakening does not give shard to group members
image نظر 3 سال پیش
همكار

new spell_type will be 17

#define SPELL_TARGET_ALLGROUPTARGETS 10

we will use this target spell type when we want a spell to individually call cast on each client when the cast is completed. Divine Awakening is an example because it uses SummonItem in its cast function which is a single target function cause it is not a Spell function.

Where-as something like SpellHeal handles the targets of the spell already

new spell_type will be 17 ~~#define SPELL_TARGET_ALLGROUPTARGETS 10~~ we will use this ~~target~~ spell type when we want a spell to individually call cast on each client when the cast is completed. Divine Awakening is an example because it uses SummonItem in its cast function which is a single target function cause it is not a Spell function. Where-as something like SpellHeal handles the targets of the spell already
image 3 سال پیش بسته شد
image 3 سال پیش بازگشایی شد
image نظر 3 سال پیش
همكار

made a mistake added as a target_type should be spell_type

#define SPELL_TYPE_ALLGROUPTARGETS      17
made a mistake added as a target_type should be spell_type ``` #define SPELL_TYPE_ALLGROUPTARGETS 17 ```
image 3 سال پیش بسته شد
برای پیوستن به گفتگو، وارد شودید.
بدون نقطه عطف
بدون مسئول رسیدگی
1 مشارکت کننده
درحال بارگذاری...
لغو
ذخيره
هنوز محتوایی ایجاد نشده.