![]() |
|
|
#1 | ||
|
Архивный участник
Join Date: May 2006
Posts: 135
|
1st some quotes
Quote:
Existing bosses have different success rates in leveling soul crystal Quote:
Anakazel 13% chance Code:
if( gg->Rand(1000) < 130 ) Code:
if( gg->Rand(1000) < 18 ) As we see in ai.obj all the new bosses get all their functions from parent class and have no my_dying function, not even in their parent classes which are... Code:
Beast Lord Behemoth raid_boss_type3 Roaring Skylancer raid_boss_type3 Meanas Anor raid_boss_type5 Eilhalder von Hellmann raid_boss_type5 Crokian Padisha Sobekk raid_boss_type2 Antharas Priest Cloe raid_boss_type5 and Lilith raid_boss_type5 Anakim raid_boss_type2 Eilhalder von Hellmann, Meanas Anor and Antharas Priest Cloe could directly use Lilith's AI since they are almost the same, only difference is that Lilith already levels soul crystal and three new bosses doesnt. Crokian Padisha Sobekk can use Anakim's AI The "difficult" part is the two bosses that inheritate raid_boss_type3 and we dont have boss done for boss_type3, so what we can do is copy Lilith's or Anakim's MY_DYING eventhandler and put it to the new bosses Ai :P I suppose we would have to change the L245608 numbers when using them in other classes, dont know for sure. I was thinking I should have "shared" this since this isnt big deal and I belive most of you who are working with c5 already knew this :P This also was my 1st tutorial/share so be gentle
|
||
|
|
|
|