Nezd Posted December 5, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 07/08/12 Last Seen: March 11, 2020 Share Posted December 5, 2012 (edited) Hello! I make custom skill, summon mob: case SS_SUMMON: clif_specialeffect(&sd->bl, 344, AREA); { int summons[5] = { 2710, 2711, 2712, 2713, 2714 }; int class_ = summons[skilllv - 1]; struct mob_data *md; // Correct info, don't change any of this! [celest] md = mob_once_spawn_sub(src, src->m, 0, 0, status_get_name(src),class_,""); if (md) { md->master_id = src->id; md->special_state.ai = 2; if( md->deletetimer != INVALID_TIMER ) delete_timer(md->deletetimer, mob_timer_delete); md->deletetimer=add_timer(tick+(skilllv*30000),mob_timer_delete,md->bl.id,0); mob_spawn (md); //Now it is ready for spawning. } } 1. All good. But i need summon w/o attack, only skill cast attack. How to make it? I play with special_state.ai = N; - nothing, try to make mob mode, nothing. 2. Why monsters dont attack summon mob? after take dmg from summon they are attack char, how to fix this ? Thx. Edited December 5, 2012 by Nezd Quote Link to comment Share on other sites More sharing options...
Question
Nezd
Hello!
I make custom skill, summon mob:
1. All good. But i need summon w/o attack, only skill cast attack. How to make it?
I play with special_state.ai = N; - nothing, try to make mob mode, nothing.
2. Why monsters dont attack summon mob? after take dmg from summon they are attack char, how to fix this ?
Thx.
Edited by NezdLink to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.