kindly help me with this problem?

razermantis

New member
Messages
32
Points
0
Github
razermantis920
kindly help me with this problem? Skill.c

int skill_unit_onplace_timer(struct skill_unit *src, struct block_list *bl, int64 tick)
{
    struct skill_unit_group *sg;
    struct block_list *ss;
    struct map_session_data *tsd;
    struct status_data *tstatus, *bst;
    struct status_change *tsc, *ssc;
    struct skill_unit_group_tickset *ts;
    enum sc_type type;
    uint16 skill_id;
    int diff=0;
 
    nullpo_ret(src);
    nullpo_ret(bl);
 
    if (bl->prev==NULL || !src->alive || status->isdead(bl))
        return 0;
 
    nullpo_ret(sg=src->group);
    nullpo_ret(ss=map->id2bl(sg->src_id));
    tsd = BL_CAST(BL_PC, bl);
    tsc = status->get_sc(bl);
    ssc = status->get_sc(ss); // Status Effects for Unit caster.
 
    // Maestro or Wanderer is unaffected by traps of trappers he or she charmed [superHulk]
    if ( ssc && ssc->data[sC_SIREN] && ssc->data[sC_SIREN]->val2 == bl->id && (skill->get_inf2(sg->skill_id)&INF2_TRAP) )
        return 0;
 
    tstatus = status->get_status_data(bl);
    nullpo_ret(tstatus);
    bst = status->get_base_status(bl);
    nullpo_ret(bst);
    type = status->skill2sc(sg->skill_id);
    skill_id = sg->skill_id;
 
    if ( tsc && tsc->data[sC_HOVERING] ) {
        switch ( skill_id ) {
        case HT_SKIDTRAP:
        case HT_LANDMINE:
        case HT_ANKLESNARE:
        case HT_FLASHER:
        case HT_SHOCKWAVE:
        case HT_SANDMAN:
        case HT_FREEZINGTRAP:
        case HT_BLASTMINE:
        case HT_CLAYMORETRAP:
        case HW_GRAVITATION:
        case SA_DELUGE:
        case SA_VOLCANO:
        case SA_VIOLENTGALE:
        case NJ_SUITON:
            return 0;
        }
Capture.PNG

 
some plugin might be causing it.

which all plugins you have?

 
Back
Top