| | |
| | | import BaseAttack
|
| | | import IPY_GameWorld
|
| | | import ItemControler
|
| | | import SkillDataBoost
|
| | | import GameObj
|
| | | import SkillCommon
|
| | |
|
| | |
| | | summonNPC = curPlayer.SummonNewNPC()
|
| | |
|
| | | #设置召唤兽基础信息
|
| | | summonNPC.SetNPCTypeID(summonID)
|
| | | summonNPC.SetNPCTypeID(summonID) # 即设置了基础属性,技能等
|
| | | lvSummonNPC = curPlayer.GetLV()
|
| | | summonNPC.SetLV(lvSummonNPC)
|
| | | summonNPC.SetCountry(curPlayer.GetCountry())
|
| | |
| | | summonNPC.SetBaseMissRate(curPlayer.GetMiss())
|
| | | summonNPC.SetBaseSuperHiteRate(curPlayer.GetSuperHitRate())
|
| | |
|
| | | # 继承技能等级
|
| | | SkillCommon.SetSummonNPCSkillLV(summonNPC, curSkill)
|
| | | |
| | | summonNPC.SetVisible(True)
|
| | | summonNPC.SetCanAttack(False)
|
| | |
|
| | | #SkillDataBoost.SetSummonNPCSkillBoost(curPlayer, summonNPC, curSkill)
|
| | |
|
| | | return True
|
| | |
|
| | | def DoLogic_NPC_UseSkill_SummonNPC(curNPC, curSkill, summonNPCID, tagRoundPosX, tagRoundPosY, tick):
|