mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	opening quest stuff
This commit is contained in:
		| @@ -298,7 +298,13 @@ namespace FFXIVClassic_Map_Server.Actors | ||||
|                             // onDeath(monster, player, killer) | ||||
|                             lua.LuaEngine.CallLuaBattleFunction(this, "onDeath", this, partyMember, lastAttacker); | ||||
|                             // <actor> defeat/defeats <target> | ||||
|                             ((Player)lastAttacker).QueuePacket(BattleActionX01Packet.BuildPacket(lastAttacker.actorId, 0, 0, new BattleAction(actorId, 30108, 0))); | ||||
|  | ||||
|                             if (lastAttacker is Player) | ||||
|                                 ((Player)lastAttacker).QueuePacket(BattleActionX01Packet.BuildPacket(lastAttacker.actorId, 0, 0, new BattleAction(actorId, 30108, 0))); | ||||
|  | ||||
|                             if(partyMember is Player) | ||||
|                                 ((Player)partyMember).AddExp(1500, (byte)partyMember.GetJob(), 5); | ||||
|                              | ||||
|                         } | ||||
|                     } | ||||
|                     else | ||||
| @@ -311,8 +317,10 @@ namespace FFXIVClassic_Map_Server.Actors | ||||
|                 positionUpdates?.Clear(); | ||||
|                 aiContainer.InternalDie(tick, despawnTime); | ||||
|                 this.ResetMoveSpeeds(); | ||||
|                  | ||||
|  | ||||
|                 // todo: reset cooldowns | ||||
|  | ||||
|                 lua.LuaEngine.GetInstance().OnSignal("mobkill"); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|   | ||||
| @@ -80,7 +80,7 @@ namespace FFXIVClassic_Map_Server.Actors | ||||
|                 charaWork.parameterSave.hpMax[0] = 80; | ||||
|             } | ||||
|             for (int i = 0; i < 32; i++ ) | ||||
|                 charaWork.property[i] = (byte)(((int)actorClass.propertyFlags >> i) & 1);             | ||||
|                 charaWork.property[i] = (byte)(((int)actorClass.propertyFlags >> i) & 1); | ||||
|  | ||||
|             npcWork.pushCommand = actorClass.pushCommand; | ||||
|             npcWork.pushCommandSub = actorClass.pushCommandSub; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user