Thread: Marble Seal

Results 1 to 6 of 6
  1. #1
    RotmgNuuber's Avatar
    Join Date
    Jun 2019
    Gender
    male
    Location
    I need to be sure I can't tell my hideout.
    Posts
    13
    Reputation
    10
    Thanks
    1

    Post Eye of Marble Behavior[FSOD]

    Is Worked in FSOD. i not test in other sources

    in wServer.logic.behaviors Create File AoeEffect.cs and paste this
     
    using System.Linq;
    using wServer.realm;
    using wServer.realm.entities.player;

    namespace wServer.logic.behaviors
    {
    public class AoeEffect : Behavior
    {
    //State storage: nothing

    private readonly float radius;
    private readonly int duration;
    private readonly ConditionEffectIndex effect;

    public AoeEffect(double radius, int duration, ConditionEffectIndex effect)
    {
    this.radius = (float)radius;
    this.effect = effect;
    this.duration = duration;
    }

    protected override void TickCore(Entity host, RealmTime time, ref object state)
    {
    foreach (Player i in host.Owner.PlayersCollision.HitTest(host.X, host.Y, radius).OfType<Player>())
    {
    i.ApplyConditionEffect(new ConditionEffect
    {
    Effect = effect,
    DurationMS = duration
    });
    }
    }
    }
    }


    in Wserver.logic.db Create File BehaviorDb.EyeofMarble.cs and paste this
     
    #region

    using wServer.logic.behaviors;

    #endregion

    namespace wServer.logic
    {
    partial class BehaviorDb
    {
    private _ EyeofMarble = () => Behav()
    .Init("Eye of Marble",
    new State(
    new State("Idle",
    new AoeEffect(3, 1, ConditionEffectIndex.Armored),
    new AoeEffect(3, 1, ConditionEffectIndex.Damaging),
    new TimedTransition(4500, "die")
    ),
    new State("die",
    new Decoy(0)
    )
    )
    );
    }
    }


    if you get an error. I will not help you.
    Last edited by RotmgNuuber; 07-24-2019 at 05:20 AM. Reason: Change Suicide() to Decoy(0)

  2. The Following User Says Thank You to RotmgNuuber For This Useful Post:

    Daemonmann (01-22-2020)

  3. #2
    philipovrell's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    1
    My Mood
    Cool
    Did you knew that there were a error HAHAHA

  4. #3
    Unitede's Avatar
    Join Date
    Dec 2017
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Me too i have a problem

  5. #4
    philipovrell's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    1
    My Mood
    Cool
    it's not even well done xD

  6. #5
    RotmgNuuber's Avatar
    Join Date
    Jun 2019
    Gender
    male
    Location
    I need to be sure I can't tell my hideout.
    Posts
    13
    Reputation
    10
    Thanks
    1
    I said I was not going to help but I was wrong in the behavior.
    Fix:
     
    add: using wServer.logic.transitions;
    above
    using wServer.logic.behaviors;

    Change Decoy(0) to Decay(0)

    now it will work.
    Last edited by RotmgNuuber; 07-26-2019 at 06:18 AM. Reason: This is Fix for Any Error

  7. #6
    philipovrell's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    1
    My Mood
    Cool
    Gj bro!

    It works really good!

    Good Work!

Similar Threads

  1. [Help Request] Marble Seal effect in FSOD
    By Hddman in forum Realm of the Mad God Private Servers Help
    Replies: 2
    Last Post: 07-23-2019, 07:27 AM
  2. Windows 3.1 unboxing sealed box.
    By EndRiT in forum General
    Replies: 6
    Last Post: 05-26-2009, 10:13 AM
  3. Seal/Unseal Key?
    By Dorado in forum Knight Online Hacks
    Replies: 3
    Last Post: 05-21-2009, 04:50 PM
  4. SOCOM US Navy Seals...
    By Seem in forum General
    Replies: 36
    Last Post: 04-19-2008, 07:11 PM