Beispiel #1
0
	public async Task<HookResult> RanaldKeywords(NpcScript npc, params object[] args)
	{
		var keyword = args[0] as string;
		
		if(npc.QuestCompleted(this.Id) || keyword != "about_skill")
			return HookResult.Continue;
	
		return await LearnDefense(npc);
	}
Beispiel #2
0
    public async Task <HookResult> RanaldKeywords(NpcScript npc, params object[] args)
    {
        var keyword = args[0] as string;

        if (npc.QuestCompleted(this.Id) || keyword != "about_skill")
        {
            return(HookResult.Continue);
        }

        return(await LearnDefense(npc));
    }