target_deltaHp and previousDamage (OK r7546)

Philippines

Moderators: waferbaron, Moderators

Forum rules
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
kaBOTi
Plain Yogurt
Plain Yogurt
Posts: 78
Joined: 08 Jun 2008, 00:02
Noob?: No

target_deltaHp and previousDamage (OK r7546)

#1 Post by kaBOTi »

Does target_deltaHp and previousDamage work properly for selecting which level of skill will be used? Currently I'm unable to assign lower level skill when certain damage in done to a monster, openkore just use the max level.

Config :

Code: Select all

attackSkillSlot Spiral Pierce {
	lvl 5
	dist 5
	maxCastTime 0
	minCastTime 0
	hp
	sp > 2%
	whenStatusInactive Action Delay
	monsters Red Ferus
}

attackSkillSlot Spiral Pierce {
	lvl 1
	dist 5
	maxCastTime 0
	minCastTime 0
	hp
	sp > 2%
	whenStatusInactive Action Delay
	monsters Red Ferus
	target_deltaHp -24500..-23000
}
attackSkillSlot Spiral Pierce {
	lvl 1
	dist 5
	maxCastTime 0
	minCastTime 0
	hp
	sp > 2%
	whenStatusInactive Action Delay
	previousDamage >= 23000
	monsters Red Ferus
}
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: target_deltaHp and previousDamage (OK r7546)

#2 Post by EternalHarvest »

First block always has priority, and you have no restrictions on these conditions in it.
Try to put block with max level after others.