mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-02 08:57:44 +00:00
Update GaiUsb914.cpp
This commit is contained in:
parent
eb6f7777e8
commit
2bb30ecb3e
1 changed files with 6 additions and 5 deletions
|
@ -3,6 +3,7 @@
|
||||||
// In order for this script to be loaded, move it to the correct folder in <root>/scripts/
|
// In order for this script to be loaded, move it to the correct folder in <root>/scripts/
|
||||||
|
|
||||||
#include "Manager/EventMgr.h"
|
#include "Manager/EventMgr.h"
|
||||||
|
#include <Actor/BNpc.h>
|
||||||
#include <Actor/Player.h>
|
#include <Actor/Player.h>
|
||||||
#include <ScriptObject.h>
|
#include <ScriptObject.h>
|
||||||
#include <Service.h>
|
#include <Service.h>
|
||||||
|
@ -70,9 +71,9 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void onBNpcKill( World::Quest& quest, uint16_t nameId, uint32_t entityId, Entity::Player& player ) override
|
void onBNpcKill( World::Quest& quest, Entity::BNpc& bnpc, Entity::Player& player ) override
|
||||||
{
|
{
|
||||||
switch( nameId )
|
switch( bnpc.getBNpcNameId() )
|
||||||
{
|
{
|
||||||
case Enemy0:
|
case Enemy0:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue