Helporyx 4 not working

Posts 15 of 5 · Page 1 of 1
oryx 4 not working
~Code~:

#region

using wServer.logic.behaviors;
using wServer.logic.loot;
using wServer.logic.transitions;

#endregion

namespace wServer.logic
{
partial class BehaviorDb
{
private _ Oryx4 = () => Behav()
.Init("Oryx the Mad God 4",
new State(
new State("idle",
new Wander(.05),
new Shoot(30, projectileIndex: 0, count: 10, shootAngle: 34, coolDown: 1000, coolDownOffset: 1000),
new Shoot(25, projectileIndex: 1, count: 16, shootAngle: 23, coolDown: 1250, coolDownOffset: 1250),
new Shoot(40, projectileIndex: 2, count: 8, shootAngle: 35, coolDown: 650, coolDownOffset: 650),
new Shoot(50, projectileIndex: 3, count: 20, shootAngle: 12, coolDown: 500, coolDownOffset: 500),
new Shoot(55, projectileIndex: 4, count: 4, shootAngle: 45, coolDown: 1500, coolDownOffset: 1500),
new Taunt(1, 10000, "Wow, you puny mortals actually have a kick to your hits, i needa brake! Let me send out my kids..."),
new HpLessTransition(.75, "OryxGO!")
),
new State("OryxGO!",
new ConditionalEffect(ConditionEffectIndex.Invulnerabl e),
new Spawn("Oryx the Mad God 1", 4, coolDown: 6000),
new EntitiesNotExistsTransition(9999, "NOOO", "Oryx the Mad God 1")
),
new State("NOOO",
new ConditionalEffect(ConditionEffectIndex.Invulnerabl e),
new Taunt(1, 6000, "How is this possible! You should have never been able to kill my kids!"),
new Taunt(1, 8000, "Get Ready TO PERISH!"),
new TimedTransition(10000, "DIE!")
),
new State("DIE!",
new Wander(.05),
new Shoot(30, projectileIndex: 0, count: 30, shootAngle: 34, coolDown: 1000, coolDownOffset: 1000),
new Shoot(25, projectileIndex: 1, count: 40, shootAngle: 23, coolDown: 1250, coolDownOffset: 1250),
new Shoot(40, projectileIndex: 2, count: 24, shootAngle: 35, coolDown: 650, coolDownOffset: 650),
new Shoot(50, projectileIndex: 3, count: 40, shootAngle: 12, coolDown: 500, coolDownOffset: 500),
new Shoot(55, projectileIndex: 4, count: 12, shootAngle: 45, coolDown: 1500, coolDownOffset: 1500),
new HpLessTransition(.20, "No, HOW!")
),
new State("No, How!",
new Follow(0.8, range: 5, duration: 55000, coolDown: 0),
new Taunt(1, 6000, "HAHAHA, ONCE I GET TO YOU, YOU WILL BE OBLITERATED!"),
new Shoot(30, projectileIndex: 0, count: 25, shootAngle: 34, coolDown: 1000, coolDownOffset: 1000),
new Shoot(25, projectileIndex: 1, count: 25, shootAngle: 23, coolDown: 1250, coolDownOffset: 1250),
new Shoot(40, projectileIndex: 2, count: 25, shootAngle: 35, coolDown: 650, coolDownOffset: 650),
new Shoot(50, projectileIndex: 3, count: 25, shootAngle: 12, coolDown: 500, coolDownOffset: 500),
new Shoot(55, projectileIndex: 4, count: 25, shootAngle: 45, coolDown: 1500, coolDownOffset: 1500),
new HpLessTransition(.05, "ILetYouDown"
),
new State("ILetYouDown",
new Taunt("I guess you were to strong for me... take some loot why don't you?")
)
)
)
);

}
}
How's it not working? Is it throwing errors? Is he not doing going through is phases? We can't help you until you tell us why it's not working
Quote Originally Posted by Extain View Post
How's it not working? Is it throwing errors? Is he not doing going through is phases? We can't help you until you tell us why it's not working
well, when ever i put it in the server, rebuild, it tells me that it cant be Private

like this:{private _ Oryx4 = () => Behav()}
it has to be:{public _ Oryx4 = () => Behav()}
Then change it to public, because it's not able to access it if it's private
Possibly the 3 ) after
new State("ILetYouDown",new Taunt("I guess you were to strong for me... take some loot why don't you?")

or you might have to put a state after the taunt at the end if you want him to die at that point immediately then put new Suicide()


also i think spawning 4 oryx might be a bad idea
Posts 15 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?