transformation in noswings

10/02/2018 16:08 @LRevolution#16
Quote:
Originally Posted by mix0067@ View Post
i have never talked about the algorithm of the shell generation ... cant we just stop this discussion? I know that lucfier and you are better than i will ever be, so i will just accept what you are saying.
:facepalm::facepalm::facepalm::facepalm::facepalm:

Oh man it's like you dug yourself a hole and jumped right in it...
Both blowa and lucifer told you the same thing it's like you ignored it.

I will try to make it as clear as possible : the shells are GENERATED properly.
When you get a shell, you will get the same options as on official.

BUT

Every shell EFFECT doest not work, that is because said effect does not have a handler, a piece of code that tells your server what to do with this effect.

In the code you will see something like that :

Code:
foreach (var shell in battleEntity.ShellWeaponEffects)
                            {
                                switch (shell.Effect)
                                {
                                    case (byte)ShellWeaponEffectType.Blackout:
                                    {
                                        var buff = new Buff(7, battleEntity.Level);
                                        if (ServerManager.RandomNumber() < shell.Value)
                                        {
                                            AddBuff(buff);
                                        }

                                        break;
}
A foreach loop and a switch case; each shell effect on your equipment is identified, and either there is code that tells the server to do something, or there is not. If you want to implement all the shell effects you only need to fill the gaps.

Note:This code is from CiapaNos, not NosWings.
10/02/2018 21:17 pauvm1618#17
Since you know a lot you could help me xd
10/02/2018 21:55 @LRevolution#18
Quote:
Originally Posted by pauvm1618 View Post
Since you know a lot you could help me xd
Already answered multiple times in topics you started...

Quote:
Originally Posted by erixor View Post
1: Add a BCardType for the defined id (89)
2: Add an AdditionalType enum containing the subtypes
3: Code the transformation (No other solution than learning C# really, but it's very easy)
Quote:
Originally Posted by 0Lucifer0 View Post
You just look at the previous code, you try to understand it and when it’s done you make your own code. Most of the code is already here or in $teleport command
Quote:
Originally Posted by 0Lucifer0 View Post
Everything that work on the official is possible. You just need to learn how to code to do it.
Need more quotes?
10/03/2018 07:32 pauvm1618#19
The point is that it is already done xd, the pronlem is that the skills arent displayed so idk how to display them
10/04/2018 04:34 0Lucifer0#20
The problem is that you just don’t care about answers. Learn c#!