Cool Effect

01/10/2010 04:37 felipeboladao#16
So you need to create a setting to check the positions of other items, if they are super just add
(
AllSuper = true;
)
01/10/2010 05:10 .Ryu#17
Goodjob=P
01/10/2010 07:04 Mehdi~#18
nice and for the super effet gemme ?
01/10/2010 09:26 pro4never#19
For super gems you would link it to a calculation in your attack handler.

Basically the source should count super gems socketed in your equipment and use it as a multiplier for calculating if an effect is displayed or not (lets say 1 percent chance per attack per super gem) Then just run the calculation and display effect accordingly. If it's placed in along with where attacks are already being handled it will automatically only occur in attacks and recur properly. Not a hard thing to do. you could always check older sources like CoEmu or the old lotf to see how to code it.
01/10/2010 15:35 ramix#20
great felipeboladao ;) what you need put in code to be complete?
01/10/2010 15:47 ~*NewDuuDe*~#21
He just copied kinshis code. Search for cool effects. You'll find it.
01/10/2010 17:44 Sp!!ke#22
I have Cool Effect for 5165 and that's not work's
01/10/2010 18:03 felipeboladao#23
ramix, first, find for if (Vigor < MaxVigor) and add above
if (Action == 230)
{
PacketHandling.CoolEffect.ActiveCool(MyClient);
}
01/10/2010 20:33 Arcо#24
Quote:
Originally Posted by ~*NewDuuDe*~ View Post
He just copied kinshis code. Search for cool effects. You'll find it.

And it's no even complete at that.
01/10/2010 21:23 Hanibal#25
Quote:
Originally Posted by Hepatitis C View Post

And it's no even complete at that.
It wasn't meant to be a release but a guide to help those who wanted it and to maybe fix it up themselves, the code works perfectly, you can see the effect but if someone else is doing it you can't which negates spamming it I guess.

I saw people looking on how to add it and just wanted to help and yes I'm fully aware there are parts of the code missing and if people want to add those parts they can, all I did was give them somewhere to start.
01/11/2010 08:22 Arcо#26
Quote:
Originally Posted by Hanibal View Post
It wasn't meant to be a release but a guide to help those who wanted it and to maybe fix it up themselves, the code works perfectly, you can see the effect but if someone else is doing it you can't which negates spamming it I guess.

I saw people looking on how to add it and just wanted to help and yes I'm fully aware there are parts of the code missing and if people want to add those parts they can, all I did was give them somewhere to start.

I hope you don't think I was insulting you.
I was just pointing that out before people started copying and pasting.
Sorry if it sounded like a flame.
01/14/2010 00:58 felipeboladao#27
hehe, I completed the cool ,this full working.
01/14/2010 19:05 ~*NewDuuDe*~#28
What was the point of bragging about it if you are not going to release it?
It's not like modifying that code is hard.
01/15/2010 00:45 felipeboladao#29
I Completed the GemEffects and CoolEffects ;D
I release the code soon!

[Only registered and activated users can see links. Click Here To Register...]