My first behavior

Posts 1–12 of 12 · Page 1 of 1
My first behavior
Well KieronZeCoder69
Has been teach me how to code
And this is what I make
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using wServer.realm;
using wServer.logic.attack;
using wServer.logic.movement;
using wServer.logic.loot;
using wServer.logic.taunt;
using wServer.logic.cond;

namespace wServer.logic
{
    partial class BehaviorDb
    {
        private static _ X = Behav()
            .Init(0x2127, Behaves("Teacher",

new RunBehaviors(
SetState.Instance("Attack")),                    
 new State("Attack",
                        Cooldown.Instance(850, MultiAttack.Instance(25, 10*(float) Math.PI/180, 3, 0, 1)),
    InfiniteSpiralAttack.Instance(125, 10, 7.5f, projectileIndex: 0),
         Cooldown.Instance(5500, new SimpleTaunt("Oh SNAP!")),
               SetConditionEffect.Instance(ConditionEffectIndex.Armored),
          Cooldown.Instance(300, RingAttack.Instance(9, projectileIndex: 2)),
 new State("attack3",
InfiniteSpiralAttack.Instance(125, 10, 7.5f, projectileIndex: 0),
 new State("chat",
         Cooldown.Instance(5500, new SimpleTaunt("Oh SNAP!")),
  new State("chat 2",
 new State("chat 2",
               new RandomTaunt(1.0, "Kieron must teach more {PLAYER}" ),
               
               new RandomTaunt(1.0, "Kieron has taught alot" ),
               
               new SimpleTaunt("Kieron must not stop teaching {HP}" ),
  new State("effect",
 new State("effect",
              SetConditionEffect.Instance(ConditionEffectIndex.Armored),
               SetConditionEffect.Instance(ConditionEffectIndex.Invisible),
  new State("uneffect",
 new State("uneffect",
                        Once.Instance(new SimpleTaunt("I won't stop being invisible")),
     HpLesserPercent.Instance(.50f, new SimpleTaunt("I Like to live and not die! Untill then I have {HP} to live on!")),
                    
                    HpLesserPercent.Instance(0.2f, new RandomTaunt(1.0, "Kieron has taught alot")),
               UnsetConditionEffect.Instance(ConditionEffectIndex.Armored),
               UnsetConditionEffect.Instance(ConditionEffectIndex.Invisible),
 new State("Ninja",
               Cooldown.Instance(2000, 
               MultiAttack.Instance(25, 10*
               (float)Math.PI / 180, 10, 0,
               projectileIndex: 2)),

                   InfiniteSpiralAttack.Instance(200, 3, 20, projectileIndex: 0),
  new State("Ninja Attack",                                          
                   InfiniteSpiralAttack.Instance(200, 3, 20, projectileIndex: 1),
           SetConditionEffect.Instance(ConditionEffectIndex.Armored),

       new SimpleTaunt("I HOPE THIS IS RIGHT OR I DIE D:! CAUSE I ONLY HAVE {HP} LEFT YOU {PLAYER}!"),
               UnsetConditionEffect.Instance(ConditionEffectIndex.Armored)
          )))))
                        )))))
        )));
                         }
}
I have been coding for 2 days now
you are welcome is this the updated one
For coding only 2 days...
This is really good lol
Quote Originally Posted by Organized Chaos View Post
For coding only 2 days...
This is really good lol
But some people can make code blind folded.

I must say though, this is a good behavior I guess although who will use it?
Quote Originally Posted by Ahl View Post
But some people can make code blind folded.

I must say though, this is a good behavior I guess although who will use it?
Code blind folded yet AFTER the fact that they have already learned how too
Quote Originally Posted by Ahl View Post
But some people can make code blindfolded.

I must say though, this is a good behavior I guess although who will use it?
Coding blindfolded doesn't have anything to do with coding for a few days.
Good job on the behavior.


P.S: kieron likes wieners
Not bad for first one. My first one was spider den.
Quote Originally Posted by sacredmike View Post
Not bad for first one. My first one was spider den.
my first beh was a fuly working lab, then my pc broke lol so i lost it
Quote Originally Posted by jay russell3 View Post
my first beh was a fuly working lab, then my pc broke lol so i lost it
The amount of bs in this statment is probably over 9000... It takes alot to make the 2nd boss work.
Quote Originally Posted by filenub View Post
The amount of bs in this statment is probably over 9000... It takes alot to make the 2nd boss work.
not realy its easy if u know how 2 xd probably gunna re make it again
My first was, eh, I don't remember. I made some sort of random ass black dude after KFC

Nice first try!
Posts 1–12 of 12 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us