Rebel Posted July 27, 2012 Group: Members Topic Count: 68 Topics Per Day: 0.01 Content Count: 436 Reputation: 32 Joined: 02/19/12 Last Seen: May 22, 2024 Share Posted July 27, 2012 how can i make 2 different emperium for different castle. i want to change emp hp for both of them. thanks bump! Quote Link to comment Share on other sites More sharing options...
Mystery Posted July 27, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 27, 2012 You add another emperium mob by duplicating the regular emperium or you use mob_avail on a mob that's useless (like an event one) Quote Link to comment Share on other sites More sharing options...
Rebel Posted July 27, 2012 Group: Members Topic Count: 68 Topics Per Day: 0.01 Content Count: 436 Reputation: 32 Joined: 02/19/12 Last Seen: May 22, 2024 Author Share Posted July 27, 2012 i already done that thing.. my problem now is how can i set the emperium? like emp A for swanhild - 63k hp the official emp emp B for kriemhild - 100k hp my custom emp i already. look in the agit_main to replace the emperium in castle kriemhild but i cant understand the structure of the script.. // Spawn (fall through), or respawn the Emperium once it has been broken. OnStartArena: // OnAgitStart will fall through and spawn the Emperium. if (strnpcinfo(2) == "aldeg_cas01") { setarray .@emproom[0],216,23; } else if (strnpcinfo(2) == "aldeg_cas02") { setarray .@emproom[0],213,23; } else if (strnpcinfo(2) == "aldeg_cas03") { setarray .@emproom[0],205,31; } else if (strnpcinfo(2) == "aldeg_cas04") { setarray .@emproom[0],36,217; } else if (strnpcinfo(2) == "aldeg_cas05") { setarray .@emproom[0],27,101; } else if (strnpcinfo(2) == "gefg_cas01") { setarray .@emproom[0],197,181; } else if (strnpcinfo(2) == "gefg_cas02") { setarray .@emproom[0],176,178; } else if (strnpcinfo(2) == "gefg_cas03") { setarray .@emproom[0],244,166; } else if (strnpcinfo(2) == "gefg_cas04") { setarray .@emproom[0],174,177; } else if (strnpcinfo(2) == "gefg_cas05") { setarray .@emproom[0],194,184; } else if (strnpcinfo(2) == "payg_cas01") { setarray .@emproom[0],139,139; } else if (strnpcinfo(2) == "payg_cas02") { setarray .@emproom[0],38,25; } else if (strnpcinfo(2) == "payg_cas03") { setarray .@emproom[0],269,265; } else if (strnpcinfo(2) == "payg_cas04") { setarray .@emproom[0],270,28; } else if (strnpcinfo(2) == "payg_cas05") { setarray .@emproom[0],30,30; } else if (strnpcinfo(2) == "prtg_cas01") { setarray .@emproom[0],197,197; } else if (strnpcinfo(2) == "prtg_cas02") { setarray .@emproom[0],157,174; } else if (strnpcinfo(2) == "prtg_cas03") { setarray .@emproom[0],16,220; } else if (strnpcinfo(2) == "prtg_cas04") { setarray .@emproom[0],291,14; } else if (strnpcinfo(2) == "prtg_cas05") { setarray .@emproom[0],266,266; } // Add custom Guild Castles here. else { end; } if (!mobcount(strnpcinfo(2),"Agit#"+strnpcinfo(2)+"::OnAgitBreak")) { monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Emperium",1288,1,"Agit#"+strnpcinfo(2)+"::OnAgitBreak"; } end; Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 27, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 27, 2012 ...,"Emperium",1288,1,... Replace with: ...,"Emperium",(strnpcinfo(2)=="prtg_cas01")?your_id:1288,1,... Quote Link to comment Share on other sites More sharing options...
Rebel Posted July 27, 2012 Group: Members Topic Count: 68 Topics Per Day: 0.01 Content Count: 436 Reputation: 32 Joined: 02/19/12 Last Seen: May 22, 2024 Author Share Posted July 27, 2012 (edited) @Euphy thanks for the reply.. im gonna test it later, im gonna sleep for now.. xD edit : its not working. T.T Edited August 3, 2012 by Razor X Quote Link to comment Share on other sites More sharing options...
Rebel Posted August 21, 2012 Group: Members Topic Count: 68 Topics Per Day: 0.01 Content Count: 436 Reputation: 32 Joined: 02/19/12 Last Seen: May 22, 2024 Author Share Posted August 21, 2012 it works and display the correct emperium that i wanted but it just double the emperium. like when i break my custom emp the normal emp will spawn all over again.. and it can attack by a player with no guild. bump! Quote Link to comment Share on other sites More sharing options...
Question
Rebel
how can i make 2 different emperium for different castle. i want to change emp hp for both of them. thanks
bump!
Link to comment
Share on other sites
5 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.