Class change related skill changes.
Contributed by Liamxroy.
This commit is contained in:
		| @@ -57,7 +57,7 @@ public class ClassChange extends AbstractEffect | ||||
| 		if (effected.isPlayer()) | ||||
| 		{ | ||||
| 			final PlayerInstance player = effected.getActingPlayer(); | ||||
| 			// TODO: FIX ME - Executing 1 second later otherwise interupted exception during storeCharBase() | ||||
| 			// TODO: FIX ME - Executing 100 ms later otherwise interupted exception during storeCharBase() | ||||
| 			ThreadPool.schedule(() -> | ||||
| 			{ | ||||
| 				final int activeClass = player.getClassId().getId(); | ||||
| @@ -88,7 +88,7 @@ public class ClassChange extends AbstractEffect | ||||
| 				player.sendPacket(new AcquireSkillList(player)); | ||||
| 				player.sendPacket(new ExSubjobInfo(player, SubclassInfoType.CLASS_CHANGED)); | ||||
| 				player.sendPacket(new ExAcquireAPSkillList(player)); | ||||
| 			}, 1000); | ||||
| 			}, 100); | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -3909,14 +3909,14 @@ | ||||
| 		<!-- Change the class. --> | ||||
| 		<icon>icon.skill0810</icon> | ||||
| 		<operateType>A1</operateType> | ||||
| 		<hitTime>5000</hitTime> | ||||
| 		<hitTime>2500</hitTime> | ||||
| 		<effectPoint>1</effectPoint> | ||||
| 		<reuseDelay>3000</reuseDelay> | ||||
| 		<isMagic>2</isMagic> | ||||
| 		<staticReuse>true</staticReuse> | ||||
| 		<magicCriticalRate>5</magicCriticalRate> | ||||
| 		<specialLevel>-1</specialLevel> | ||||
| 		<hitCancelTime>5</hitCancelTime> | ||||
| 		<hitCancelTime>0</hitCancelTime> | ||||
| 		<reuseDelayGroup>1566</reuseDelayGroup> | ||||
| 		<targetType>SELF</targetType> | ||||
| 		<affectScope>SINGLE</affectScope> | ||||
| @@ -3939,14 +3939,14 @@ | ||||
| 		<!-- Change the class. --> | ||||
| 		<icon>icon.skill0810</icon> | ||||
| 		<operateType>A1</operateType> | ||||
| 		<hitTime>5000</hitTime> | ||||
| 		<hitTime>2500</hitTime> | ||||
| 		<effectPoint>1</effectPoint> | ||||
| 		<reuseDelay>3000</reuseDelay> | ||||
| 		<isMagic>2</isMagic> | ||||
| 		<staticReuse>true</staticReuse> | ||||
| 		<magicCriticalRate>5</magicCriticalRate> | ||||
| 		<specialLevel>-1</specialLevel> | ||||
| 		<hitCancelTime>5</hitCancelTime> | ||||
| 		<hitCancelTime>0</hitCancelTime> | ||||
| 		<reuseDelayGroup>1566</reuseDelayGroup> | ||||
| 		<targetType>SELF</targetType> | ||||
| 		<affectScope>SINGLE</affectScope> | ||||
| @@ -3969,14 +3969,14 @@ | ||||
| 		<!-- Change the class. --> | ||||
| 		<icon>icon.skill0810</icon> | ||||
| 		<operateType>A1</operateType> | ||||
| 		<hitTime>5000</hitTime> | ||||
| 		<hitTime>2500</hitTime> | ||||
| 		<effectPoint>1</effectPoint> | ||||
| 		<reuseDelay>3000</reuseDelay> | ||||
| 		<isMagic>2</isMagic> | ||||
| 		<staticReuse>true</staticReuse> | ||||
| 		<magicCriticalRate>5</magicCriticalRate> | ||||
| 		<specialLevel>-1</specialLevel> | ||||
| 		<hitCancelTime>5</hitCancelTime> | ||||
| 		<hitCancelTime>0</hitCancelTime> | ||||
| 		<reuseDelayGroup>1566</reuseDelayGroup> | ||||
| 		<targetType>SELF</targetType> | ||||
| 		<affectScope>SINGLE</affectScope> | ||||
| @@ -3999,14 +3999,14 @@ | ||||
| 		<!-- Change the class. --> | ||||
| 		<icon>icon.skill0810</icon> | ||||
| 		<operateType>A1</operateType> | ||||
| 		<hitTime>5000</hitTime> | ||||
| 		<hitTime>2500</hitTime> | ||||
| 		<effectPoint>1</effectPoint> | ||||
| 		<reuseDelay>3000</reuseDelay> | ||||
| 		<isMagic>2</isMagic> | ||||
| 		<staticReuse>true</staticReuse> | ||||
| 		<magicCriticalRate>5</magicCriticalRate> | ||||
| 		<specialLevel>-1</specialLevel> | ||||
| 		<hitCancelTime>5</hitCancelTime> | ||||
| 		<hitCancelTime>0</hitCancelTime> | ||||
| 		<reuseDelayGroup>1566</reuseDelayGroup> | ||||
| 		<targetType>SELF</targetType> | ||||
| 		<affectScope>SINGLE</affectScope> | ||||
| @@ -4033,20 +4033,21 @@ | ||||
| 		<abnormalType>CLASS_CHANGE</abnormalType> | ||||
| 		<operateType>A2</operateType> | ||||
| 		<reuseDelay>3000</reuseDelay> | ||||
| 		<isMagic>1</isMagic> | ||||
| 		<isMagic>2</isMagic> | ||||
| 		<effectPoint>1</effectPoint> | ||||
| 		<basicProperty>NONE</basicProperty> | ||||
| 		<magicCriticalRate>5</magicCriticalRate> | ||||
| 		<magicCriticalRate>0</magicCriticalRate> | ||||
| 		<specialLevel>-2</specialLevel> | ||||
| 		<hitCancelTime>0</hitCancelTime> | ||||
| 		<magicLvl>-2</magicLvl> | ||||
| 		<irreplacableBuff>true</irreplacableBuff> | ||||
| 		<isDebuff>true</isDebuff> | ||||
| 		<canBeDispelled>false</canBeDispelled> | ||||
| 		<targetType>SELF</targetType> | ||||
| 		<affectScope>SINGLE</affectScope> | ||||
| 		<effects> | ||||
| 			<effect name="BlockSkill"> | ||||
| 				<magicTypes>1;2;3;4;5</magicTypes> | ||||
| 				<magicTypes>0;1;2;3;4;5;7;22;</magicTypes> | ||||
| 			</effect> | ||||
| 			<effect name="PAtk"> | ||||
| 				<amount>-70</amount> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment