|
@@ -1,11 +1,11 @@
|
|
|
-import FqLogin from "../../../../login/FqLogin";
|
|
|
-import { AudioMgr } from "../../../../main/ViewManage";
|
|
|
-import FFCalAttr from "../../../data/FFCalAttr";
|
|
|
-import AIPet from "../../object/AI/AIPet";
|
|
|
-import { GroupType } from "../../object/FObject";
|
|
|
-import { SpriteActionType } from "../../object/FSprite";
|
|
|
-import PSprite from "../../object/PSprite";
|
|
|
-import BaseEvent from "../base/BaseEvent";
|
|
|
+import FqLogin from "../../../login/FqLogin";
|
|
|
+import { AudioMgr } from "../../../main/ViewManage";
|
|
|
+import FFCalAttr from "../../data/FFCalAttr";
|
|
|
+import BaseEvent from "../../fight/evnet/base/BaseEvent";
|
|
|
+import AIPet from "../../fight/object/AI/AIPet";
|
|
|
+import { GroupType } from "../../fight/object/FObject";
|
|
|
+import { SpriteActionType } from "../../fight/object/FSprite";
|
|
|
+import PSprite from "../../fight/object/PSprite";
|
|
|
|
|
|
const { ccclass, property } = cc._decorator;
|
|
|
/**
|
|
@@ -189,7 +189,21 @@ export default class FCagePet1 extends BaseEvent {
|
|
|
'多么快活的小家伙!',
|
|
|
'你做了一件好事。做好事的人心地善良,人也会变得漂亮。',
|
|
|
'我的妈妈告诉我,人类就是这么变漂亮的。',
|
|
|
+ ]
|
|
|
+ this.showDialog(this.mNPC2,text,()=>{
|
|
|
+ this.meDialog1_1()
|
|
|
+ })
|
|
|
+ }
|
|
|
+ private meDialog1_1(){
|
|
|
+ let text = [
|
|
|
'……',
|
|
|
+ ]
|
|
|
+ this.showDialog(this.ff.mainSprite.node,text,()=>{
|
|
|
+ this.npcDialog1_1()
|
|
|
+ })
|
|
|
+ }
|
|
|
+ private npcDialog1_1(){
|
|
|
+ let text = [
|
|
|
'快看,这只小鹿非常喜欢你。它没有红鼻子,但也非常可爱。',
|
|
|
'但是它一直待在你身边,这让我有点沮丧。'
|
|
|
]
|
|
@@ -197,6 +211,7 @@ export default class FCagePet1 extends BaseEvent {
|
|
|
this.meDialog()
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
private meDialog(){
|
|
|
let text = [
|
|
|
'你也帮助了它。',
|
|
@@ -279,6 +294,8 @@ export default class FCagePet1 extends BaseEvent {
|
|
|
).start()
|
|
|
}
|
|
|
private npc3Fly(){
|
|
|
+ let node = this.mNPC3.children[1]
|
|
|
+ node.active = true
|
|
|
cc.tween(this.mNPC3).sequence(
|
|
|
cc.moveBy(0.7,cc.v2(800,800)),
|
|
|
cc.callFunc(()=>{
|