Toxic Fog Problem

04/10/2011 01:44 F i n c h i#1
I coded Toxic Fog for Hellmouth Source but it kills you,instead of poisoning you.
And when I'm poisoning the poison goes under me not where I put the mouse point.
Thanks!
04/10/2011 09:48 5supertao#2
Take a look at the skill called... "Advance Cure" notice the clients target. The clients target is your own character. You want to make the target the players "Around" you. Simple as that. +
Just IM me for my MSN if you'd like my help ;)
04/10/2011 09:59 F i n c h i#3
Quote:
Originally Posted by 5supertao View Post
Take a look at the skill called... "Advance Cure" notice the clients target. The clients target is your own character. You want to make the target the players "Around" you. Simple as that. +
Just IM me for my MSN if you'd like my help ;)
Is this the right code you are talking about?

Code:
if (!Client.LocalClients.ContainsKey(Target) && Client.UID != Target)
                                return;
                            Client T = Client;
                            if (Target != Client.UID)
                                T = Client.LocalClients[Target];
                            if (T.Dead)
                                return;
04/10/2011 17:53 iStefan#4
I don't use HellMouth, but my advice.. Make A check if the HP is below 3, and then make it stop.
Example: (NOT USING HellMouth variables)
Quote:
if (Character.HP <= 3)
{
Char.Poisoned = false;
Char.PoisonedTimes = 20;
Char.StatusEffect.Remove(StatusEffectEn.Poisoned);
}
This is the code that I use.. I dunno how's at HellMouth
04/10/2011 17:56 F i n c h i#5
Quote:
Originally Posted by iStefan View Post
I don't use HellMouth, but my advice.. Make A check if the HP is below 3, and then make it stop.
Example: (NOT USING HellMouth variables)

This is the code that I use.. I dunno how's at HellMouth
Alright,gonna try this,thanks.

And what about this?

Quote:
And when I'm poisoning the poison goes under me not where I put the mouse point.
04/10/2011 18:01 iStefan#6
Quote:
Originally Posted by alexalx View Post
Alright,gonna try this,thanks.

And what about this?
erm... Targetting Type I believe.