
 public Poison_Powder(id, skill, prop)
 {
	new powdernum = POISON_POWDERS

	//make one immediately
	new parm[3]
	parm[0] = id;
	parm[1] = 1;
	parm[2] = 0;

	make_powder(parm)
	if( --powdernum )
		set_task(0.5,"make_powder", 0, parm, 3, "a", powdernum)
	return PLUGIN_HANDLED;
 }
 public Sleep_Powder(id, skill, prop)
 {
	new powdernum = SLEEP_POWDERS

	//make one immediately
	new parm[3]
	parm[0] = id;
	parm[1] = 0;
	parm[2] = 1;

	make_powder(parm)
	if( --powdernum )
		set_task(0.5,"make_powder", 0, parm, 3, "a", powdernum)
	return PLUGIN_HANDLED;
 }
 public Acid(id, skill, prop)
 {
	new victim = PokeSkillTarget(id);
	if( is_user_alive(victim) && MaxChance(id,50) && !g_Status[victim][STATUS_POISON] ){
		poke_print(id,print_center,"Zatrules wroga")
		poke_print(victim,print_center,"Zostales zatruty")
		ApplyStatus( id, victim, STATUS_POISON, get_ppcvar_float(pm_poisontime) )
		MakeLine_Ent(0,id,victim,SPRITE_INDEX[SPR_ARBOK],1,1,5,20,0, 0,200,150, 100, 0)
		return PLUGIN_HANDLED;
	}
	return PLUGIN_CONTINUE;
 }
 public Acid_Armor(id, skill, prop)
 {
	if( g_Status[id][STATUS_POISON] ){
		RemoveStatus(id, STATUS_POISON);
		poke_print(id, print_center, "Acid Armor chroni przed Trucizna");
		return PLUGIN_HANDLED;
	}
	return PLUGIN_CONTINUE;
 }
 public Poison_Sting(id, skill, prop)
 {
	new victim = PokeSkillTarget(id);
	if( is_user_alive(victim) && Chance(id) && !g_Status[victim][STATUS_POISON] ){
		poke_print(id,print_center,"Zatrules wroga")
		poke_print(victim,print_center,"Zostales zatruty")
		ApplyStatus( id, victim, STATUS_POISON, get_ppcvar_float(pm_poisontime) )
		MakeLine_Ent(0,id,victim,SPRITE_INDEX[SPR_ARBOK],1,1,5,20,0,150,0,150,100,0)
		return PLUGIN_HANDLED;
	}
	return PLUGIN_CONTINUE;
 }
 public Poison_Gas(id, skill, prop)
 {
	Gas(id, _, true);
	return PLUGIN_HANDLED;
 }
 public Smog(id, skill, prop)
 {
	Gas(id, true);
	return PLUGIN_HANDLED;
 }
 public Toxic(id, skill, prop)
 {
	Gas(id, _, true);
	return PLUGIN_HANDLED;
 }