• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Issues with paralyze rune cancel

Saints Anathema

Old School Doleran
Joined
Feb 24, 2009
Messages
653
Reaction score
8
Location
BC,Canada
I was trying to get a paralyze rune to be more efficient on a high rates server. i removed all the cure para conditions in all the healing scripts, and in utani hur and utani gran hur there is no conditions to cure para,

i know theres a way to make monsters shoot a type of para that doesnt fix even with haste and all that

<attack name="speed" interval="2000" chance="15" range="7" speedchange="-2000" duration="25000">

before exura would take it off but now ive fixed that, anyone know how to stop from haste taking off the para, i specially made a spell to remove para called exevo para
 
creature.cpp
Code:
void Creature::onAddCondition(ConditionType_t type, bool hadCondition)
{
	if(type == CONDITION_INVISIBLE)
	{
		if(!hadCondition)
			g_game.internalCreatureChangeVisible(this, VISIBLE_DISAPPEAR);
	}
	else if(type == CONDITION_PARALYZE)
	{
		if(hasCondition(CONDITION_HASTE))
			removeCondition(CONDITION_HASTE);
	}
[B][COLOR="red"]	else if(type == CONDITION_HASTE)
	{
		if(hasCondition(CONDITION_PARALYZE))
			removeCondition(CONDITION_PARALYZE);
	}[/COLOR][/B]
}
 
Back
Top