'blvl' and 'jlvl' as Atributes

This section is created for developers and non-developers who think that he/she has a good (and realistic) idea that might contribute to the OpenKore community.

Moderator: Moderators

Message
Author
kaoru
Human
Human
Posts: 34
Joined: 20 Jun 2008, 17:47
Noob?: No

'blvl' and 'jlvl' as Atributes

#1 Post by kaoru »

Simple suggestion: add Base lvl and Job lvl as atributes on the brackets. Here and then I miss them, and think it would be a subtle, but good addition to rely less on macros. Even mon_control.txt has base and job lvl range. They should work like 'lvl' and 'jlvl' of the autoConfChange bracket.

Sorry my english!

Code: Select all

useSelf_item Concentration Potion {
	whenStatusInactive Concentration Potion
	blvl < 45
	inLockOnly 1
	onAction attack
	notWhileSitting 1
	timeout 3
}

useSelf_item Awakening Potion {
	whenStatusInactive Awakening Potion
	blvl >= 45
	inLockOnly 1
	onAction attack
	notWhileSitting 1
	timeout 3
}

doCommand quit {
	jlvl >= 40
	timeout 3
}

attackSkillSlot Fire Bolt {
	lvl 10
	dist 10
	inLockOnly 1
	notInTown 1
	timeout 3
	monsters Geographer
	blvl < 50
	jlvl < 33
}


attackSkillSlot Fire Bolt {
	lvl 9
	dist 10
	inLockOnly 1
	notInTown 1
	timeout 3
	monsters Geographer
	blvl >= 50
	jlvl >= 33
}

Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

Re: 'blvl' and 'jlvl' as Atributes

#2 Post by Mushroom »

You can use plugins to allow those conditions on blocks.Check plugin checkExtraCondition ;)
I think that in the future, the way that those conditions are will change.
Quit.

Post Reply