Prohibit applying transformation skill effects on summons.
Contributed by nasseka.
This commit is contained in:
		| @@ -108,7 +108,7 @@ public class Summon extends AbstractEffect | ||||
| 		for (BuffInfo effect : player.getEffectList().getEffects()) | ||||
| 		{ | ||||
| 			final Skill sk = effect.getSkill(); | ||||
| 			if (!sk.isBad()) | ||||
| 			if (!sk.isBad() && !sk.isTransformation()) | ||||
| 			{ | ||||
| 				sk.applyEffects(player, summon, false, effect.getTime()); | ||||
| 			} | ||||
|   | ||||
| @@ -971,7 +971,7 @@ public class Skill implements IIdentifiable | ||||
| 	 */ | ||||
| 	public boolean isTransformation() | ||||
| 	{ | ||||
| 		return _abnormalType == AbnormalType.TRANSFORM; | ||||
| 		return (_abnormalType == AbnormalType.TRANSFORM) || (_abnormalType == AbnormalType.CHANGEBODY); | ||||
| 	} | ||||
| 	 | ||||
| 	public int getEffectPoint() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment