unit JobMagician;
interface
uses
Classes, SysUtils, JobCommon, Misc, Uutils;
type
TMagician = Class(TjobClass)
private
function GetfRecoveryAp: double;
function GetfRecoveryHp: double;
procedure SetfRecoveryAp(const Value: double);
procedure SetfRecoveryHp(const Value: double);
public
constructor Create;
destructor Destroy; override;
property fRecoveryHp: double read GetfRecoveryHp write SetfRecoveryHp;
property fRecoveryAp: double read GetfRecoveryAp write SetfRecoveryAp;
published
end;
implementation
constructor TMagician.Create;
begin
inherited;
Self.SetJobDatas(opHP,50,8,20);
Self.SetJobDatas(opAP,30,10,5);
Self.SetJobDatas(opATTACK,5,0.667,0);
Self.SetJobDatas(opMAGIC,0,0.77,0);
Self.SetJobDatas(opHIT,40,1.5,1.9);
Self.SetJobDatas(opEVASION,15,0.4,1.8);
Self.SetJobDatas(opCRITICAL,0,0.1,0);
Self.SetJobDatas(opRHP,-1,-1,-1);
Self.SetJobDatas(opRAP,-1,-1,-1);
inherited UseSkillLv := False;
end;
destructor TMagician.Destroy;
begin
inherited;
end;
function TMagician.GetfRecoveryAp: double;
begin
Result := inherited fRecoveryAp;
end;
function TMagician.GetfRecoveryHp: double;
begin
Result := inherited fRecoveryHp;
end;
procedure TMagician.SetfRecoveryAp(const Value: double);
begin
inherited fRecoveryAp := Value;
end;
procedure TMagician.SetfRecoveryHp(const Value: double);
begin
inherited fRecoveryHp := Value;
end;
end.